/* style/fishing-games.css */

/* Biến màu sắc */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --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;
}

/* Cấu trúc chung của trang */
.page-fishing-games {
    font-family: Arial, sans-serif;
    color: var(--color-text-main); /* Mặc định chữ sáng trên nền tối */
    background-color: var(--color-background); /* Nền chính của trang */
    line-height: 1.6;
}

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

.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__section--intro,
.page-fishing-games__section--benefits,
.page-fishing-games__section--guide,
.page-fishing-games__section--promotions,
.page-fishing-games__section--conclusion {
    background-color: #f8f8f8; /* Nền sáng cho các phần nội dung chính */
    color: #333333; /* Chữ tối trên nền sáng */
}

.page-fishing-games__section--intro .page-fishing-games__heading,
.page-fishing-games__section--benefits .page-fishing-games__heading,
.page-fishing-games__section--guide .page-fishing-games__heading,
.page-fishing-games__section--promotions .page-fishing-games__heading,
.page-fishing-games__section--conclusion .page-fishing-games__heading {
    color: var(--color-deep-green);
}

.page-fishing-games__section--intro .page-fishing-games__text-block,
.page-fishing-games__section--benefits .page-fishing-games__benefits-text,
.page-fishing-games__section--guide .page-fishing-games__guide-text,
.page-fishing-games__section--promotions .page-fishing-games__card-text,
.page-fishing-games__section--conclusion .page-fishing-games__text-block {
    color: #555555;
}

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Nhỏ gọn để body xử lý offset */
    padding-bottom: 60px;
    overflow: hidden;
    background-color: var(--color-background);
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.6; /* Làm mờ ảnh để văn bản nổi bật */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    color: var(--color-text-main);
}

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

.page-fishing-games__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
}

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

.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.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--color-button-gradient-start);
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-fishing-games__btn-secondary {
    background: #ffffff;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: var(--color-primary);
    color: #ffffff;
}

.page-fishing-games__heading {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--color-gold);
}

.page-fishing-games__section--intro .page-fishing-games__heading,
.page-fishing-games__section--benefits .page-fishing-games__heading,
.page-fishing-games__section--guide .page-fishing-games__heading,
.page-fishing-games__section--promotions .page-fishing-games__heading,
.page-fishing-games__section--conclusion .page-fishing-games__heading {
    color: var(--color-deep-green);
}

.page-fishing-games__text-block {
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-fishing-games__section--intro .page-fishing-games__card,
.page-fishing-games__section--benefits .page-fishing-games__card,
.page-fishing-games__section--guide .page-fishing-games__card,
.page-fishing-games__section--promotions .page-fishing-games__card {
    background-color: #ffffff;
    color: #333333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.page-fishing-games__section--intro .page-fishing-games__card-title,
.page-fishing-games__section--benefits .page-fishing-games__benefits-title,
.page-fishing-games__section--guide .page-fishing-games__guide-title,
.page-fishing-games__section--promotions .page-fishing-games__card-title {
    color: var(--color-deep-green);
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    object-fit: cover;
}

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

.page-fishing-games__card-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.page-fishing-games__section--intro .page-fishing-games__card-text,
.page-fishing-games__section--benefits .page-fishing-games__benefits-text,
.page-fishing-games__section--guide .page-fishing-games__guide-text,
.page-fishing-games__section--promotions .page-fishing-games__card-text {
    color: #555555;
}

.page-fishing-games__section--video {
    background-color: var(--color-background);
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-fishing-games__video-wrapper {
    display: block;
    width: 100%;
    max-width: 1000px; /* Kích thước tối đa của video */
    margin: 30px auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.page-fishing-games__video-caption {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-top: 10px;
}

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

.page-fishing-games__benefits-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: left;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-fishing-games__benefits-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color-deep-green);
}

.page-fishing-games__benefits-text {
    font-size: 0.95rem;
    color: #555555;
}

.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    counter-reset: guide-step;
    text-align: left;
}

.page-fishing-games__guide-item {
    position: relative;
    padding: 20px 0 20px 60px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.page-fishing-games__guide-item::before {
    counter-increment: guide-step;
    content: "Bước " counter(guide-step);
    position: absolute;
    left: 0;
    top: 20px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-primary);
    width: 50px;
    text-align: center;
}

.page-fishing-games__guide-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--color-deep-green);
}

.page-fishing-games__guide-text {
    font-size: 0.95rem;
    color: #555555;
}

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

.page-fishing-games__link-text {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: bold;
}

.page-fishing-games__link-text:hover {
    color: var(--color-secondary);
}

/* FAQ Section */
.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-fishing-games__faq-item {
    background-color: var(--color-card-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom-color: transparent;
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    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: 15px 25px 20px;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    background-color: var(--color-card-bg);
}

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

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

    .page-fishing-games__section {
        padding: 40px 0;
    }

    .page-fishing-games__hero-content {
        padding: 20px 15px;
    }

    .page-fishing-games__main-title {
        font-size: 2rem;
    }

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

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

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

    .page-fishing-games__heading {
        font-size: 2rem;
    }

    .page-fishing-games__text-block {
        font-size: 0.95rem;
    }

    .page-fishing-games__feature-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__strategy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card,
    .page-fishing-games__benefits-item {
        padding: 20px;
    }

    .page-fishing-games__card-title,
    .page-fishing-games__benefits-title,
    .page-fishing-games__guide-title {
        font-size: 1.15rem;
    }

    .page-fishing-games__card-text,
    .page-fishing-games__benefits-text,
    .page-fishing-games__guide-text {
        font-size: 0.9rem;
    }

    .page-fishing-games__video-wrapper {
        margin: 20px auto;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

    .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__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container,
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-fishing-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-fishing-games__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.9rem;
    }
}