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

/* Base styles for the page content */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for dark background */
    background-color: var(--background-dark);
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5); /* Subtle glow for titles */
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box; /* Ensure padding/border included in width */
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(17, 168, 78, 0.3);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(17, 168, 78, 0.5);
}

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

.page-fishing-games__btn-large {
    padding: 15px 40px;
    font-size: 1.2em;
}

/* Card styles */
.page-fishing-games__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit hero image height */
    overflow: hidden;
    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-wrapper {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    position: relative; /* Ensure content is in normal flow */
    z-index: 1;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size */
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-fishing-games__hero-description {
    font-size: clamp(1em, 2vw, 1.3em);
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* About Section */
.page-fishing-games__about-section {
    padding: 80px 0;
    background-color: var(--deep-green); /* Darker background for contrast */
}

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

.page-fishing-games__feature-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-fishing-games__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 50%; /* Make icons circular if desired */
    border: 2px solid var(--primary-color);
    padding: 10px;
    box-shadow: 0 0 10px var(--glow-color);
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-fishing-games__feature-text {
    color: var(--text-secondary);
    font-size: 0.95em;
}

/* Games Showcase Section */
.page-fishing-games__games-showcase {
    padding: 80px 0;
}

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

.page-fishing-games__game-card {
    padding: 20px;
}

.page-fishing-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.page-fishing-games__game-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-fishing-games__game-description {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

/* How to Play Section */
.page-fishing-games__how-to-play {
    padding: 80px 0;
    background-color: var(--deep-green);
}

.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

.page-fishing-games__step-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.page-fishing-games__step-title::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background: var(--primary-color);
    color: #ffffff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    margin-right: 15px;
    box-shadow: 0 0 10px var(--glow-color);
}

.page-fishing-games__steps-list {
    counter-reset: step-counter;
}

.page-fishing-games__step-text {
    color: var(--text-secondary);
    font-size: 1em;
    margin-bottom: 15px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
}

.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 {
    padding: 20px;
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.page-fishing-games__promo-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

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

/* Tips & Strategies Section */
.page-fishing-games__tips-strategies {
    padding: 80px 0;
    background-color: var(--deep-green);
}

.page-fishing-games__strategy-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__strategy-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.page-fishing-games__strategy-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-fishing-games__strategy-text {
    color: var(--text-secondary);
    font-size: 1em;
}

/* Responsible Gaming Section */
.page-fishing-games__responsible-gaming {
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games__responsibility-list {
    list-style: disc inside;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 30px auto;
    text-align: left;
    font-size: 1.1em;
}

.page-fishing-games__responsible-gaming .page-fishing-games__btn-primary {
    margin-top: 30px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: var(--deep-green); /* Use a specific dark background for FAQ */
}

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

.page-fishing-games__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    color: var(--gold-color);
    font-weight: bold;
    user-select: none;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--divider-color);
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

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

.page-fishing-games__faq-answer p {
    margin: 0;
    padding-top: 15px;
}

/* Bottom CTA Section */
.page-fishing-games__cta-bottom {
    padding: 80px 0;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-fishing-games__hero-section {
        min-height: 500px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2.2em, 4.5vw, 3.5em);
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* Body padding-top for header offset */
        padding-bottom: 40px;
        min-height: auto;
    }

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

    .page-fishing-games__main-title {
        font-size: clamp(2em, 8vw, 2.8em);
        margin-top: 20px; /* Add some space above title on mobile */
    }

    .page-fishing-games__hero-description {
        font-size: 1em;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
    }

    .page-fishing-games__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Limit button group width */
        margin: 0 auto;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__feature-item,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__strategy-item,
    .page-fishing-games__step-item {
        margin-bottom: 20px;
        padding: 20px;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__strategy-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__feature-icon {
        width: 80px;
        height: 80px;
    }

    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        height: 150px;
    }

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

    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
    }

    .page-fishing-games__responsibility-list {
        font-size: 1em;
    }

    .page-fishing-games__cta-bottom .page-fishing-games__btn-large {
        font-size: 1.1em;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.95em;
    }
    .page-fishing-games__feature-title,
    .page-fishing-games__game-title,
    .page-fishing-games__promo-title,
    .page-fishing-games__step-title,
    .page-fishing-games__strategy-title {
        font-size: 1.3em;
    }
}