/* style/fishing-games.css */

/* Biến màu sắc */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-button-color: #EA7C07;
    --background-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --black: #000000;
}

/* Base styles for the page content */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark); /* Body background is light, so use dark text */
    background-color: var(--background-color);
}

.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: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* 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;
    padding: 10px 0 60px 0;
    overflow: hidden;
    box-sizing: border-box;
}

.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;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
    border-radius: 10px;
    margin-top: 20px; /* Space from top */
}

.page-fishing-games__main-title {
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.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: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Section backgrounds */
.page-fishing-games__dark-section {
    background-color: #1a1a1a;
    color: var(--text-light);
}

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

.page-fishing-games__overview-section,
.page-fishing-games__guide-section,
.page-fishing-games__advantages-section,
.page-fishing-games__faq-section {
    padding: 60px 0;
}

.page-fishing-games__game-types-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-fishing-games__game-types-section .page-fishing-games__section-title {
    color: var(--text-light);
}

.page-fishing-games__strategy-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-fishing-games__strategy-section .page-fishing-games__section-title {
    color: var(--text-light);
}

.page-fishing-games__cta-final-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

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

.page-fishing-games__game-card {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 20px;
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    padding: 0 15px;
}

.page-fishing-games__card-description {
    font-size: 1em;
    line-height: 1.6;
    padding: 0 15px;
}

/* Guide Steps */
.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.page-fishing-games__step-title {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__step-item p {
    font-size: 1em;
    line-height: 1.6;
}

.page-fishing-games__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Strategy List */
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__strategy-list li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-light);
}

.page-fishing-games__strategy-list li strong {
    color: var(--secondary-color);
}

/* Advantages List */
.page-fishing-games__advantage-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-fishing-games__advantage-list li {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-dark);
    position: relative;
    padding-left: 45px;
}

.page-fishing-games__advantage-list li::before {
    content: '✅';
    position: absolute;
    left: 15px;
    top: 20px;
    font-size: 1.2em;
}

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

.page-fishing-games__faq-item {
    background-color: var(--secondary-color);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    list-style: none; /* For <details> summary */
}

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-fishing-games__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 0 15px;
    }

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

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

    .page-fishing-games__hero-description {
        font-size: 1em;
    }

    .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: 1em;
        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: 2em;
        margin-bottom: 30px;
    }

    .page-fishing-games__overview-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__advantages-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final-section {
        padding: 40px 0;
    }

    .page-fishing-games__game-list,
    .page-fishing-games__guide-steps,
    .page-fishing-games__advantage-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card-image {
        height: 180px;
    }

    /* Images and Videos Responsive */
    .page-fishing-games img,
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games__hero-section,
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body has header offset, this is for decor */
    }

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

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