/* style/fishing-games.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --dark-background: #121212;
    --light-text: #FFFFFF;
    --dark-text: #333333;
    --register-login-button-bg: #C30808;
    --register-login-button-text: #FFFF00;
}

.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--light-text); /* Default text color for dark body background */
    background-color: var(--dark-background); /* Ensure consistent background for main content */
}

.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;
    text-align: center;
    margin-bottom: 40px;
    color: var(--light-text);
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    color: var(--light-text);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background-color: var(--dark-background);
}

.page-fishing-games__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-fishing-games__hero-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-fishing-games__hero-content {
    max-width: 900px;
    padding: 20px;
    z-index: 2;
    color: var(--light-text);
}

.page-fishing-games__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--light-text);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--light-text);
}

.page-fishing-games__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.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;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
}

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

.page-fishing-games__btn-primary:hover {
    background-color: #E01A1A;
    border-color: #E01A1A;
}

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

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

/* Introduction Section */
.page-fishing-games__introduction-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--dark-text);
}

.page-fishing-games__introduction-section .page-fishing-games__section-title,
.page-fishing-games__introduction-section .page-fishing-games__text-block {
    color: var(--dark-text);
}

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

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

.page-fishing-games__feature-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Games Showcase Section */
.page-fishing-games__games-showcase {
    padding: 80px 0;
    background-color: var(--dark-background);
    color: var(--light-text);
}

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.page-fishing-games__game-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-fishing-games__card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: var(--light-text);
}

.page-fishing-games__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-fishing-games__card-title a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__card-title a:hover {
    color: var(--primary-color);
}

.page-fishing-games__card-content p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__btn-play {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

.page-fishing-games__btn-play:hover {
    background-color: #00994C;
}

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--dark-text);
}

.page-fishing-games__guide-section .page-fishing-games__section-title,
.page-fishing-games__guide-section .page-fishing-games__text-block {
    color: var(--dark-text);
}

.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 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--dark-text);
}

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

.page-fishing-games__step-item p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__btn-action {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

.page-fishing-games__btn-action:hover {
    background-color: #00994C;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    background-color: var(--dark-background);
    color: var(--light-text);
}

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

.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__promo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-fishing-games__promo-title {
    font-size: 1.8em;
    margin: 20px 15px 10px;
    color: var(--primary-color);
}

.page-fishing-games__promo-card p {
    padding: 0 15px 20px;
    flex-grow: 1;
    color: var(--light-text);
}

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

/* Why Choose Us Section */
.page-fishing-games__why-choose-us {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--dark-text);
}

.page-fishing-games__why-choose-us .page-fishing-games__section-title,
.page-fishing-games__why-choose-us .page-fishing-games__text-block {
    color: var(--dark-text);
}

.page-fishing-games__advantage-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    color: var(--dark-text);
}

.page-fishing-games__advantage-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1em;
    background-color: var(--secondary-color);
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__list-icon {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-right: 15px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: var(--dark-background);
    color: var(--light-text);
}

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

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--light-text);
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--light-text);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
}

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

/* Final CTA Section */
.page-fishing-games__final-cta {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--dark-text);
    text-align: center;
}

.page-fishing-games__final-cta .page-fishing-games__section-title,
.page-fishing-games__final-cta .page-fishing-games__text-block {
    color: var(--dark-text);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 3em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-fishing-games__main-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-action,
    .page-fishing-games__btn-play {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__hero-content,
    .page-fishing-games__container,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__faq-item {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
    }

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

    .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__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;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-fishing-games__promo-title {
        font-size: 1.5em;
    }
    .page-fishing-games__feature-title {
        font-size: 1.3em;
    }
    .page-fishing-games__card-title {
        font-size: 1.5em;
    }
    .page-fishing-games__step-title {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 1.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.9em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__hero-section {
        min-height: 350px;
    }
}