/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand primary color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    color: #f0f0f0; /* Slightly lighter white for descriptions on dark bg */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-fishing-games__content-paragraph {
    font-size: 1em;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: justify;
}

/* Colors based on body background and brand colors */
.page-fishing-games__dark-bg {
    background-color: rgba(38, 169, 224, 0.1); /* Slightly transparent brand color for dark sections */
    color: #ffffff;
}

.page-fishing-games__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light sections */
}

.page-fishing-games__light-bg .page-fishing-games__section-description,
.page-fishing-games__light-bg .page-fishing-games__content-paragraph {
    color: #555555;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: #26A9E0;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    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;
    text-align: center;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    margin-left: 15px;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
    overflow: hidden;
    padding-top: 0; /* Assuming shared.css handles body padding-top */
    padding-bottom: 60px;
}

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

.page-fishing-games__hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken video for text readability */
    cursor: pointer;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
    border-radius: 10px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

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

/* Image Wrapper */
.page-fishing-games__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-fishing-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff; /* White text for cards on dark bg */
}

.page-fishing-games__light-bg .page-fishing-games__card {
    background-color: #f8f8f8;
    color: #333333; /* Dark text for cards on light bg */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-fishing-games__card-text {
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Features Section */
.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-item {
    background-color: #f8f8f8; /* Light background for features on light bg */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-fishing-games__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-fishing-games__feature-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-fishing-games__feature-text {
    font-size: 0.95em;
}

/* How-To-Play Section */
.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__step-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-fishing-games__step-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Promotions Section - uses card styling */
.page-fishing-games__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-item[open] {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    list-style: none; /* Remove default summary marker */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    color: #ffffff; /* White text for question */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-qtext {
    color: #26A9E0; /* Brand color when open */
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
}

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #f0f0f0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-fishing-games__faq-item:last-child .page-fishing-games__faq-question {
    border-bottom: none;
}

/* CTA Section */
.page-fishing-games__cta-section {
    text-align: center;
    padding-bottom: 80px;
}

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

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

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 30px 15px;
    }

    .page-fishing-games__hero-section {
        min-height: 60vh;
        padding-bottom: 40px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }

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

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

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        padding: 15px 20px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-fishing-games__hero-content {
        padding: 15px;
    }

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

    .page-fishing-games__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-fishing-games__game-cards,
    .page-fishing-games__features-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card,
    .page-fishing-games__feature-item,
    .page-fishing-games__step-item {
        padding: 20px;
    }

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