/* style/fishing-games.css */

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

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--color-deep-green); /* A slightly different dark green for the hero background */
    position: relative;
    overflow: hidden;
}

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

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

.page-fishing-games__hero-content {
    text-align: center;
    padding: 40px 20px 60px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly with image for visual flow */
    position: relative;
    z-index: 1;
    background-color: var(--color-card-bg); /* Darker background for content */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-border);
}

.page-fishing-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

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

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

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

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

/* Sections */
.page-fishing-games__intro-section,
.page-fishing-games__benefits-section,
.page-fishing-games__guide-section,
.page-fishing-games__game-types-section,
.page-fishing-games__strategy-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom-section {
    padding: 60px 0;
    border-top: 1px solid var(--color-divider);
}

.page-fishing-games__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: var(--color-glow);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-fishing-games__text-block {
    font-size: 1.05em;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-fishing-games__benefit-card,
.page-fishing-games__step-card,
.page-fishing-games__game-card,
.page-fishing-games__promo-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

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

.page-fishing-games__card-description {
    font-size: 0.95em;
    color: var(--color-text-secondary);
    flex-grow: 1; /* Make description take available space */
}

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

.page-fishing-games__step-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-card .page-fishing-games__card-title {
    color: var(--color-gold);
    font-size: 1.3em;
    margin-bottom: 10px;
}

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

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

.page-fishing-games__list-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    color: var(--color-text-secondary);
    font-size: 1em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__list-item strong {
    color: var(--color-text-main);
    font-size: 1.1em;
}

/* FAQ Section */
.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: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.1em;
    color: var(--color-text-main);
    font-weight: bold;
    list-style: none; /* For details/summary */
}

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

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

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

/* CTA Bottom Section */
.page-fishing-games__cta-bottom-section .page-fishing-games__container {
    background-color: var(--color-deep-green);
    border-radius: 10px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-title {
    color: var(--color-gold);
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-top: -60px;
        padding: 30px 15px 40px;
    }
    .page-fishing-games__section-title {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
    }

    .page-fishing-games__hero-content {
        margin-top: -40px;
        padding: 25px 15px 30px;
    }

    .page-fishing-games__main-title {
        font-size: 2.2em;
    }

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

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        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__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__intro-section,
    .page-fishing-games__benefits-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-bottom-section {
        padding: 40px 0;
    }

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

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

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

    .page-fishing-games__benefit-icon,
    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        height: auto;
        min-height: 200px; /* Ensure minimum size */
        object-fit: contain; /* Adjust object-fit for smaller screens if needed */
    }

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

    .page-fishing-games__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__cta-bottom-section .page-fishing-games__container {
        padding: 30px;
    }
}