/* style/fishing-games.css */

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

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

.page-fishing-games__dark-bg {
    background-color: var(--fishing-games-bg);
    color: var(--fishing-games-text-main);
}

.page-fishing-games__light-bg {
    background-color: #f8f8f8; /* A very light background to contrast with dark-bg sections */
    color: #333333;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
}

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

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Slightly darker background for text readability */
    border-radius: 8px;
}

.page-fishing-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--fishing-games-text-main);
    margin-bottom: 15px;
    line-height: 1.2;
}

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

.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,
.page-fishing-games__card-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--fishing-games-button-gradient);
    color: var(--fishing-games-text-main);
    border: none;
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

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

/* Section Titles */
.page-fishing-games__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section (dark/light bg) */
}

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

/* About Section */
.page-fishing-games__about-section .page-fishing-games__text-block,
.page-fishing-games__about-section .page-fishing-games__section-title {
    color: #333333;
}

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

.page-fishing-games__grid-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Games Showcase */
.page-fishing-games__games-showcase .page-fishing-games__text-block {
    color: var(--fishing-games-text-secondary);
}

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

.page-fishing-games__card {
    background-color: var(--fishing-games-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--fishing-games-text-main);
}

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

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: var(--fishing-games-gold);
    margin-bottom: 10px;
    padding: 0 15px;
}

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

.page-fishing-games__card-button {
    background: var(--fishing-games-button-gradient);
    color: var(--fishing-games-text-main);
    border: none;
    margin: 0 15px;
}

.page-fishing-games__card-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-fishing-games__cta-center {
    text-align: center;
    margin-top: 30px;
}

/* Benefits Section */
.page-fishing-games__benefits-section .page-fishing-games__section-title,
.page-fishing-games__benefits-section .page-fishing-games__text-block {
    color: #333333;
}

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

.page-fishing-games__benefit-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333;
}

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

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

.page-fishing-games__step-item {
    background-color: var(--fishing-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: var(--fishing-games-text-main);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--fishing-games-gold);
    margin-bottom: 15px;
    display: block;
}

.page-fishing-games__step-title {
    font-size: 1.3em;
    color: var(--fishing-games-text-main);
    margin-bottom: 15px;
}

/* Strategy Section */
.page-fishing-games__strategy-section .page-fishing-games__section-title,
.page-fishing-games__strategy-section .page-fishing-games__text-block {
    color: #333333;
}

.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
    text-align: left;
    color: #333333;
}

.page-fishing-games__strategy-list li {
    background-color: #ffffff;
    border-left: 5px solid var(--fishing-games-primary-color);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-size: 1.05em;
    line-height: 1.7;
}

.page-fishing-games__strategy-list li strong {
    color: var(--fishing-games-primary-color);
}

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

.page-fishing-games__faq-item {
    background-color: var(--fishing-games-card-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--fishing-games-text-main);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--fishing-games-deep-green);
    color: var(--fishing-games-text-main);
    border-bottom: 1px solid var(--fishing-games-divider);
}

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

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

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--fishing-games-gold);
}

.page-fishing-games__faq-answer {
    padding: 20px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--fishing-games-text-secondary);
    border-top: 1px solid var(--fishing-games-divider);
}

.page-fishing-games__faq-item:not([open]) .page-fishing-games__faq-answer {
    display: none;
}

/* CTA Section */
.page-fishing-games__cta-section {
    padding: 80px 20px;
    text-align: center;
}

.page-fishing-games__cta-container .page-fishing-games__section-title,
.page-fishing-games__cta-container .page-fishing-games__text-block {
    color: #333333;
}

/* Global image styles */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Ensure no filter is applied */
    filter: none; 
}

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

    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__about-section,
    .page-fishing-games__games-showcase,
    .page-fishing-games__benefits-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__hero-content,
    .page-fishing-games__image-grid,
    .page-fishing-games__game-cards,
    .page-fishing-games__benefit-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__faq-list,
    .page-fishing-games__cta-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

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

    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-fishing-games__main-title {
        font-size: 2em; /* Smaller H1 for mobile */
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__card-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__card-image {
        height: 180px;
    }

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

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

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

    .page-fishing-games__text-block {
        font-size: 0.95em;
    }

    .page-fishing-games__strategy-list {
        padding-left: 0;
    }

    .page-fishing-games__strategy-list li {
        padding: 15px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
}