/* style/fishing-games.css */

/* Custom Colors */
:root {
    --hb88-primary: #11A84E;
    --hb88-secondary: #22C768;
    --hb88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --hb88-card-bg: #11271B;
    --hb88-background: #08160F;
    --hb88-text-main: #F2FFF6;
    --hb88-text-secondary: #A7D9B8;
    --hb88-border: #2E7A4E;
    --hb88-glow: #57E38D;
    --hb88-gold: #F2C14E;
    --hb88-divider: #1E3A2A;
    --hb88-deep-green: #0A4B2C;
}

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

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

.page-fishing-games__section-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-fishing-games__section-title {
    font-size: clamp(28px, 3.5vw, 48px); /* H1 size constraint */
    color: var(--hb88-gold);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 10px 20px 60px; /* Small top padding */
    box-sizing: border-box;
    overflow: hidden;
    background-color: var(--hb88-deep-green);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    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;
    border-radius: 10px;
}

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1; /* Ensure content is above any background elements */
}

.page-fishing-games__main-title {
    font-size: clamp(32px, 5vw, 60px); /* H1 size constraint */
    color: var(--hb88-gold);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.page-fishing-games__description {
    font-size: 20px;
    color: var(--hb88-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.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-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background: var(--hb88-button-gradient);
    color: var(--hb88-text-main);
    border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(42, 209, 111, 0.3);
}

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

.page-fishing-games__btn-secondary:hover {
    background: var(--hb88-gold);
    color: var(--hb88-background);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(242, 193, 78, 0.3);
}

/* Video Section */
.page-fishing-games__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding */
    box-sizing: border-box;
    background-color: var(--hb88-background);
}

.page-fishing-games__video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    width: 100%; /* Desktop width: 100% */
    max-width: 100%;
}

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

/* General Content Sections */
.page-fishing-games__introduction,
.page-fishing-games__features,
.page-fishing-games__download-guide,
.page-fishing-games__game-showcase,
.page-fishing-games__tips,
.page-fishing-games__promotions,
.page-fishing-games__faq,
.page-fishing-games__final-cta {
    padding: 60px 0;
    background-color: var(--hb88-background);
}

.page-fishing-games__introduction p,
.page-fishing-games__tips-list li,
.page-fishing-games__faq-answer p {
    font-size: 17px;
    color: var(--hb88-text-secondary);
    margin-bottom: 15px;
}

.page-fishing-games__introduction p strong,
.page-fishing-games__tips-list li strong {
    color: var(--hb88-text-main);
}

.page-fishing-games__introduction a {
    color: var(--hb88-gold);
    text-decoration: underline;
}

.page-fishing-games__introduction a:hover {
    color: var(--hb88-secondary);
}

/* Feature Cards / Game Cards / Promo Cards / Step Cards */
.page-fishing-games__features-grid,
.page-fishing-games__steps-grid,
.page-fishing-games__games-grid,
.page-fishing-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__card {
    background-color: var(--hb88-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--hb88-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__feature-image,
.page-fishing-games__step-image,
.page-fishing-games__game-image,
.page-fishing-games__promo-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Enforce minimum image size */
}

.page-fishing-games__card-title {
    font-size: 24px;
    color: var(--hb88-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-fishing-games__card p {
    font-size: 16px;
    color: var(--hb88-text-secondary);
}

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

/* Tips List */
.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__tips-list li {
    background-color: var(--hb88-card-bg);
    border: 1px solid var(--hb88-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--hb88-text-secondary);
    font-size: 17px;
    position: relative;
}

.page-fishing-games__tips-list li::before {
    content: '✓';
    color: var(--hb88-gold);
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
}

.page-fishing-games__promotion-note {
    text-align: center;
    font-size: 16px;
    color: var(--hb88-text-secondary);
    margin-top: 40px;
}

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

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

.page-fishing-games__faq-item[open] {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 700;
    color: var(--hb88-text-main);
    cursor: pointer;
    background-color: var(--hb88-card-bg);
    border-bottom: 1px solid var(--hb88-divider);
    list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    color: var(--hb88-gold);
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: var(--hb88-secondary);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: 1px solid var(--hb88-border);
}

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 16px;
    color: var(--hb88-text-secondary);
    line-height: 1.6;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 0; /* Remove default paragraph margin in FAQ answer */
}

/* Final CTA Section */
.page-fishing-games__final-cta {
    text-align: center;
    padding-bottom: 80px;
}

.page-fishing-games__final-cta .page-fishing-games__description {
    font-size: 22px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__content-area {
        padding: 30px 15px;
    }

    .page-fishing-games__section-title {
        font-size: clamp(24px, 4vw, 40px);
    }

    .page-fishing-games__description {
        font-size: 18px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
        min-width: 180px;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .page-fishing-games__card-title {
        font-size: 22px;
    }
}

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

    .page-fishing-games__hero-section {
        min-height: auto;
        padding: 10px 15px 40px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(28px, 8vw, 45px);
    }

    .page-fishing-games__description {
        font-size: 16px;
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        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;
        min-width: unset;
    }

    /* Video Section Mobile */
    .page-fishing-games__video-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .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;
        padding-left: 0;
        padding-right: 0;
    }

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

    /* Image Responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__features-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__promo-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden;
    }

    .page-fishing-games__card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .page-fishing-games__tips-list li {
        padding: 15px;
        font-size: 16px;
    }

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

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

    .page-fishing-games__final-cta .page-fishing-games__description {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: clamp(24px, 7vw, 36px);
    }

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

    .page-fishing-games__cta-buttons {
        gap: 10px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 15px;
    }
}