/* style/fishing-games.css */
/* body đã padding-top: var(--header-offset)；trang này không được viết lại biến đó */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF3E6; /* Text Main */
    background-color: #0D0E12; /* Background */
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFB04D; /* Glow */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-fishing-games__sub-title {
    font-size: 1.8em;
    color: #FFA53A; /* Auxiliary */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #FFF3E6; /* Text Main */
}

.page-fishing-games__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-fishing-games__list-item {
    margin-bottom: 10px;
    color: #FFF3E6; /* Text Main */
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    max-width: 100%; /* For responsiveness */
    box-sizing: border-box; /* For responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #FFF3E6; /* Text Main */
    border: none;
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background: #17191F; /* Card BG */
    color: #FFA53A; /* Auxiliary */
    border: 2px solid #FFA53A; /* Auxiliary */
    margin-left: 15px;
}

.page-fishing-games__btn-secondary:hover {
    background: #FFA53A;
    color: #17191F;
}

.page-fishing-games__btn-tertiary {
    background: #A84F0C; /* Border */
    color: #FFF3E6; /* Text Main */
    border: none;
    margin-top: 15px;
}

.page-fishing-games__btn-tertiary:hover {
    background: #D96800; /* Deep Orange */
}

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

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

.page-fishing-games__btn-center {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
    margin-top: 30px;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 60px;
    overflow: hidden;
    background-color: #0D0E12; /* Background */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit height to prevent image being too tall */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-fishing-games__hero-content {
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.page-fishing-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    color: #FFB04D; /* Glow */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-fishing-games__intro-text {
    font-size: 1.2em;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 30px;
}

/* About Section */
.page-fishing-games__about-section {
    padding: 80px 0;
    background-color: #0D0E12; /* Background */
}

.page-fishing-games__dark-section {
    background-color: #17191F; /* Card BG, a darker shade for contrast */
    padding: 80px 0;
}

.page-fishing-games__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 80px 0;
    background-color: #0D0E12; /* Background */
}

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

.page-fishing-games__feature-card.page-fishing-games__card {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.page-fishing-games__feature-card.page-fishing-games__card:hover {
    transform: translateY(-5px);
}

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

.page-fishing-games__card-title {
    font-size: 1.4em;
    color: #FFA53A; /* Auxiliary */
    margin-bottom: 10px;
}

.page-fishing-games__card-text {
    font-size: 1em;
    color: #FFF3E6; /* Text Main */
}

/* Gameplay Guide Section */
.page-fishing-games__gameplay-guide {
    padding: 80px 0;
}

.page-fishing-games__guide-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-fishing-games__guide-text {
    flex: 1;
}

.page-fishing-games__guide-video-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background-color: #000;
}

.page-fishing-games__game-trial-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.page-fishing-games__video-caption {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9em;
    color: #FFF3E6; /* Text Main */
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    background-color: #0D0E12; /* Background */
}

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

.page-fishing-games__promo-card.page-fishing-games__card {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.page-fishing-games__promo-card.page-fishing-games__card:hover {
    transform: translateY(-5px);
}

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

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

.page-fishing-games__faq-item {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFA53A; /* Auxiliary */
    cursor: pointer;
    background-color: #17191F; /* Card BG */
    border-bottom: 1px solid transparent;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom-color: #A84F0C; /* Border */
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #FFA53A; /* Auxiliary */
    margin-left: 15px;
}

.page-fishing-games__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1.1em;
    color: #FFF3E6; /* Text Main */
}

/* Contact CTA Section */
.page-fishing-games__contact-cta {
    padding: 80px 0;
    text-align: center;
    background-color: #0D0E12; /* Background */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        padding: 0 30px;
    }
    .page-fishing-games__guide-content {
        flex-direction: column;
        align-items: center;
    }
    .page-fishing-games__guide-text,
    .page-fishing-games__guide-video-wrapper {
        width: 100%;
    }
}

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

    .page-fishing-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }

    .page-fishing-games__intro-text {
        font-size: 1.1em;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-tertiary {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 10px 20px;
    }

    .page-fishing-games__hero-section,
    .page-fishing-games__about-section,
    .page-fishing-games__features-section,
    .page-fishing-games__gameplay-guide,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__contact-cta {
        padding: 40px 0;
    }

    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 20px;
    }

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

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

    .page-fishing-games__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; /* Allow height to adjust */
        min-height: 200px; /* Ensure minimum size */
    }

    .page-fishing-games__video-responsive {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    }
    
    .page-fishing-games__game-trial-frame {
        max-width: 100% !important;
        width: 100% !important;
        height: 100% !important;
    }

    .page-fishing-games__video-section {
        padding-top: 10px !important;
    }
    /* Ensure all images and video containers are responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .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;
        overflow: hidden !important;
    }
    /* Buttons containers in mobile */
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        flex-direction: column !important;
        gap: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Color contrast fixes */
.page-fishing-games__dark-bg {
    color: #ffffff; /* Deep orange background with white text */
    background: #FF8C1A;
}

.page-fishing-games__light-bg {
    color: #333333; /* White background with dark text */
    background: #ffffff;
}