/* style/fishing-games.css */

/* Custom Colors */
:root {
    --page-fishing-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-fishing-games-card-bg: #11271B;
    --page-fishing-games-background: #08160F;
    --page-fishing-games-text-main: #F2FFF6;
    --page-fishing-games-text-secondary: #A7D9B8;
    --page-fishing-games-border: #2E7A4E;
    --page-fishing-games-glow: #57E38D;
    --page-fishing-games-gold: #F2C14E;
    --page-fishing-games-divider: #1E3A2A;
    --page-fishing-games-deep-green: #0A4B2C;
    --mm8822-primary-color: #11A84E; /* Main brand color */
    --mm8822-secondary-color: #22C768; /* Auxiliary brand color */
}

/* Base styles for the page content */
.page-fishing-games {
    background-color: var(--page-fishing-games-background);
    color: var(--page-fishing-games-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--page-fishing-games-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(180deg, var(--page-fishing-games-deep-green) 0%, var(--page-fishing-games-background) 100%);
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
    color: var(--page-fishing-games-text-main);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 255, 246, 0.7);
}

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

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width for wrapping */
    box-sizing: border-box;
}

/* Buttons */
.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: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure button doesn't exceed container */
    box-sizing: border-box;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--page-fishing-games-button-gradient);
    color: var(--page-fishing-games-text-main);
    border: none;
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

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

.page-fishing-games__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background-color: rgba(242, 193, 78, 0.1);
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 60px 0;
    background-color: var(--page-fishing-games-background);
}

.page-fishing-games__intro-section p {
    color: var(--page-fishing-games-text-secondary);
    font-size: 1.05em;
    margin-bottom: 20px;
}

.page-fishing-games__image-text-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.page-fishing-games__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 60px 0;
    background-color: var(--page-fishing-games-deep-green);
}

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

.page-fishing-games__feature-card.page-fishing-games__card {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-card.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__feature-card p {
    color: var(--page-fishing-games-text-secondary);
    font-size: 0.95em;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    padding: 60px 0;
    background-color: var(--page-fishing-games-background);
}

.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.page-fishing-games__step-item {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__step-item p {
    color: var(--page-fishing-games-text-secondary);
    margin-bottom: 20px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 0;
    background-color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__promotions-section p {
    color: var(--page-fishing-games-text-secondary);
    text-align: center;
    margin-bottom: 40px;
}

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

.page-fishing-games__promo-card.page-fishing-games__card {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__promo-image {
    width: 100%;
    height: auto;
    max-width: 600px; /* Max width for promo image */
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it's a block element */
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
    color: var(--page-fishing-games-gold);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-fishing-games__promo-card p {
    color: var(--page-fishing-games-text-secondary);
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow paragraph to grow */
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary {
    margin-top: auto; /* Push button to the bottom */
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    padding: 60px 0;
    background-color: var(--page-fishing-games-background);
}

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

.page-fishing-games__reason-card.page-fishing-games__card {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__reason-card p {
    color: var(--page-fishing-games-text-secondary);
    font-size: 0.95em;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-fishing-games__faq-item.page-fishing-games__card {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden; /* For details tag */
}

.page-fishing-games__faq-item summary {
    list-style: none; /* Remove default marker */
    cursor: pointer;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--page-fishing-games-text-main);
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-item summary:hover {
    background-color: rgba(var(--page-fishing-games-deep-green), 0.5); /* Lighter hover for dark background */
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    color: var(--page-fishing-games-gold);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    margin-left: 20px;
    color: var(--page-fishing-games-gold);
}

.page-fishing-games__faq-answer {
    padding: 0 30px 20px;
    color: var(--page-fishing-games-text-secondary);
    font-size: 0.95em;
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(0deg, var(--page-fishing-games-deep-green) 0%, var(--page-fishing-games-background) 100%);
}

.page-fishing-games__cta-bottom-content {
    max-width: 800px;
}

.page-fishing-games__cta-bottom-section p {
    color: var(--page-fishing-games-text-secondary);
    font-size: 1.1em;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (min-width: 769px) {
    .page-fishing-games__image-text-block {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    .page-fishing-games__image-text-block p {
        flex: 1;
        padding-left: 30px;
    }
    .page-fishing-games__step-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

    .page-fishing-games__main-title {
        font-size: 2em;
    }

    .page-fishing-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset, this is for decorative top padding */
    }
    
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto; /* Center buttons */
    }

    /* All images must be responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All content containers must be responsive */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-bottom-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-fishing-games__image-text-block {
        flex-direction: column;
        gap: 20px;
    }
    .page-fishing-games__image-text-block p {
        padding-left: 0;
    }
    
    .page-fishing-games__promo-cards,
    .page-fishing-games__feature-grid,
    .page-fishing-games__reason-grid {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
    }
}

/* Ensure no image filters are used */
.page-fishing-games img {
    filter: none !important;
}

/* Content area images min display size */
.page-fishing-games__content-area img,
.page-fishing-games__promo-image {
    min-width: 200px;
    min-height: 200px;
}