:root {
    --primary-color: #11A84E; /* Main color */
    --secondary-color: #22C768; /* Auxiliary color */
    --text-main: #F2FFF6; /* Main text color */
    --text-secondary: #A7D9B8; /* Secondary text color */
    --background-dark: #08160F; /* Page background */
    --card-bg: #11271B; /* Card background */
    --border-color: #2E7A4E; /* Border color */
    --glow-color: #57E38D; /* Glow effect */
    --gold-color: #F2C14E; /* Gold accent */
    --divider-color: #1E3A2A; /* Divider color */
    --deep-green: #0A4B2C; /* Deep green */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for the page, ensuring contrast with dark background */
    background-color: var(--background-dark); /* Page background from custom palette */
    line-height: 1.6;
    font-size: 16px;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height of hero image */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and text content */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 400px; /* Ensure hero image is not too small */
}

.page-fishing-games__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    color: var(--gold-color); /* Gold color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Soft glow */
}

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

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    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: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap; /* Prevent text wrapping for desktop */
    box-sizing: border-box;
    min-width: 180px; /* Ensure buttons are not too small */
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(34, 199, 104, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--background-dark); /* Dark text on light background for hover */
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

/* General Section Styling */
.page-fishing-games__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--divider-color);
}

.page-fishing-games__section:last-of-type {
    border-bottom: none;
}

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-fishing-games__sub-title {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.page-fishing-games__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-fishing-games__list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.page-fishing-games__list li::before {
    content: '★'; /* Star bullet point */
    color: var(--gold-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

.page-fishing-games__list--promo li::before {
    content: '✅'; /* Checkmark for promotions */
    color: var(--secondary-color);
}

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

.page-fishing-games__grid--two-cols {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    align-items: center;
}

.page-fishing-games__grid--three-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-fishing-games__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-secondary); /* Ensuring text contrast on dark card background */
}

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

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Min size requirement */
    min-height: 200px;
}

.page-fishing-games__card-title {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__feature-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-secondary);
}

.page-fishing-games__feature-title {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__image-block {
    text-align: center;
}

.page-fishing-games__image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Min size requirement */
    min-height: 200px;
}

/* Promotions Section */
.page-fishing-games__cta-buttons--center {
    margin-top: 40px;
}

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

.page-fishing-games__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-secondary);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    background-color: var(--deep-green); /* Darker background for question */
    border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-fishing-games__faq-question::marker {
    display: none;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary);
}

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

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

.page-fishing-games__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-fishing-games__call-to-action .page-fishing-games__section-title {
    color: var(--text-main);
    margin-bottom: 25px;
}

.page-fishing-games__call-to-action p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-image-wrapper {
        max-height: 500px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }
    .page-fishing-games__grid--two-cols {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }
    .page-fishing-games__image-block {
        order: -1; /* Image above text on mobile for two-column grid */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 15px;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 350px;
        margin-bottom: 20px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-fishing-games__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .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;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__cta-buttons--center {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 30px;
    }
    .page-fishing-games__card {
        padding: 20px;
    }
    .page-fishing-games__card-image {
        height: 180px;
    }
    .page-fishing-games__card-title {
        font-size: 1.2rem;
    }
    .page-fishing-games__feature-card {
        padding: 20px;
    }
    .page-fishing-games__feature-title {
        font-size: 1.1rem;
    }
    .page-fishing-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image/video/container responsiveness - MUST HAVE !important */
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* No video element present, but keeping the rule for completeness if it were added */
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__video-section, /* Placeholder if video section is added */
    .page-fishing-games__video-container, /* Placeholder if video container is added */
    .page-fishing-games__video-wrapper, /* Placeholder if video wrapper is added */
    .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;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    /* Placeholder if video section is added */
    .page-fishing-games__video-section {
        padding-top: 10px !important;
    }

    /* Ensure button text wraps */
    .page-fishing-games__cta-button,
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
    }
}

/* Ensure content area images are at least 200px */
.page-fishing-games img:not(.page-fishing-games__hero-image) {
    min-width: 200px;
    min-height: 200px;
}

/* Custom colors for feature cards */
.page-fishing-games__feature-card {
    background-color: var(--card-bg);
    color: var(--text-secondary);
}

.page-fishing-games__feature-card .page-fishing-games__feature-title {
    color: var(--text-main);
}

/* Call to action uses deep green background */
.page-fishing-games__call-to-action {
    background-color: var(--deep-green);
}

/* FAQ question background */
.page-fishing-games__faq-question {
    background-color: var(--deep-green);
}