/* style/fishing-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-dark: #1a1a2e;
    --button-register: #C30808;
    --button-login: #C30808;
    --button-font-color: #FFFF00;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

.page-fishing-games__hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin-bottom: 40px;
    line-height: 1.5;
}

.page-fishing-games__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* General Content Area */
.page-fishing-games__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Section Backgrounds */
.page-fishing-games__dark-bg {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-fishing-games__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: var(--primary-color);
}

.page-fishing-games__light-bg .page-fishing-games__paragraph {
    color: var(--text-dark);
}

.page-fishing-games__light-bg a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-fishing-games__dark-bg a {
    color: var(--button-font-color); /* Yellow for links on dark background */
    text-decoration: underline;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background-color: var(--button-register);
    color: var(--button-font-color);
    border: 2px solid var(--button-register);
}

.page-fishing-games__btn-primary:hover {
    background-color: darken(var(--button-register), 10%);
    transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

.page-fishing-games__feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
}

.page-fishing-games__feature-title {
    font-size: 1.6em;
    color: var(--button-font-color);
    margin-bottom: 15px;
}

.page-fishing-games__feature-description {
    font-size: 1em;
    color: var(--text-light);
}

/* Tips List */
.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__list-item {
    background-color: #f0f0f0;
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.page-fishing-games__list-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-fishing-games__list-description {
    font-size: 1em;
    color: var(--text-dark);
}

/* Mậu Binh Promo */
.page-fishing-games__maubinh-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.page-fishing-games__maubinh-text-content {
    text-align: left;
}

.page-fishing-games__maubinh-image-wrapper {
    text-align: center;
}

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

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
}

.page-fishing-games__faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    color: var(--text-dark);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: var(--secondary-color);
    border-bottom: 1px solid #eee;
    list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker, /* For Webkit browsers */
.page-fishing-games__faq-question::marker { /* Standard */
    display: none;
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

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

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

/* Final CTA Section */
.page-fishing-games__cta-section {
    text-align: center;
    padding: 80px 20px;
}

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

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

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

    .page-fishing-games__section-title {
        font-size: 2em;
    }

    .page-fishing-games__maubinh-promo-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-fishing-games__maubinh-text-content {
        text-align: center;
    }
}

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

    .page-fishing-games__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

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

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

    .page-fishing-games__hero-cta-buttons,
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-fishing-games__content-area {
        padding: 40px 15px;
    }

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

    .page-fishing-games__paragraph,
    .page-fishing-games__list-description,
    .page-fishing-games__faq-answer p {
        font-size: 0.95em;
    }

    .page-fishing-games__features-grid {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__faq-item {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .page-fishing-games__feature-title {
        font-size: 1.4em;
    }

    .page-fishing-games__list-title {
        font-size: 1.2em;
    }

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

    /* Image, Video, and Container Responsiveness */
    .page-fishing-games img,
    .page-fishing-games video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__hero-section,
    .page-fishing-games__introduction-section,
    .page-fishing-games__features-section,
    .page-fishing-games__gameplay-tips-section,
    .page-fishing-games__maubinh-promo-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section,
    .page-fishing-games__feature-card,
    .page-fishing-games__maubinh-image-wrapper,
    .page-fishing-games__hero-cta-buttons,
    .page-fishing-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
    .page-fishing-games__hero-section { /* Override padding for hero specifically on mobile to handle header offset */
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-fishing-games__maubinh-promo-grid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-fishing-games__maubinh-text-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}