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

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

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

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, relying on body for header offset */
    background-color: var(--color-deep-green);
    overflow: hidden;
}

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

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

.page-fishing-games__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Pull content up slightly over image for visual flow */
    position: relative;
    z-index: 2;
    background-color: rgba(8, 22, 15, 0.8); /* Semi-transparent background for readability */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
}

.page-fishing-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: var(--color-gold);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__intro-text {
    font-size: 1.1em;
    color: var(--color-text-main);
    margin-bottom: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--color-glow);
    color: var(--color-background);
    transform: translateY(-3px);
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-fishing-games__about-section,
.page-fishing-games__games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__mobile-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
    padding: 80px 0;
}

.page-fishing-games__dark-section {
    background-color: var(--color-deep-green);
}

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

.page-fishing-games__feature-card,
.page-fishing-games__game-card,
.page-fishing-games__step-card,
.page-fishing-games__promo-card {
    background-color: var(--color-card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__game-card:hover,
.page-fishing-games__step-card:hover,
.page-fishing-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__feature-image,
.page-fishing-games__game-image,
.page-fishing-games__promo-image,
.page-fishing-games__mobile-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: var(--color-text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__card-text {
    color: var(--color-text-secondary);
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 20px;
}

.page-fishing-games__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__mobile-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-fishing-games__mobile-content {
    flex: 1;
}

.page-fishing-games__mobile-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__mobile-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.page-fishing-games__mobile-features li {
    color: var(--color-text-secondary);
    font-size: 1.1em;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.page-fishing-games__mobile-features li::before {
    content: '✓';
    color: var(--color-glow);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-fishing-games__faq-list {
    margin-top: 40px;
}

.page-fishing-games__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--color-text-main);
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-question:hover {
    background-color: var(--color-primary);
}

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

.page-fishing-games__faq-answer {
    padding: 20px;
    color: var(--color-text-secondary);
    font-size: 1em;
    line-height: 1.6;
    background-color: var(--color-card-bg);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: 1px solid var(--color-divider);
}

.page-fishing-games__cta-content {
    text-align: center;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-top: -80px;
        padding: 25px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 3.5vw, 3em);
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__mobile-flex {
        flex-direction: column;
    }
    .page-fishing-games__mobile-image-wrapper {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__container {
        padding: 0 15px !important;
    }
    .page-fishing-games__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-fishing-games__hero-content {
        margin-top: -60px;
        padding: 20px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.5em, 5vw, 2.5em);
    }
    .page-fishing-games__intro-text {
        font-size: 1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-fishing-games__about-section,
    .page-fishing-games__games-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__mobile-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 50px 0;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-description {
        font-size: 0.95em;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__step-card,
    .page-fishing-games__promo-card {
        padding: 25px;
    }
    .page-fishing-games__card-title {
        font-size: 1.3em;
    }
    .page-fishing-games__card-text {
        font-size: 0.9em;
    }
    .page-fishing-games__mobile-features li {
        font-size: 1em;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 15px;
        font-size: 0.95em;
    }

    /* Image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* Ensure containers for images/videos/buttons also adapt */
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__mobile-image-wrapper,
    .page-fishing-games__features-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__faq-list,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__mobile-flex {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-content {
        margin-top: -40px;
        padding: 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.2em, 6vw, 2em);
    }
    .page-fishing-games__cta-buttons {
        gap: 10px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__section-description {
        font-size: 0.9em;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__step-card,
    .page-fishing-games__promo-card {
        padding: 20px;
    }
    .page-fishing-games__card-title {
        font-size: 1.2em;
    }
    .page-fishing-games__faq-question {
        font-size: 1em;
    }
    .page-fishing-games__faq-answer {
        font-size: 0.9em;
    }
}