/* style/fishing-games.css */
/* body đã có padding-top: var(--header-offset) từ shared.css; trang này không lặp lại */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F2FFF6); /* Màu chữ mặc định cho nền tối */
    background-color: var(--background, #08160F); /* Màu nền trang */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Điều chỉnh khi cần */
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Khoảng cách nhỏ ở trên, body xử lý offset header */
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.5); /* Lớp phủ bán trong suốt để dễ đọc chữ */
    border-radius: 10px;
    color: var(--text-main, #F2FFF6);
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Kích thước font chữ phản hồi */
    color: var(--gold, #F2C14E);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

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

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

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

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px var(--glow, #57E38D);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--text-main, #F2FFF6);
    border: 2px solid var(--border, #2E7A4E);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--deep-green, #0A4B2C);
    border-color: var(--glow, #57E38D);
    color: #ffffff;
}

/* Sections */
.page-fishing-games__introduction-section,
.page-fishing-games__game-showcase-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__benefits-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
    padding: 60px 0;
}

.page-fishing-games__dark-section {
    background-color: var(--card-bg, #11271B); /* Nền tối hơn để tạo độ tương phản */
}

.page-fishing-games__section-title {
    font-size: 2.5rem;
    color: var(--gold, #F2C14E);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-fishing-games__sub-title {
    font-size: 1.8rem;
    color: var(--text-main, #F2FFF6);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-fishing-games p {
    margin-bottom: 15px;
    color: var(--text-secondary, #A7D9B8);
}

.page-fishing-games strong {
    color: var(--text-main, #F2FFF6);
}

.page-fishing-games__list,
.page-fishing-games__ordered-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary, #A7D9B8);
}

.page-fishing-games__ordered-list {
    list-style-type: decimal;
}

.page-fishing-games__list li,
.page-fishing-games__ordered-list li {
    margin-bottom: 10px;
    color: var(--text-secondary, #A7D9B8);
}

/* Game Cards */
.page-fishing-games__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-fishing-games__game-card.page-fishing-games__card {
    background-color: var(--card-bg, #11271B);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    border: 1px solid var(--border, #2E7A4E);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Chiều cao cố định để nhất quán */
    object-fit: cover;
    margin-bottom: 20px;
    display: block; /* Đảm bảo nó hoạt động như một phần tử khối */
}

.page-fishing-games__card-title {
    font-size: 1.5rem;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__card-description {
    font-size: 0.95rem;
    color: var(--text-secondary, #A7D9B8);
    padding: 0 15px;
    flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
    margin-top: 20px;
    align-self: center;
    width: calc(100% - 40px); /* Điều chỉnh chiều rộng cho padding */
    max-width: 200px;
}

.page-fishing-games__image-inline {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__benefit-item {
    background-color: var(--card-bg, #11271B);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border, #2E7A4E);
}

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

.page-fishing-games__benefit-item p {
    color: var(--text-secondary, #A7D9B8);
}

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

.page-fishing-games__faq-item.page-fishing-games__card {
    background-color: var(--card-bg, #11271B);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border, #2E7A4E);
    overflow: hidden; /* Dành cho thẻ details */
}

.page-fishing-games__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main, #F2FFF6);
    cursor: pointer;
    background-color: var(--deep-green, #0A4B2C); /* Nền hơi khác cho summary */
    border-bottom: 1px solid var(--divider, #1E3A2A);
    list-style: none; /* Xóa dấu đầu dòng mặc định */
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none; /* Ẩn dấu đầu dòng mặc định cho trình duyệt webkit */
}

.page-fishing-games__faq-question {
    flex-grow: 1;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold, #F2C14E);
}

.page-fishing-games__faq-answer {
    padding: 20px;
    padding-top: 10px;
    color: var(--text-secondary, #A7D9B8);
    font-size: 1rem;
}

/* Conclusion Section */
.page-fishing-games__cta-bottom {
    text-align: center;
    margin-top: 40px;
}

.page-fishing-games__cta-bottom .page-fishing-games__btn-primary {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        padding: 30px 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    .page-fishing-games__section-title {
        font-size: 2rem;
    }
    .page-fishing-games__sub-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__hero-section {
        min-height: 400px;
        padding: 40px 0 10px; /* Điều chỉnh padding cho di động */
    }
    .page-fishing-games__hero-content {
        padding: 20px 10px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-fishing-games__description {
        font-size: 1rem;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-fishing-games__sub-title {
        font-size: 1.4rem;
    }
    .page-fishing-games__game-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__game-card .page-fishing-games__btn-primary {
        width: calc(100% - 30px);
    }
    .page-fishing-games__benefits-list {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__benefit-item {
        padding: 20px;
    }
    .page-fishing-games__benefit-title {
        font-size: 1.2rem;
    }
    .page-fishing-games__faq-item summary {
        font-size: 1rem;
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 15px;
        padding-top: 5px;
    }
    .page-fishing-games__cta-bottom .page-fishing-games__btn-primary {
        font-size: 1.1rem;
        padding: 15px 30px;
    }

    /* Enforce image and video responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games video {
        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__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .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;
        overflow: hidden !important;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
    }
    .page-fishing-games__video-section {
        padding-top: 10px !important;
    }
    /* Nếu có nhiều nút nằm ngang, hãy làm cho chúng xuống dòng hoặc xếp chồng */
    .page-fishing-games__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}