/* style/fishing-games.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --bg-light: #FFFFFF;
    --bg-dark: #26A9E0;
    --border-light: #e0e0e0;
}

.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--bg-light);
}

.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-fishing-games__section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
    color: var(--text-dark);
}

.page-fishing-games__subtitle {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.page-fishing-games__paragraph {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-fishing-games__list-item {
    margin-bottom: 10px;
    font-size: 16px;
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit hero image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-fishing-games__hero-content {
    position: relative; /* Ensure content is above any potential background layering if needed */
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 30px 20px;
    box-sizing: border-box;
    margin-top: 20px; /* Space between image and text */
}

.page-fishing-games__main-title {
    font-size: clamp(32px, 4.5vw, 60px);
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
    color: var(--text-light);
}

.page-fishing-games__hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-fishing-games__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box;
    max-width: 100%;
}

.page-fishing-games__btn-primary {
    background-color: var(--login-color); /* Using login color for primary action */
    color: var(--text-light);
    border: 2px solid var(--login-color);
}

.page-fishing-games__btn-primary:hover {
    background-color: darken(var(--login-color), 10%);
    border-color: darken(var(--login-color), 10%);
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* --- Introduction Section --- */
.page-fishing-games__introduction-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* --- Game Showcase Section --- */
.page-fishing-games__game-showcase-section {
    padding: 60px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-fishing-games__game-showcase-section .page-fishing-games__section-title,
.page-fishing-games__game-showcase-section .page-fishing-games__paragraph {
    color: var(--text-light);
}

.page-fishing-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-fishing-games__game-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-light);
    padding: 0 15px;
}

.page-fishing-games__game-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    flex-grow: 1;
    padding: 0 15px;
}

/* --- Benefits Section --- */
.page-fishing-games__benefits-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-fishing-games__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__benefit-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%; /* Ensure cards have equal height */
}

.page-fishing-games__benefit-icon {
    width: 200px; /* Minimum size */
    height: 150px; /* Adjust height to maintain aspect ratio for display */
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}

.page-fishing-games__benefit-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-fishing-games__benefit-description {
    font-size: 15px;
    color: var(--text-dark);
}

/* --- How To Play Section --- */
.page-fishing-games__how-to-play-section {
    padding: 60px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-fishing-games__how-to-play-section .page-fishing-games__section-title,
.page-fishing-games__how-to-play-section .page-fishing-games__paragraph,
.page-fishing-games__how-to-play-section .page-fishing-games__list-item {
    color: var(--text-light);
}

.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-fishing-games__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-fishing-games__step-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--login-color);
    margin-bottom: 15px;
}

.page-fishing-games__step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-fishing-games__step-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* --- Promotions Section --- */
.page-fishing-games__promotions-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-fishing-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-fishing-games__promo-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.page-fishing-games__promo-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-fishing-games__promo-description {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-fishing-games__cta-banner {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.page-fishing-games__promo-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.2; /* Subtle background */
}

.page-fishing-games__cta-banner-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.page-fishing-games__cta-banner-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

/* --- FAQ Section --- */
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
    color: var(--text-light);
}

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-fishing-games__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-fishing-games__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    line-height: 1;
    width: 20px;
    text-align: center;
}

.page-fishing-games__faq-answer {
    padding: 15px 25px 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* --- Final CTA Section --- */
.page-fishing-games__cta-final-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title,
.page-fishing-games__cta-final-section .page-fishing-games__paragraph {
    color: var(--text-light);
}


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        padding: 20px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(30px, 4vw, 50px);
    }
    .page-fishing-games__hero-description {
        font-size: clamp(15px, 1.7vw, 18px);
    }
    .page-fishing-games__game-image {
        height: 180px;
    }
    .page-fishing-games__benefit-icon {
        width: 180px;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-fishing-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-fishing-games__section-title {
        font-size: clamp(24px, 7vw, 36px);
        margin-bottom: 20px;
    }

    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(28px, 8vw, 40px);
    }

    .page-fishing-games__hero-description {
        font-size: clamp(15px, 4vw, 18px);
        margin-bottom: 20px;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__introduction-section,
    .page-fishing-games__game-showcase-section,
    .page-fishing-games__benefits-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final-section {
        padding: 40px 0;
    }

    .page-fishing-games__hero-image-wrapper {
        max-height: 50vh;
    }

    .page-fishing-games__hero-image,
    .page-fishing-games__game-image,
    .page-fishing-games__benefit-icon,
    .page-fishing-games__promo-banner-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__game-image {
        height: 160px;
    }

    .page-fishing-games__benefit-icon {
        width: 150px;
        height: 100px;
    }

    .page-fishing-games__game-grid,
    .page-fishing-games__benefits-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promo-grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .page-fishing-games__cta-banner-title {
        font-size: clamp(20px, 5vw, 28px);
    }

    .page-fishing-games__cta-banner-description {
        font-size: clamp(16px, 4vw, 18px);
    }

    .page-fishing-games__faq-item summary {
        font-size: 16px;
        padding: 15px 20px;
    }

    .page-fishing-games__faq-answer {
        padding: 10px 20px 15px;
        font-size: 15px;
    }
    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body handles --header-offset */
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: clamp(24px, 7vw, 36px);
    }
    .page-fishing-games__section-title {
        font-size: clamp(22px, 6vw, 30px);
    }
    .page-fishing-games__step-number {
        font-size: 40px;
    }
    .page-fishing-games__game-title, .page-fishing-games__benefit-title, .page-fishing-games__promo-title, .page-fishing-games__step-title {
        font-size: 20px;
    }
}