/* style/fishing-games.css */

/* Base Styles for the Fishing Games Page */
.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 is handled by shared.css */
}

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

.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #FFD700; /* Gold for titles */
    font-weight: bold;
}

.page-fishing-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Slightly off-white for body text */
}

/* Color Contrast Specifics */
.page-fishing-games__dark-bg {
    background-color: #0A2463; /* Main brand blue */
    color: #ffffff;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-link {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure responsiveness */
}

.page-fishing-games__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #0A2463; /* Dark blue text on gold */
    border: 2px solid #FFD700;
}

.page-fishing-games__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #FFD700;
    color: #0A2463;
    transform: translateY(-2px);
}

.page-fishing-games__btn-link {
    color: #FFD700;
    border: none;
    padding: 0;
    margin: 0;
    text-decoration: underline;
}

.page-fishing-games__btn-link:hover {
    color: #e6c200;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding: 120px 0 60px; /* Default desktop padding, header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 600px;
}
.page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px);
}


.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 40px;
    background-color: rgba(0, 0, 0, 0.4); /* Slightly darken content background for text readability over video */
    padding: 30px;
    border-radius: 10px;
}

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

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

/* About Section */
.page-fishing-games__about-section .page-fishing-games__section-title {
    color: #0A2463;
}
.page-fishing-games__about-section .page-fishing-games__paragraph {
    color: #333333;
}

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

.page-fishing-games__feature-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-fishing-games__feature-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section .page-fishing-games__section-title {
    color: #0A2463;
}
.page-fishing-games__how-to-play-section .page-fishing-games__paragraph {
    color: #333333;
}

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

.page-fishing-games__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
}

.page-fishing-games__step-title {
    font-size: 1.4em;
    color: #0A2463;
    margin-bottom: 15px;
}

.page-fishing-games__step-item a {
    color: #0A2463;
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__step-item a:hover {
    text-decoration: underline;
}

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

.page-fishing-games__promotion-card {
    background-color: rgba(255, 255, 255, 0.1);;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-fishing-games__promotion-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__promotion-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

/* Security Section */
.page-fishing-games__security-section .page-fishing-games__section-title {
    color: #0A2463;
}
.page-fishing-games__security-section .page-fishing-games__paragraph {
    color: #333333;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-title {
    font-size: 1.2em;
    color: #FFD700;
    margin: 0;
}

.page-fishing-games__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFD700;
    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-out, padding 0.3s ease-out;
}

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

.page-fishing-games__faq-answer .page-fishing-games__paragraph {
    color: #f0f0f0;
    margin-bottom: 0;
}

.page-fishing-games__faq-answer a {
    color: #FFD700;
    text-decoration: underline;
}

.page-fishing-games__faq-answer a:hover {
    color: #e6c200;
}

/* CTA Section */
.page-fishing-games__cta-section {
    padding-bottom: 80px;
}
.page-fishing-games__cta-button {
    margin-top: 20px;
    font-size: 1.2em;
    padding: 18px 40px;
}

/* Global Image and Video Styling for Responsiveness and Size */
.page-fishing-games img,
.page-fishing-games video {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 20px auto; /* Center images/videos */
}

/* Specific image sizes for HTML width/height attributes, these are display sizes, not generation sizes */
.page-fishing-games__hero-image {
    width: 100%; /* Will be covered by object-fit: cover for hero */
    height: 100%; /* Will be covered by object-fit: cover for hero */
}
.page-fishing-games__content-image {
    max-width: 800px; /* Example max width for content images */
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .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__section {
        padding: 40px 0;
    }

    .page-fishing-games__container {
        padding: 0 15px; /* Add padding to prevent content overflow */
    }

    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
        min-height: 400px;
    }

    .page-fishing-games__hero-content {
      padding: 20px;
    }

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

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

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

    .page-fishing-games__feature-grid,
    .page-fishing-games__step-by-step,
    .page-fishing-games__promotion-grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
    }

    .page-fishing-games__faq-question,
    .page-fishing-games__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile specific image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    /* Mobile specific video responsiveness */
    .page-fishing-games video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* Mobile specific button responsiveness */
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        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__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-fishing-games__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    /* Ensure content containers also respect max-width */
    .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 handled by .page-fishing-games__container for general sections */
    }

    .page-fishing-games__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Redundant if hero has it, but safe */
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Content area image minimum size check (CSS) */
    .page-fishing-games__content-area img,
    .page-fishing-games__feature-item img,
    .page-fishing-games__promotion-card img,
    .page-fishing-games__about-section img,
    .page-fishing-games__security-section img {
      min-width: 200px;
      min-height: 200px;
    }
}