/* style/fishing-games.css */

/* Variables */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --dark-bg-color: #0a0a0a;
    --text-light: #ffffff;
    --text-dark: #333333;
    --button-register-login-bg: #C30808;
    --button-register-login-text: #FFFF00;
}

.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--dark-bg-color); /* Inherited from body, but good to define for scope */
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__link-inline {
    color: var(--button-register-login-text); /* Ensure good contrast on dark background */
    text-decoration: underline;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-register,
.page-fishing-games a[class*="button"],
.page-fishing-games a[class*="btn"] {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box;
    max-width: 100%;
}

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

.page-fishing-games__btn-primary:hover {
    background-color: #005a2e; /* Darken primary color */
    border-color: #005a2e;
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005a2e; /* Darken primary color */
    border-color: #005a2e;
}

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

.page-fishing-games__btn-register:hover {
    background-color: #a30606; /* Darken register color */
    border-color: #a30606;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-fishing-games__hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-fishing-games__hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Darken video for text readability */
    /* NO filter: invert(), sepia(), hue-rotate(), saturate() */
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
    z-index: 2;
}

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

.page-fishing-games__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.page-fishing-games__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-fishing-games__image-content {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    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: #1a1a1a; /* Slightly lighter dark background */
    color: var(--text-light);
}

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

.page-fishing-games__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Translucent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    /* NO filter: invert(), sepia(), hue-rotate(), saturate() */
}

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

.page-fishing-games__card-description {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
}

/* How To Play Section */
.page-fishing-games__how-to-play-section {
    padding: 80px 0;
    background-color: var(--dark-bg-color);
    color: var(--text-light);
}

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

.page-fishing-games__step-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--primary-color);
}

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

.page-fishing-games__step-item p {
    color: rgba(255, 255, 255, 0.8);
}

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

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

.page-fishing-games__promo-cards-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.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__promo-card .page-fishing-games__card-image {
    margin-bottom: 20px;
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__promo-card .page-fishing-games__card-description {
    flex-grow: 1;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

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

/* Mobile App Section */
.page-fishing-games__mobile-app-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: var(--text-light);
}

.page-fishing-games__mobile-app-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-fishing-games__mobile-text-wrapper {
    flex: 1;
}

.page-fishing-games__image-mobile {
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    /* NO filter: invert(), sepia(), hue-rotate(), saturate() */
}

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

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    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-question h3 {
    font-size: 1.2em;
    color: var(--secondary-color);
    margin: 0;
}

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

.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: rgba(255, 255, 255, 0.7);
}

.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__cta-final-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

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

.page-fishing-games__cta-final-section .page-fishing-games__text-block {
    color: rgba(255, 255, 255, 0.9);
}

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

/* Image styling for content area - ensure minimum size */
.page-fishing-games__image-content,
.page-fishing-games__card-image,
.page-fishing-games__image-mobile {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.3em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__mobile-app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-fishing-games__image-mobile {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        height: 80vh; /* Adjust hero height for mobile */
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header */
    }

    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }

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

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-register,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__cta-buttons,
    .page-fishing-games__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
    }

    .page-fishing-games__text-block {
        font-size: 1em;
        text-align: left;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promo-cards-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile image/video responsive rules */
    .page-fishing-games img {
        max-width: 100% !important;
        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__hero-video-wrapper,
    .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;
    }

    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__mobile-app-content,
    .page-fishing-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-fishing-games__image-content,
    .page-fishing-games__card-image,
    .page-fishing-games__image-mobile {
        min-width: unset; /* Allow smaller images on mobile if needed, but still >200px from global rule */
        min-height: unset;
    }

    .page-fishing-games__mobile-app-content {
        flex-direction: column;
    }
    .page-fishing-games__mobile-text-wrapper {
        text-align: center;
    }
}