/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with shared.css body background */
}

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

/* Header offset for the first content section */
.page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    position: relative;
    overflow: hidden; /* For image positioning */
    background-color: #017439; /* Brand primary color for hero background */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px; /* Minimum height for hero */
}

.page-fishing-games__hero-section .page-fishing-games__container {
    position: relative;
    z-index: 2; /* Ensure text is above image */
    padding-top: 60px; /* Additional padding for content within hero */
    padding-bottom: 60px;
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly dim the background image for text readability */
    filter: brightness(0.7); /* Further dimming for contrast */
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFF00; /* Highlight title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

.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-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Ensure padding doesn't push width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
    max-width: 300px; /* Max width for individual buttons */
    text-align: center;
}

.page-fishing-games__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-3px);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #FFFF00;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
    transform: translateY(-3px);
}

/* General Section Styles */
.page-fishing-games__intro-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__advantages-section,
.page-fishing-games__strategies-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom-section {
    padding: 80px 0;
}

.page-fishing-games__light-bg {
    background-color: #ffffff; /* White background for light sections */
    color: #333333; /* Dark text for light background */
}

.page-fishing-games__dark-bg {
    background-color: #0a0a0a; /* Dark background for dark sections */
    color: #ffffff; /* Light text for dark background */
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    color: #017439; /* Brand primary color for titles on light backgrounds */
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
    color: #FFFF00; /* Yellow for titles on dark backgrounds */
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: inherit; /* Inherit color from parent section */
}

.page-fishing-games__content-image,
.page-fishing-games__promotion-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* How to Play Section */
.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__step-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-fishing-games__step-card:hover {
    transform: translateY(-10px);
}

.page-fishing-games__step-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Yellow highlight */
}

.page-fishing-games__step-text {
    font-size: 1em;
    color: #f0f0f0;
}

.page-fishing-games__weapon-info {
    margin-top: 60px;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__sub-title {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #017439; /* Brand primary for sub-titles on dark background */
    text-align: center;
    font-weight: bold;
}

.page-fishing-games__dark-bg .page-fishing-games__sub-title {
    color: #FFFF00;
}

.page-fishing-games__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-fishing-games__list-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #f0f0f0;
}

.page-fishing-games__list-item::before {
    content: '★'; /* Custom bullet point */
    color: #FFFF00;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1.6;
}

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

.page-fishing-games__card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-fishing-games__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Enforce min image size */
}

.page-fishing-games__card-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #017439; /* Brand primary color for card titles */
    font-weight: bold;
}

.page-fishing-games__card-text {
    font-size: 1em;
    color: #555555;
    text-align: left;
}

/* Strategies Section */
.page-fishing-games__strategy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__strategy-card {
    background-color: rgba(255, 255, 255, 0.08); /* Transparent card on dark background */
    color: #ffffff;
}

.page-fishing-games__strategy-card .page-fishing-games__card-title {
    color: #FFFF00; /* Yellow for titles on dark cards */
}

.page-fishing-games__strategy-card .page-fishing-games__card-text {
    color: #f0f0f0;
}


/* Promotions Section */
.page-fishing-games__promo-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
}

.page-fishing-games__promo-item {
    background-color: #f8f8f8;
    border-left: 5px solid #017439;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: #333333;
}

.page-fishing-games__promo-item strong {
    color: #017439;
}

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

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Transparent card on dark background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #017439; /* Brand color for question background */
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #005a2e;
}

.page-fishing-games__faq-title {
    margin: 0;
    color: inherit; /* Inherit color from question */
}

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    color: #f0f0f0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content, !important for priority */
    padding: 15px 25px 25px 25px;
}

.page-fishing-games__faq-text {
    margin: 0;
    padding-bottom: 10px;
    color: inherit;
}

/* Bottom CTA Section */
.page-fishing-games__cta-bottom-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-title {
    color: #FFFF00; /* Yellow title on brand color background */
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-description {
    color: #ffffff;
    margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 2.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.2em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    }
    .page-fishing-games__hero-section .page-fishing-games__container {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        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__intro-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__advantages-section,
    .page-fishing-games__strategies-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-bottom-section {
        padding: 50px 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__container {
        padding: 0;
    }

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

    /* Image responsiveness - CRITICAL */
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__content-area,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container,
    .page-fishing-games__section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    /* Specific padding for sections if they are direct children of main */
    .page-fishing-games__promo-list {
        padding-left: 0;
        padding-right: 0;
    }
    .page-fishing-games__promo-item {
        padding: 15px;
    }
    .page-fishing-games__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px 20px 20px 20px;
    }
}

/* Ensure no CSS filters are used on images */
.page-fishing-games img {
    filter: none !important;
}

/* Min image size check in content area */
.page-fishing-games__card-image,
.page-fishing-games__content-image,
.page-fishing-games__promotion-image {
    min-width: 200px;
    min-height: 200px;
}