/* style/fishing-games.css */
:root {
    --page-fishing-games-primary-color: #0A2239;
    --page-fishing-games-secondary-color: #FFD700;
    --page-fishing-games-text-dark: #333333;
    --page-fishing-games-text-light: #ffffff;
    --page-fishing-games-bg-light: #f9f9f9;
    --page-fishing-games-bg-dark: #1a3a5b;
    --page-fishing-games-border-color: #e0e0e0;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-fishing-games-text-dark);
    background-color: #ffffff;
}

.page-fishing-games-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-fishing-games-section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games-section:nth-of-type(odd) {
    background-color: var(--page-fishing-games-bg-light);
}

.page-fishing-games-section-title {
    font-size: 36px;
    color: var(--page-fishing-games-primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-fishing-games-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-fishing-games-secondary-color);
    border-radius: 2px;
}

.page-fishing-games-section-description {
    font-size: 18px;
    color: var(--page-fishing-games-text-dark);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--page-fishing-games-secondary-color);
    color: var(--page-fishing-games-primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games-cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-button-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

/* Hero Section */
.page-fishing-games-hero-section {
    background: linear-gradient(135deg, var(--page-fishing-games-primary-color) 0%, #1a3a5b 100%);
    color: var(--page-fishing-games-text-light);
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games-hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-fishing-games-hero-content {
    max-width: 800px;
}

.page-fishing-games-hero-title {
    font-size: 48px;
    color: var(--page-fishing-games-secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games-hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-fishing-games-hero-image {
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games-img-responsive {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Why jb88 Section */
.page-fishing-games-why-jb88 .page-fishing-games-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games-feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games-feature-icon {
    width: 150px; /* Minimum 200px, but for icons, 150px is a placeholder for content images */
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-fishing-games-feature-title {
    font-size: 24px;
    color: var(--page-fishing-games-primary-color);
    margin-bottom: 15px;
}

.page-fishing-games-feature-text {
    font-size: 16px;
    color: var(--page-fishing-games-text-dark);
}

/* Game Types Section */
.page-fishing-games-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games-game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games-game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games-game-card h3,
.page-fishing-games-game-card p {
    padding: 0 25px;
}

.page-fishing-games-game-title {
    font-size: 22px;
    color: var(--page-fishing-games-primary-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-fishing-games-game-description {
    font-size: 16px;
    color: var(--page-fishing-games-text-dark);
    margin-bottom: 20px;
}

.page-fishing-games-card-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--page-fishing-games-secondary-color);
    color: var(--page-fishing-games-primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin: 0 25px 25px;
    transition: all 0.3s ease;
}

.page-fishing-games-card-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* How to Play Section */
.page-fishing-games-step-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

.page-fishing-games-step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    text-align: left;
    border-left: 5px solid var(--page-fishing-games-secondary-color);
}

.page-fishing-games-step-title {
    font-size: 24px;
    color: var(--page-fishing-games-primary-color);
    margin-bottom: 10px;
}

.page-fishing-games-step-item p {
    font-size: 17px;
    color: var(--page-fishing-games-text-dark);
}

.page-fishing-games-inline-link {
    color: var(--page-fishing-games-primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-fishing-games-inline-link:hover {
    color: var(--page-fishing-games-secondary-color);
}

/* Tips Section */
.page-fishing-games-tip-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games-tip-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    border-top: 5px solid var(--page-fishing-games-secondary-color);
}

.page-fishing-games-tip-title {
    font-size: 24px;
    color: var(--page-fishing-games-primary-color);
    margin-bottom: 10px;
}

.page-fishing-games-tip-item p {
    font-size: 16px;
    color: var(--page-fishing-games-text-dark);
}

/* Promotions Section */
.page-fishing-games-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games-promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games-promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games-promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games-promo-title {
    font-size: 22px;
    color: var(--page-fishing-games-primary-color);
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-fishing-games-promo-text {
    font-size: 16px;
    color: var(--page-fishing-games-text-dark);
    margin-bottom: 20px;
    padding: 0 20px;
}

.page-fishing-games-promo-note {
    margin-top: 40px;
    font-style: italic;
    color: var(--page-fishing-games-primary-color);
}

/* FAQ Section */
.page-fishing-games-faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-text-light);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #1a3a5b;
}

.faq-question h3 {
    margin: 0;
    font-size: 20px;
    color: inherit;
}

.faq-toggle {
    font-size: 28px;
    font-weight: bold;
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 20px;
    background: var(--page-fishing-games-bg-light);
    border-radius: 0 0 8px 8px;
    text-align: left;
    color: var(--page-fishing-games-text-dark);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px;
    border: 1px solid var(--page-fishing-games-border-color);
    border-top: none;
}

.faq-answer p {
    margin: 0;
    font-size: 16px;
}

/* Final CTA Section */
.page-fishing-games-cta-final {
    background: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-text-light);
    padding: 80px 0;
}

.page-fishing-games-cta-final-container .page-fishing-games-section-title,
.page-fishing-games-cta-final-container .page-fishing-games-section-description {
    color: var(--page-fishing-games-text-light);
}

.page-fishing-games-cta-final-container .page-fishing-games-section-title::after {
    background-color: var(--page-fishing-games-secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games-hero-title {
        font-size: 42px;
    }
    .page-fishing-games-section-title {
        font-size: 32px;
    }
    .page-fishing-games-hero-description,
    .page-fishing-games-section-description {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games-section {
        padding: 40px 0;
    }
    .page-fishing-games-hero-section {
        padding: 60px 0;
    }
    .page-fishing-games-hero-title {
        font-size: 34px;
    }
    .page-fishing-games-section-title {
        font-size: 28px;
    }
    .page-fishing-games-hero-description,
    .page-fishing-games-section-description {
        font-size: 16px;
    }
    .page-fishing-games-cta-button {
        padding: 12px 30px;
        font-size: 18px;
    }
    .page-fishing-games-features-grid,
    .page-fishing-games-game-grid,
    .page-fishing-games-promo-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games-feature-item,
    .page-fishing-games-game-card,
    .page-fishing-games-promo-card,
    .page-fishing-games-step-item,
    .page-fishing-games-tip-item {
        padding: 20px;
    }
    .page-fishing-games-feature-title,
    .page-fishing-games-game-title,
    .page-fishing-games-step-title,
    .page-fishing-games-tip-title,
    .page-fishing-games-promo-title {
        font-size: 20px;
    }
    .faq-question h3 {
        font-size: 18px;
    }
    .faq-question {
        padding: 12px 15px;
    }
    .faq-toggle {
        font-size: 24px;
    }
    .faq-item.active .faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games-hero-title {
        font-size: 28px;
    }
    .page-fishing-games-section-title {
        font-size: 24px;
    }
    .page-fishing-games-hero-description,
    .page-fishing-games-section-description {
        font-size: 15px;
    }
    .page-fishing-games-cta-button {
        padding: 10px 25px;
        font-size: 16px;
    }
    .page-fishing-games-feature-icon {
        width: 120px;
    }
    .page-fishing-games-game-image {
        height: 180px;
    }
    .page-fishing-games-game-card h3,
    .page-fishing-games-game-card p,
    .page-fishing-games-card-button {
        padding: 0 15px;
        margin-left: 15px;
        margin-right: 15px;
    }
    .page-fishing-games-card-button {
        margin-bottom: 15px;
    }
    .page-fishing-games-promo-image {
        height: 150px;
    }
}