:root {
    --primary-color: #26A9E0;
    --secondary-color: #EA7C07; /* From 'Đăng nhập' color */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-color-light: #f8f8f8;
    --background-color-dark: #26A9E0;
    --border-color: #e0e0e0;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-color-light);
}

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

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-fishing-games__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-color-dark);
}

.page-fishing-games__highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: var(--background-color-dark);
    overflow: hidden;
}

.page-fishing-games__hero-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.page-fishing-games__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 800px;
    color: var(--text-color-light);
    background-color: rgba(0, 0, 0, 0.4); /* Overlay for text readability */
    padding: 30px;
    border-radius: 10px;
}

.page-fishing-games__hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-color-light);
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-color-light);
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
    background: darken(var(--secondary-color), 10%); /* Example of darkening */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 80px 0;
    background-color: var(--background-color-light);
    color: var(--text-color-dark);
}

.page-fishing-games__features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.page-fishing-games__feature-item {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

/* Games Showcase Section */
.page-fishing-games__games-showcase {
    padding: 80px 0;
    background-color: var(--background-color-dark);
    color: var(--text-color-light);
}

.page-fishing-games__games-showcase .page-fishing-games__section-title,
.page-fishing-games__games-showcase .page-fishing-games__section-description {
    color: var(--text-color-light);
}

.page-fishing-games__game-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.page-fishing-games__game-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 25px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.page-fishing-games__card-title {
    font-size: 22px;
    color: var(--text-color-light);
    margin-bottom: 15px;
}

.page-fishing-games__card-title a {
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__card-title a:hover {
    color: var(--secondary-color);
}

.page-fishing-games__game-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.page-fishing-games__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    background-color: var(--background-color-light);
    color: var(--text-color-dark);
}

.page-fishing-games__promotion-items {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.page-fishing-games__promotion-item {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-fishing-games__promotion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__promotion-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__promotion-item p {
    color: var(--text-color-dark);
    margin-bottom: 20px;
}

.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-fishing-games__cta-center {
    text-align: center;
    margin-top: 60px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: var(--background-color-light);
    color: var(--text-color-dark);
}

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

/* FAQ容器样式 */
.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

/* FAQ默认状态 - 答案隐藏 */
.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important; /* 🚨 Sử dụng !important để đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

/* 问题样式 */
.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-fishing-games__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-fishing-games__faq-question:active {
    background: #eeeeee;
}

/* 问题标题样式 */
.page-fishing-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* 防止h3标签阻止点击事件 */
}

/* 切换图标 */
.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* 防止图标阻止点击事件 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    color: #333;
    transform: rotate(180deg);
}

/* CTA Section */
.page-fishing-games__cta-section {
    padding: 80px 0;
    background-color: var(--background-color-dark);
    color: var(--text-color-light);
    text-align: center;
}

.page-fishing-games__cta-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-fishing-games__cta-title {
    font-size: 38px;
    font-weight: bold;
    color: var(--text-color-light);
    margin-bottom: 20px;
}

.page-fishing-games__cta-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin-bottom: 40px;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    overflow: hidden;
}

.page-fishing-games__btn-large {
    padding: 18px 40px;
    font-size: 20px;
    min-width: 200px;
    flex-grow: 1;
    max-width: calc(50% - 10px);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 40px;
    }
    .page-fishing-games__hero-description {
        font-size: 18px;
    }
    .page-fishing-games__section-title {
        font-size: 30px;
    }
    .page-fishing-games__section-description {
        font-size: 16px;
    }
    .page-fishing-games__btn-large {
        padding: 15px 30px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile specific padding-top */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__hero-container img {
        border-radius: 4px;
    }

    .page-fishing-games__hero-content {
        padding: 20px;
        width: 95%;
    }

    .page-fishing-games__hero-title {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .page-fishing-games__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-fishing-games__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .page-fishing-games__section-title {
        font-size: 26px;
        padding-top: 30px;
    }

    .page-fishing-games__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .page-fishing-games__features,
    .page-fishing-games__game-cards,
    .page-fishing-games__promotion-items {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .page-fishing-games__feature-item,
    .page-fishing-games__game-card,
    .page-fishing-games__promotion-item {
        width: 100%;
        max-width: 400px; /* Constrain max-width for better readability on slightly larger mobile devices */
        min-width: unset;
        padding: 20px;
    }

    .page-fishing-games__feature-item img,
    .page-fishing-games__game-card img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px;
        min-
        object-fit: cover;
    }

    .page-fishing-games__feature-title,
    .page-fishing-games__card-title,
    .page-fishing-games__promotion-title {
        font-size: 20px;
    }

    .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 {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__btn-large {
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-fishing-games__cta-title {
        font-size: 28px;
    }

    .page-fishing-games__cta-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-fishing-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-fishing-games__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .page-fishing-games__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }

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

    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px !important;
    }

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

    /* Ensure content area images are not too small */
    .page-fishing-games__intro-section img, 
    .page-fishing-games__games-showcase img {
        min-width: 200px !important;
        min-
    }
}

/* Common styles for light/dark background sections */
.page-fishing-games__light-bg {
    background-color: var(--background-color-light);
    color: var(--text-color-dark);
}

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

.page-fishing-games__dark-bg .page-fishing-games__highlight {
    color: var(--secondary-color);
}

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

/* Ensure no image filters are used */
.page-fishing-games img {
    filter: none; /* Absolutely no filters */
}

/* Ensure contrast for links in dark sections */
.page-fishing-games__games-showcase a, 
.page-fishing-games__cta-section a {
    color: var(--text-color-light);
}

.page-fishing-games__games-showcase a:hover, 
.page-fishing-games__cta-section a:hover {
    color: var(--secondary-color);
}