:root {
    --main-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* General Styles */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for the page, will be light */
    background-color: var(--background); /* Default background for the page, will be dark */
}

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

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    color: var(--gold); /* Gold color for main titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-fishing-games__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary); /* Secondary text color */
}

.page-fishing-games__text-center {
    text-align: center;
}

.page-fishing-games__highlight {
    color: var(--gold); /* Highlight keywords with gold */
    font-weight: 700;
}

/* Color Schemes */
.page-fishing-games__dark-bg {
    background-color: var(--background); /* #08160F */
    color: var(--text-main); /* #F2FFF6 */
    padding: 60px 0;
}

.page-fishing-games__light-bg {
    background-color: var(--text-main); /* #F2FFF6 */
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: var(--deep-green); /* Darker title on light background */
}

.page-fishing-games__light-bg .page-fishing-games__text-block,
.page-fishing-games__light-bg .page-fishing-games__highlight,
.page-fishing-games__light-bg .page-fishing-games__feature-description {
    color: #333333;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image then text */
    align-items: center;
    padding-top: 10px; /* Small top padding */
    background-color: var(--background); /* Dark background */
    color: var(--text-main);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for hero image */
    overflow: hidden;
}

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

.page-fishing-games__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 40px 20px;
    position: relative; /* Ensure content is above any potential background elements */
    z-index: 2;
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.08em;
}

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

/* CTA Buttons */
.page-fishing-games__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-fishing-games__cta-buttons--center {
    justify-content: center;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient); /* linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
    color: #ffffff;
    border: none;
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--main-color); /* Main color #11A84E */
    border: 2px solid var(--main-color);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--main-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__card-btn {
    width: auto;
    min-width: 150px;
    margin-top: 20px;
    font-size: 1rem;
    padding: 12px 25px;
}

/* Feature Grid */
.page-fishing-games__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.page-fishing-games__feature-item {
    background-color: var(--card-bg); /* #11271B */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: var(--text-main);
}

.page-fishing-games__feature-item:hover {
    transform: translateY(-10px);
}

.page-fishing-games__feature-item img {
    width: 100%;
    height: 100%; /* Ensure image fills its container */
    object-fit: contain;
    margin: 0 auto 20px auto; /* Center image and add bottom margin */
    filter: none; /* Ensure no filter is applied */
    border-radius: 10px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    display: block;
}

.page-fishing-games__feature-title {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-fishing-games__feature-description {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Games Showcase */
.page-fishing-games__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__game-card {
    background-color: #ffffff; /* White background for cards in light section */
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    color: #333333; /* Dark text for light card */
}

.page-fishing-games__game-card:hover {
    transform: translateY(-10px);
}

.page-fishing-games__game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    filter: none; /* Ensure no filter is applied */
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
    font-size: 1.4rem;
    color: var(--deep-green); /* Dark title on light card */
    margin-bottom: 10px;
    font-weight: 700;
}

.page-fishing-games__game-card .page-fishing-games__card-description {
    font-size: 0.95rem;
    color: #555555;
}

/* Strategy Guide */
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__list-item {
    background-color: var(--card-bg); /* #11271B */
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    color: var(--text-main);
}

.page-fishing-games__list-title {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__list-description {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* 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; /* White background for cards in light section */
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    color: #333333; /* Dark text for light card */
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-10px);
}

.page-fishing-games__promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    filter: none; /* Ensure no filter is applied */
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
    font-size: 1.4rem;
    color: var(--deep-green); /* Dark title on light card */
    margin-bottom: 10px;
    font-weight: 700;
}

.page-fishing-games__promo-card .page-fishing-games__card-description {
    font-size: 0.95rem;
    color: #555555;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
}

.page-fishing-games__faq-item {
    background-color: var(--card-bg); /* #11271B */
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    color: var(--text-main);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    list-style: none; /* Hide default marker for details summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

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

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 15px;
}

.page-fishing-games__faq-btn {
    font-size: 0.9rem;
    padding: 8px 15px;
    margin-top: 10px;
    display: inline-block;
}

/* Final CTA Section */
.page-fishing-games__final-cta-section {
    padding: 80px 20px;
    background-color: var(--text-main); /* Use a light background for this final call to action */
    color: #333333;
}

.page-fishing-games__final-cta-section .page-fishing-games__section-title {
    color: var(--deep-green);
}

.page-fishing-games__final-cta-section .page-fishing-games__text-block {
    color: #555555;
}

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

    .page-fishing-games__container {
        padding: 0 15px;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 25px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
        margin-bottom: 15px;
    }

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

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%; /* Ensure container takes full width */
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to prevent buttons touching edges */
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-fishing-games__feature-grid,
    .page-fishing-games__game-cards,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-fishing-games__feature-item,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .page-fishing-games__feature-item img,
    .page-fishing-games__game-card img,
    .page-fishing-games__promo-card img,
    .page-fishing-games__hero-section img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset !important; /* Override min-width for mobile */
        min-height: unset !important; /* Override min-height for mobile */
    }

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

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

    /* All content sections and containers must have max-width: 100% */
    .page-fishing-games__hero-section,
    .page-fishing-games__about-section,
    .page-fishing-games__games-showcase,
    .page-fishing-games__strategy-guide,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__final-cta-section,
    .page-fishing-games__container,
    .page-fishing-games__hero-content,
    .page-fishing-games__feature-grid,
    .page-fishing-games__game-cards,
    .page-fishing-games__promo-grid,
    .page-fishing-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-fishing-games__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-fishing-games__feature-item,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__list-item,
    .page-fishing-games__faq-item {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body already has --header-offset */
    }
}