/* style/fishing-games.css */

/* Base Styles for the Fishing Games Page */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background: var(--background, #FFFFFF); /* Inherit body background */
}

/* Fixed Header Offset */
.page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Sections General */
.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #f0f8ff; /* Light blue background */
    overflow: hidden;
    padding: 80px 20px;
    flex-wrap: wrap; /* Allow wrapping for mobile */
}

.page-fishing-games__hero-content {
    max-width: 600px;
    text-align: left;
    z-index: 1;
    padding-right: 40px;
}

.page-fishing-games__main-title {
    font-size: 3.5em;
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__description {
    font-size: 1.3em;
    color: #555555;
    margin-bottom: 30px;
}

.page-fishing-games__hero-image-wrapper {
    flex-shrink: 0;
    margin-left: 40px;
    max-width: 50%;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* CTA Buttons */
.page-fishing-games__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap */
}

.page-fishing-games__cta-buttons--center {
    justify-content: center;
    margin-top: 40px;
}

.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, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-fishing-games__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-fishing-games__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

/* About Section */
.page-fishing-games__about-section {
    background-color: #FFFFFF; /* Light background */
    color: #333333;
}

/* Popular Games Section */
.page-fishing-games__popular-games {
    background-color: #26A9E0; /* Dark background */
    color: #FFFFFF; /* Light text */
}

.page-fishing-games__popular-games .page-fishing-games__section-title {
    color: #FFFFFF; /* White title on dark background */
}

.page-fishing-games__popular-games .page-fishing-games__text-block {
    color: #e0f2f7; /* Lighter text for readability */
}

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__game-image {
    width: 100%;
    max-width: 400px; /* Limit image width within card */
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover; /* Ensure image covers area without distortion */
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: #FFFFFF; /* White title */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__card-title a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__card-title a:hover {
    color: #e0f2f7;
    text-decoration: underline;
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: #e0f2f7;
}

/* Why Choose Us Section */
.page-fishing-games__why-choose-us {
    background-color: #FFFFFF;
    color: #333333;
}

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

.page-fishing-games__feature-item {
    text-align: center;
    padding: 25px;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-fishing-games__feature-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__feature-description {
    font-size: 1em;
    color: #555555;
}

/* How to Play Section */
.page-fishing-games__how-to-play {
    background-color: #f0f8ff; /* Medium-light background */
    color: #333333;
}

.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    max-width: 900px;
    margin: 40px auto;
}

.page-fishing-games__list-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
    text-align: left;
}

.page-fishing-games__list-item::before {
    counter-increment: step-counter;
    content: "Bước " counter(step-counter) ":";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #26A9E0;
    font-size: 1.2em;
}

/* Promotions Section */
.page-fishing-games__promotions {
    background-color: #FFFFFF;
    color: #333333;
}

.page-fishing-games__promo-list {
    list-style: disc;
    padding-left: 20px;
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-fishing-games__promo-list .page-fishing-games__list-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    position: relative;
    padding-left: 0; /* Override previous padding */
}

.page-fishing-games__promo-list .page-fishing-games__list-item::before {
    content: ""; /* Remove step counter */
    position: static;
    display: inline-block;
    margin-right: 5px;
    font-weight: normal;
    color: inherit;
    font-size: inherit;
}

.page-fishing-games__promotions a {
    color: #26A9E0;
    text-decoration: none;
}

.page-fishing-games__promotions a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    background-color: #26A9E0; /* Brand color background */
    color: #FFFFFF; /* White text */
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
    color: #FFFFFF;
}

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

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

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

.page-fishing-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question .page-fishing-games__faq-toggle {
    content: "−"; /* Changed by JS */
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1em;
    color: #e0f2f7;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 0;
}

/* Details/Summary specific styles for FAQ */
.page-fishing-games__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

/* Final CTA Section */
.page-fishing-games__final-cta {
    background-color: #FFFFFF;
    color: #333333;
    text-align: center;
}

.page-fishing-games__final-cta-content {
    padding: 60px 20px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .page-fishing-games__hero-section {
        flex-direction: column;
        text-align: center;
    }
    .page-fishing-games__hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        max-width: 100%;
    }
    .page-fishing-games__hero-image-wrapper {
        margin-left: 0;
        max-width: 80%;
    }
    .page-fishing-games__main-title {
        font-size: 3em;
    }
    .page-fishing-games__description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
        margin-bottom: 20px;
    }
    .page-fishing-games__main-title {
        font-size: 2.5em;
    }
    .page-fishing-games__hero-section {
        min-height: auto;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-fishing-games__hero-image-wrapper {
        max-width: 100%;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        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__game-grid,
    .page-fishing-games__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__container {
        padding: 30px 15px;
    }

    /* Mobile image 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__game-card,
    .page-fishing-games__feature-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    .page-fishing-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-fishing-games__cta-buttons--center {
        flex-direction: column;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
    }
    .page-fishing-games__list-item {
        padding-left: 30px;
    }
    .page-fishing-games__list-item::before {
        font-size: 1.1em;
    }
    .page-fishing-games__promo-list {
        padding-left: 15px;
    }
}

/* Ensure images don't use filter */
.page-fishing-games img {
    filter: none; /* Explicitly prevent any filter effects */
}