/* style/fishing-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark-body: #1a1a2e;
    --accent-register: #C30808;
    --accent-login: #C30808;
    --accent-font-yellow: #FFFF00;
}

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--accent-font-yellow);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--accent-font-yellow);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* General Section Styling */
.page-fishing-games__introduction-section,
.page-fishing-games__benefits-section,
.page-fishing-games__promotions-section,
.page-fishing-games__cta-bottom-section {
    padding: 60px 0;
    color: var(--text-dark);
}

.page-fishing-games__game-showcase-section,
.page-fishing-games__guide-section,
.page-fishing-games__faq-section {
    padding: 60px 0;
    color: var(--text-light);
}

.page-fishing-games__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-fishing-games__dark-bg {
    background-color: #1a1a2e; /* Using body background color for dark sections */
    color: var(--text-light);
}

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: inherit;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: var(--primary-color);
}

.page-fishing-games__text-block {
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    line-height: 1.7;
    color: inherit;
}

.wipwwin-highlight {
    color: var(--primary-color);
    font-weight: bold;
}

.page-fishing-games__light-bg .wipwwin-highlight {
    color: var(--primary-color);
}

.page-fishing-games__dark-bg .wipwwin-highlight {
    color: var(--accent-font-yellow);
}

.page-fishing-games__link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-fishing-games__link:hover {
    color: darken(var(--primary-color), 15%);
}

.page-fishing-games__dark-bg .page-fishing-games__link {
    color: var(--accent-font-yellow);
}

.page-fishing-games__dark-bg .page-fishing-games__link:hover {
    color: var(--text-light);
}

/* Game Showcase */
.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.08); /* Slightly transparent white for dark bg */
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-fishing-games__game-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--accent-font-yellow);
    padding: 0 15px;
}

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

.page-fishing-games__btn-card {
    display: inline-block;
    background-color: var(--accent-register);
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-card:hover {
    background-color: darken(var(--accent-register), 10%);
}

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

.page-fishing-games__benefit-item {
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
}

.page-fishing-games__benefit-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__benefit-description {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

/* Guide Section */
.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-fishing-games__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
}

.page-fishing-games__step-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-font-yellow);
    margin-bottom: 15px;
}

.page-fishing-games__step-title {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.page-fishing-games__step-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__mobile-app-cta {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: var(--primary-color);
    border-radius: 12px;
    padding: 40px;
    margin-top: 60px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
}

.page-fishing-games__mobile-app-image {
    width: 40%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.page-fishing-games__mobile-app-content {
    width: 60%;
    text-align: left;
}

.page-fishing-games__mobile-app-title {
    font-size: 2rem;
    color: var(--accent-font-yellow);
    margin-bottom: 15px;
}

.page-fishing-games__mobile-app-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

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

.page-fishing-games__promotion-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
}

.page-fishing-games__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__promotion-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-fishing-games__promotion-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-fishing-games__promotion-description {
    font-size: 1rem;
    color: var(--text-dark);
    padding: 0 20px 20px 20px;
    line-height: 1.7;
}

.page-fishing-games__center-cta {
    text-align: center;
    margin-top: 50px;
}

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

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    color: var(--accent-font-yellow);
}

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding-top: 20px;
    padding-bottom: 20px;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: none;
}

/* Bottom CTA */
.page-fishing-games__cta-bottom-section .page-fishing-games__section-title {
    color: var(--primary-color);
}

.page-fishing-games__cta-bottom-section .page-fishing-games__text-block {
    color: var(--text-dark);
}

.page-fishing-games__cta-bottom-section .wipwwin-highlight {
    color: var(--primary-color);
}

/* Universal Image Styling for Responsiveness */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-fishing-games__container {
        padding: 20px 30px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(2.2rem, 5vw, 3rem);
    }

    .page-fishing-games__hero-description {
        font-size: 1.1rem;
    }

    .page-fishing-games__mobile-app-cta {
        flex-direction: column;
        text-align: center;
    }

    .page-fishing-games__mobile-app-image,
    .page-fishing-games__mobile-app-content {
        width: 100%;
    }

    .page-fishing-games__mobile-app-content {
        text-align: center;
        padding-top: 30px;
    }

    .page-fishing-games__mobile-app-title {
        font-size: 1.8rem;
    }
}

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

    /* HERO Section - Mobile */
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-fishing-games__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

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

    /* General Buttons - Mobile */
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Button Containers - Mobile */
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        overflow: hidden;
    }

    /* Sections - Mobile */
    .page-fishing-games__introduction-section,
    .page-fishing-games__benefits-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__cta-bottom-section,
    .page-fishing-games__game-showcase-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__faq-section {
        padding: 40px 0;
    }

    .page-fishing-games__container {
        padding: 0 15px; /* Adjust container padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .page-fishing-games__text-block {
        font-size: 1rem;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    /* Images - Mobile */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__game-card,
    .page-fishing-games__benefit-item,
    .page-fishing-games__step-item,
    .page-fishing-games__mobile-app-cta,
    .page-fishing-games__promotion-card,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-fishing-games__game-image,
    .page-fishing-games__promotion-image {
        height: 180px; /* Adjust height for smaller screens */
    }

    .page-fishing-games__game-title,
    .page-fishing-games__promotion-title,
    .page-fishing-games__benefit-title,
    .page-fishing-games__step-title {
        font-size: 1.3rem;
    }

    .page-fishing-games__game-description,
    .page-fishing-games__promotion-description,
    .page-fishing-games__benefit-description,
    .page-fishing-games__step-description {
        font-size: 0.95rem;
    }

    .page-fishing-games__mobile-app-title {
        font-size: 1.5rem;
    }

    .page-fishing-games__mobile-app-description {
        font-size: 1rem;
    }

    .page-fishing-games__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .page-fishing-games__faq-answer {
        font-size: 0.95rem;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }
    .page-fishing-games__mobile-app-title {
        font-size: 1.3rem;
    }
}