/* style/fishing-games.css */

/* Custom Variables from provided color scheme */
:root {
    --page-fishing-games-primary: #11A84E;
    --page-fishing-games-secondary: #22C768;
    --page-fishing-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-fishing-games-card-bg: #11271B;
    --page-fishing-games-bg: #08160F; /* Main body background from custom colors */
    --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;
}

/* Base styles for the page content, ensuring contrast with dark body background */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--page-fishing-games-text-main); /* Light text for dark background */
    /* background-color: var(--page-fishing-games-bg); This will be handled by shared.css for body */
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden; /* Prevent horizontal scroll on desktop */
}

/* Section container for consistent padding and max-width */
.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section titles */
.page-fishing-games__section-title {
    font-size: clamp(2em, 5vw, 2.8em); /* Clamp for H2, H3 */
    color: var(--page-fishing-games-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.page-fishing-games__section-title--light {
    color: var(--page-fishing-games-text-main);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-fishing-games-deep-green); /* A slightly different dark background for the hero area */
    box-sizing: border-box;
}

.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: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 6vw, 3.2em); /* H1 clamp */
    color: var(--page-fishing-games-gold);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.page-fishing-games__description {
    font-size: 1.2em;
    color: var(--page-fishing-games-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure text breaks within button */
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--page-fishing-games-btn-gradient);
    color: var(--page-fishing-games-text-main); /* Light text on dark button */
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--page-fishing-games-gold);
    color: var(--page-fishing-games-bg); /* Dark text on gold hover */
    transform: translateY(-2px);
}

/* Generic Section Styling */
.page-fishing-games__section {
    padding: 80px 0;
    background-color: var(--page-fishing-games-bg);
    box-sizing: border-box;
}

/* Why Choose Section */
.page-fishing-games__why-choose {
    background-color: var(--page-fishing-games-deep-green);
}

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

.page-fishing-games__feature-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 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--page-fishing-games-text-main);
}

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

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

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

/* How To Play Section */
.page-fishing-games__how-to-play {
    background-color: var(--page-fishing-games-bg);
}

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

.page-fishing-games__step-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 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--page-fishing-games-text-main);
}

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

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

.page-fishing-games__step-text {
    font-size: 1em;
    color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__cta-center {
    text-align: center;
}

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

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

.page-fishing-games__promo-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 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--page-fishing-games-text-main);
}

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

.page-fishing-games__promo-title {
    font-size: 1.4em;
    color: var(--page-fishing-games-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-fishing-games__promo-text {
    font-size: 1em;
    color: var(--page-fishing-games-text-secondary);
    flex-grow: 1; /* Push button to bottom */
}

/* FAQ Section */
.page-fishing-games__faq {
    background-color: var(--page-fishing-games-bg);
}

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

.page-fishing-games__faq-item {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--page-fishing-games-gold);
    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-primary), 0.1);
}

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

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

.page-fishing-games__faq-answer p {
    margin-top: 0;
    margin-bottom: 10px;
}

/* Call to Action Final Section */
.page-fishing-games__call-to-action {
    background-color: var(--page-fishing-games-deep-green);
    text-align: center;
    padding: 80px 0;
}

.page-fishing-games__cta-final {
    max-width: 900px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-fishing-games__hero-section {
        padding: 40px 15px;
    }
    .page-fishing-games__section {
        padding: 60px 0;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2.2em, 5.5vw, 2.8em);
    }
    .page-fishing-games__description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 15px;
    }
    .page-fishing-games__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* Ensure small top padding on mobile */
    }
    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2em, 7vw, 2.5em);
    }
    .page-fishing-games__description {
        font-size: 1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Images responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure image containers do not overflow */
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__feature-card,
    .page-fishing-games__step-card,
    .page-fishing-games__promo-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__section {
        padding: 40px 0;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.8em, 6vw, 2.2em);
        margin-bottom: 30px;
    }
    
    .page-fishing-games__feature-image,
    .page-fishing-games__step-image,
    .page-fishing-games__promo-image {
        max-width: 80% !important; /* Allow images in cards to be slightly smaller than 100% width if needed for design */
        margin-left: auto;
        margin-right: auto;
    }

    /* FAQ adjustments */
    .page-fishing-games__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
    }
}