/* style/fishing-games.css */

/* --- Base Styles --- */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-text-main, #F2FFF6); /* Default text color, assumes dark body background */
    background-color: var(--page-background, #08160F); /* Page specific background */
}

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

/* --- Section Styling --- */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-background, #08160F);
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
}

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

.page-fishing-games__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
    z-index: 1; /* Ensure content is above any background elements */
    color: var(--page-text-main, #F2FFF6);
}

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

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-gold, #F2C14E);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__sub-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--page-text-main, #F2FFF6);
}

.page-fishing-games__text-block {
    margin-bottom: 20px;
    color: var(--page-text-secondary, #A7D9B8);
}

.page-fishing-games__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--page-text-secondary, #A7D9B8);
}

.page-fishing-games__list li {
    margin-bottom: 10px;
}

.page-fishing-games__numbered-list {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--page-text-secondary, #A7D9B8);
}

.page-fishing-games__numbered-list li {
    margin-bottom: 10px;
}

.page-fishing-games__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* --- Dark Section Specifics (for contrast) --- */
.page-fishing-games__dark-section {
    background-color: var(--page-card-bg, #11271B);
    padding: 60px 0;
    color: var(--page-text-main, #F2FFF6);
}

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

.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: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    min-width: 180px;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--page-glow, #57E38D);
    border: 2px solid var(--page-glow, #57E38D);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--page-glow, #57E38D);
    color: #08160F; /* Dark text on light background for contrast */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* --- FAQ Section --- */
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: var(--page-background, #08160F);
}

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

.page-fishing-games__faq-item {
    background-color: var(--page-card-bg, #11271B);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--page-divider, #1E3A2A);
    color: var(--page-text-main, #F2FFF6);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--page-gold, #F2C14E);
    user-select: none;
    background-color: var(--page-deep-green, #0A4B2C);
    border-bottom: 1px solid var(--page-divider, #1E3A2A);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: 1px solid var(--page-border, #2E7A4E);
}

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-glow, #57E38D);
}

.page-fishing-games__faq-answer {
    padding: 20px;
    font-size: 0.95em;
    color: var(--page-text-secondary, #A7D9B8);
    border-top: 1px solid var(--page-divider, #1E3A2A); /* This border will be hidden when closed */
}

.page-fishing-games__faq-item:not([open]) .page-fishing-games__faq-answer {
    border-top: none; /* Hide border when closed */
}

/* --- Final CTA Section --- */
.page-fishing-games__cta-final-section {
    background-color: var(--page-card-bg, #11271B);
    padding: 80px 20px;
    text-align: center;
    color: var(--page-text-main, #F2FFF6);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__sub-title {
        font-size: 1.5em;
    }
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }

    /* Images responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video responsiveness (if any, though none directly added in HTML) */
    .page-fishing-games video,
    .page-fishing-games__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body handles header offset */
    }


    /* Buttons responsiveness */
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__hero-section {
        padding: 20px 0 40px;
    }
    .page-fishing-games__hero-content {
        padding: 20px 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__sub-title {
        font-size: 1.3em;
    }
    .page-fishing-games__dark-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final-section {
        padding: 40px 0;
    }
    .page-fishing-games__faq-question {
        font-size: 1em;
    }
}

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

/* Ensure content text contrast, assuming body is dark (from --page-background) */
.page-fishing-games {
    color: var(--page-text-main, #F2FFF6);
}
.page-fishing-games p,
.page-fishing-games li {
    color: var(--page-text-secondary, #A7D9B8);
}
.page-fishing-games strong {
    color: var(--page-gold, #F2C14E);
}