:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --button-register-bg: #C30808;
    --button-login-bg: #C30808;
    --button-register-text: #FFFF00;
    --button-login-text: #FFFF00;
    --text-color-dark: #333333;
    --text-color-light: #FFFFFF;
    --border-color: #e0e0e0;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--secondary-color); /* Body background is white */
}

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

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

.page-fishing-games__section-subtitle {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__section-subtitle {
    color: var(--text-color-light);
}

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

/* 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);
    overflow: hidden;
}

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

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.page-fishing-games__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-color-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--text-color-light);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* General Buttons */
.page-fishing-games__cta-button {
    display: inline-block;
    padding: 16px 45px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px 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 {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary {
    background: var(--primary-color);
    color: var(--text-color-light);
    border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-primary:hover {
    background: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

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

.page-fishing-games__btn-secondary:hover {
    background: #f0f0f0;
    color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

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

.page-fishing-games__btn-register:hover {
    background-color: darken(var(--button-register-bg), 10%);
    border-color: darken(var(--button-register-bg), 10%);
}

.page-fishing-games__btn-login {
    background-color: var(--button-login-bg);
    color: var(--button-login-text);
    border: 2px solid var(--button-login-bg);
}

.page-fishing-games__btn-login:hover {
    background-color: darken(var(--button-login-bg), 10%);
    border-color: darken(var(--button-login-bg), 10%);
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 80px 0;
}

.page-fishing-games__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__text-block {
    flex: 1;
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--text-color-dark);
}

.page-fishing-games__image-block {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__image-block img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-fishing-games__image-block--center {
    text-align: center;
    margin-top: 40px;
}

.page-fishing-games__image-block--center img {
    max-width: 80%;
    margin: 0 auto;
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 80px 0;
}

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

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

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

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

.page-fishing-games__feature-card p {
    color: rgba(255, 255, 255, 0.9);
}

/* Game Types Section */
.page-fishing-games__game-types-section {
    padding: 80px 0;
}

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

.page-fishing-games__game-card {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-fishing-games__game-card .page-fishing-games__card-title {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-fishing-games__game-card p {
    padding: 0 20px;
    margin-bottom: 20px;
    color: var(--text-color-dark);
}

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 80px 0;
    text-align: left;
}

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

.page-fishing-games__guide-list li {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__guide-list li h3 {
    color: var(--text-color-light);
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-fishing-games__guide-list li p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1em;
}

.page-fishing-games__guide-list li a {
    color: var(--button-register-text);
    text-decoration: underline;
}

.page-fishing-games__guide-list li a:hover {
    color: var(--secondary-color);
}

.page-fishing-games__tips-list {
    list-style: disc;
    padding-left: 30px;
    margin-top: 30px;
    color: var(--text-color-light);
}

.page-fishing-games__tips-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-fishing-games__tips-list strong {
    color: var(--button-register-text);
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
}

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

.page-fishing-games__promo-card {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__promo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 20px;
}

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

.page-fishing-games__promo-card p {
    padding: 0 20px;
    margin-bottom: 20px;
    color: var(--text-color-dark);
}

/* Security & Support Section */
.page-fishing-games__security-support-section {
    padding: 80px 0;
}

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

.page-fishing-games__info-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__info-card p {
    color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__info-card a {
    color: var(--button-register-text);
    text-decoration: underline;
}

.page-fishing-games__info-card a:hover {
    color: var(--secondary-color);
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
}

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

/* FAQ容器样式 */
.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 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;
    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;
    color: var(--text-color-dark);
}

/* 问题样式 */
.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: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* 防止h3标签阻止点击事件 */
    color: var(--primary-color);
}

/* 切换图标 */
.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: var(--primary-color);
    transform: rotate(45deg); /* Change to X */
}

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

.page-fishing-games__cta-final-section .page-fishing-games__section-description {
    color: var(--text-color-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 2.8em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-description,
    .page-fishing-games__section-description,
    .page-fishing-games__text-block p,
    .page-fishing-games__guide-list li p,
    .page-fishing-games__tips-list li,
    .page-fishing-games__promo-card p,
    .page-fishing-games__info-card p,
    .page-fishing-games__faq-question h3 {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .page-fishing-games__image-block--center img {
        max-width: 100%;
    }
    .page-fishing-games__game-card img,
    .page-fishing-games__promo-card img {
        
    }
    .page-fishing-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-fishing-games__faq-question h3 {
        font-size: 1em;
        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;
    }

    /* Image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__image-block,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__feature-card,
    .page-fishing-games__info-card,
    .page-fishing-games__faq-item,
    .page-fishing-games__cta-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card {
        padding-left: 0;
        padding-right: 0;
    }
    .page-fishing-games__game-card p,
    .page-fishing-games__promo-card p {
        padding: 0 15px;
    }
    .page-fishing-games__cta-block a {
        margin-left: auto;
        margin-right: auto;
    }
    .page-fishing-games__guide-list li,
    .page-fishing-games__tips-list {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__cta-button {
        font-size: 0.9em;
        padding: 10px 25px;
    }
    .page-fishing-games__guide-list li h3 {
        font-size: 1.3em;
    }
    .page-fishing-games__game-card .page-fishing-games__card-title,
    .page-fishing-games__promo-card .page-fishing-games__card-title {
        font-size: 1.2em;
    }
}