/* style/fishing-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --dark-background: #1a1a1a;
    --light-text: #ffffff;
    --dark-text: #333333;
    --button-register: #C30808;
    --button-login: #C30808;
    --button-text-yellow: #FFFF00;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--light-text); /* Default text color for dark body background */
    background-color: var(--dark-background); /* Inherited from body */
}

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
    text-align: center;
    overflow: hidden;
    min-height: 600px;
    background-color: var(--primary-color); /* Brand color background for hero */
    color: var(--light-text);
}

.page-fishing-games__hero-content {
    max-width: 900px;
    margin-bottom: 40px;
    z-index: 1;
}

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

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

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 800px;
    margin-top: 40px;
    z-index: 0;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__section-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: var(--light-text);
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
    color: var(--light-text);
}

.page-fishing-games__features-section,
.page-fishing-games__tips-section,
.page-fishing-games__video-section {
    padding: 80px 20px;
    background-color: var(--secondary-color);
    color: var(--dark-text);
}

.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
    padding: 80px 20px;
    background-color: var(--dark-background);
    color: var(--light-text);
}

/* Ensure titles in dark sections are light, and in light sections are dark */
.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__section-description,
.page-fishing-games__dark-bg .page-fishing-games__feature-title,
.page-fishing-games__dark-bg .page-fishing-games__promo-title,
.page-fishing-games__dark-bg h3 {
    color: var(--light-text);
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__section-description,
.page-fishing-games__light-bg .page-fishing-games__feature-title,
.page-fishing-games__light-bg .page-fishing-games__promo-title,
.page-fishing-games__light-bg h3 {
    color: var(--dark-text);
}

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

.page-fishing-games__feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--secondary-color);
    color: var(--dark-text);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-icon {
    width: 250px; /* Min size 200px */
    height: 187px; /* Maintain aspect ratio */
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-fishing-games__feature-description {
    font-size: 1em;
    line-height: 1.6;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.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;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background-color: var(--button-register);
    color: var(--button-text-yellow); /* Using specified yellow text for register/login buttons */
    border: 2px solid var(--button-register);
}

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--light-text); /* Ensure contrast on dark background */
    border: 2px solid var(--light-text);
}

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

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-fishing-games__steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-fishing-games__step-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    color: var(--light-text);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__step-card p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-fishing-games__step-image {
    width: 300px; /* Example size, min 200px */
    height: 225px;
    border-radius: 8px;
    margin-top: 20px;
}

.page-fishing-games__tips-list {
    max-width: 900px;
    margin: 0 auto 40px auto;
    list-style: disc inside;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--dark-text);
}

.page-fishing-games__tips-list li {
    margin-bottom: 10px;
}

.page-fishing-games__tips-list strong {
    color: var(--primary-color);
}

.page-fishing-games__tips-image {
    display: block;
    margin: 0 auto;
    width: 600px; /* Example size, min 200px */
    height: 450px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-fishing-games__promo-card {
    padding: 30px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    color: var(--light-text);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

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

.page-fishing-games__promo-description {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__video-cta {
    margin-top: 0;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    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;
    margin-left: 15px;
    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 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

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

.page-fishing-games__faq-answer p {
    font-size: 1em;
    line-height: 1.6;
    color: var(--light-text);
}

/* General Content Area Styling */
.page-fishing-games__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Text color adjustments for light backgrounds */
.page-fishing-games__light-bg p,
.page-fishing-games__light-bg li,
.page-fishing-games__light-bg h1,
.page-fishing-games__light-bg h2,
.page-fishing-games__light-bg h3,
.page-fishing-games__light-bg h4 {
    color: var(--dark-text);
}

.page-fishing-games__dark-bg p,
.page-fishing-games__dark-bg li,
.page-fishing-games__dark-bg h1,
.page-fishing-games__dark-bg h2,
.page-fishing-games__dark-bg h3,
.page-fishing-games__dark-bg h4 {
    color: var(--light-text);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__section-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-image-wrapper {
        max-width: 600px;
    }
    .page-fishing-games__tips-image {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure space below fixed header on mobile */
    }
    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__section-description {
        font-size: 0.95em;
        margin-bottom: 40px;
    }
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__video-section,
    .page-fishing-games__faq-section {
        padding: 60px 15px;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__steps-container,
    .page-fishing-games__promotions-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__step-card,
    .page-fishing-games__promo-card {
        padding: 20px;
    }
    .page-fishing-games__feature-icon,
    .page-fishing-games__step-image {
        width: 100%;
        height: auto;
        max-width: 300px; /* Still adhere to min 200px visual size */
    }
    .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;
    }
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px 20px;
    }
    /* Global image and container responsive rules for mobile */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 2em;
    }
    .page-fishing-games__section-title {
        font-size: 1.6em;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 1em;
        padding: 12px 20px;
    }
}