/* style/fishing-games.css */
/* body đã padding-top: var(--header-offset)；trang này cấm viết lại biến đó */

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

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main); /* Mặc định chữ màu sáng cho nền tối */
    background-color: var(--color-background); /* Nền tổng thể */
    line-height: 1.6;
}

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

/* Sections */
.page-fishing-games__hero-section,
.page-fishing-games__introduction-section,
.page-fishing-games__game-types-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__app-download-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-fishing-games__hero-section {
    padding-top: 10px; /* Nhỏ gọn hơn, body đã xử lý padding-top */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-main);
    background-color: var(--color-background);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

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

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

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__intro-description {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--color-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--color-glow);
    border: 2px solid var(--color-glow);
    box-shadow: 0 4px 15px rgba(87, 227, 141, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--color-glow);
    color: var(--color-background);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
}

.page-fishing-games__section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

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

.page-fishing-games__text-block {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
    color: var(--color-text-secondary);
}

/* Background variations */
.page-fishing-games__dark-bg {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

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

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

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

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

.page-fishing-games__game-card,
.page-fishing-games__promo-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

.page-fishing-games__game-card:hover,
.page-fishing-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__card-title {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__card-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.page-fishing-games__more-games-text {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
}

/* Features Grid */
.page-fishing-games__feature-item {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
}

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

.page-fishing-games__feature-title {
    font-size: 1.3rem;
    color: var(--color-glow);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__feature-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

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

.page-fishing-games__guide-item {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
}

.page-fishing-games__guide-title {
    font-size: 1.4rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__guide-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.page-fishing-games__guide-list {
    list-style: disc;
    padding-left: 25px;
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.page-fishing-games__guide-list li {
    margin-bottom: 8px;
}

.page-fishing-games__guide-list li strong {
    color: var(--color-glow);
}

/* App Download Section */
.page-fishing-games__app-download-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-fishing-games__app-text {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__app-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__app-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__app-benefits {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 30px;
    color: var(--color-text-main);
}

.page-fishing-games__app-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.page-fishing-games__app-benefits li::before {
    content: '✅';
    margin-right: 10px;
    color: var(--color-glow);
    font-size: 1.2rem;
}

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

.page-fishing-games__faq-item {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    list-style: none;
}

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

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    color: var(--color-glow);
}

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-gold);
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding-top: 10px;
}

/* Conclusion Section */
.page-fishing-games__cta-content {
    text-align: center;
}

.page-fishing-games__cta-content .page-fishing-games__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        padding: 15px;
    }

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

    .page-fishing-games__intro-description {
        font-size: 1.05rem;
    }

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

@media (max-width: 768px) {
    .page-fishing-games__hero-section,
    .page-fishing-games__introduction-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__app-download-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding: 40px 0;
    }

    .page-fishing-games__hero-section {
        padding-top: 10px !important;
    }

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

    .page-fishing-games__main-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .page-fishing-games__intro-description {
        font-size: 1rem;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 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__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        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__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 30px;
    }

    .page-fishing-games__game-grid,
    .page-fishing-games__features-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card-title {
        font-size: 1.3rem;
    }

    .page-fishing-games__feature-title {
        font-size: 1.2rem;
    }

    .page-fishing-games__guide-title {
        font-size: 1.3rem;
    }

    .page-fishing-games__app-download-content {
        flex-direction: column;
        gap: 30px;
    }

    .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__app-download-section,
    .page-fishing-games__hero-section,
    .page-fishing-games__introduction-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section,
    .page-fishing-games__app-download-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .page-fishing-games__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .page-fishing-games__hero-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-fishing-games__card-image,
    .page-fishing-games__feature-icon,
    .page-fishing-games__app-screenshot {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}

/* No CSS filter for images */
.page-fishing-games img {
    filter: none;
}