/* style/fishing-games.css */

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

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

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

/* Section Styling */
.page-fishing-games__hero-section,
.page-fishing-games__introduction-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__advantages-section,
.page-fishing-games__tips-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden; /* Ensure content doesn't overflow */
}

/* Hero Section */
.page-fishing-games__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px; /* Add bottom padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--page-fishing-games-deep-green); /* Use a darker green for hero background */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for image wrapper */
    margin-bottom: 30px;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-content {
    max-width: 900px;
    padding: 0 20px;
    color: var(--page-fishing-games-text-main);
}

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

.page-fishing-games__tagline {
    font-size: 1.2em;
    color: var(--page-fishing-games-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-fishing-games__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width */
    max-width: 600px; /* Limit max width for button group */
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-fishing-games__btn-primary {
    background: var(--page-fishing-games-button-gradient);
    color: var(--page-fishing-games-text-main); /* White-ish text for contrast */
    border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Slight inverse gradient on hover */
}

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

.page-fishing-games__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: rgba(242, 193, 78, 0.1);
}

/* Section Titles */
.page-fishing-games__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: var(--page-fishing-games-gold);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-fishing-games-glow);
    border-radius: 2px;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    color: var(--page-fishing-games-text-secondary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Feature Grid */
.page-fishing-games__feature-grid,
.page-fishing-games__advantages-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__advantage-card {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-fishing-games-text-main);
}

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

.page-fishing-games__card-image,
.page-fishing-games__advantage-icon {
    width: 100%; /* Ensure image fills card width */
    height: auto;
    max-height: 250px; /* Limit height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Min size for all images */
    min-height: 200px; /* Min size for all images */
    display: block;
}

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

.page-fishing-games__card-description,
.page-fishing-games__advantage-description {
    font-size: 1em;
    color: var(--page-fishing-games-text-secondary);
}

/* Lists */
.page-fishing-games__numbered-list,
.page-fishing-games__bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 900px;
}

.page-fishing-games__numbered-list li,
.page-fishing-games__bullet-list li {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__numbered-list li:last-child,
.page-fishing-games__bullet-list li:last-child {
    margin-bottom: 0;
}

.page-fishing-games__numbered-list li::before {
    content: counter(list-item);
    counter-increment: list-item;
    position: absolute;
    left: 15px;
    top: 25px;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--page-fishing-games-gold);
    background-color: var(--page-fishing-games-deep-green);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--page-fishing-games-glow);
    box-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__bullet-list li::before {
    content: '•';
    position: absolute;
    left: 15px;
    top: 25px;
    font-size: 2em;
    color: var(--page-fishing-games-glow);
}

.page-fishing-games__numbered-list .page-fishing-games__list-title {
    margin-left: 60px; /* Adjust for counter */
    text-align: left;
    color: var(--page-fishing-games-text-main);
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
}
.page-fishing-games__bullet-list .page-fishing-games__list-title {
    margin-left: 40px; /* Adjust for bullet */
    text-align: left;
    color: var(--page-fishing-games-text-main);
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-fishing-games__numbered-list li p,
.page-fishing-games__bullet-list li p {
    margin-left: 60px; /* Adjust for counter/bullet */
    text-align: left;
    color: var(--page-fishing-games-text-secondary);
    font-size: 1em;
}


/* FAQ Section */
.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 12px;
    background-color: var(--page-fishing-games-card-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-item {
    border-bottom: 1px solid var(--page-fishing-games-divider);
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__faq-item:last-child {
    border-bottom: none;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: transparent;
    color: var(--page-fishing-games-text-main);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(46, 122, 78, 0.2); /* Lighter hover for dark background */
}

/* Hide default details marker */
.page-fishing-games__faq-item summary {
    list-style: none;
}
.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none;
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    /* Content updated by JS */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-section,
    .page-fishing-games__introduction-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__advantages-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-bottom-section {
        padding: 40px 0;
    }

    .page-fishing-games__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.6em, 4vw, 2.5em);
    }

    .page-fishing-games__feature-grid,
    .page-fishing-games__advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* Mobile-specific overrides for images, videos, buttons */
    /* Images */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__feature-card,
    .page-fishing-games__advantage-card,
    .page-fishing-games__container,
    .page-fishing-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }
    /* Buttons */
    .page-fishing-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        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;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* body handles header offset, small top padding here */
        padding-bottom: 40px !important;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 10px;
    }

    .page-fishing-games__tagline {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 30px;
    }

    .page-fishing-games__text-block {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-fishing-games__numbered-list li,
    .page-fishing-games__bullet-list li {
        padding: 20px 20px 20px 60px; /* Adjust padding for smaller screens */
    }

    .page-fishing-games__numbered-list li::before {
        left: 10px;
        top: 20px;
        width: 35px;
        height: 35px;
        font-size: 1.3em;
    }
    .page-fishing-games__bullet-list li::before {
        left: 10px;
        top: 20px;
        font-size: 1.8em;
    }

    .page-fishing-games__numbered-list .page-fishing-games__list-title,
    .page-fishing-games__numbered-list li p,
    .page-fishing-games__bullet-list .page-fishing-games__list-title,
    .page-fishing-games__bullet-list li p {
        margin-left: 45px; /* Further adjust for smaller screen */
    }

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

    .page-fishing-games__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.9em;
    }
}