/* Variables for colors */
:root {
    --page-fishing-games-primary: #11A84E;
    --page-fishing-games-secondary: #22C768;
    --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;
    --page-fishing-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    /* --header-offset is assumed to be defined in shared.css and applied to body */
}

.page-fishing-games {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    color: var(--page-fishing-games-text-main);
    background-color: var(--page-fishing-games-background);
    padding-top: 10px; /* Small top padding for the first section */
}

.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding-bottom: 40px;
}

.page-fishing-games__hero-banner {
    width: 100%;
    margin: 0;
    overflow: hidden;
    position: relative;
    z-index: 1; 
}

.page-fishing-games__hero-banner img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 5; /* For 1920x600 */
    object-fit: cover;
    object-position: center;
    filter: none; /* No image filters */
}

.page-fishing-games__hero-content {
    text-align: center;
    padding: 20px 15px 0; /* Adjust padding to separate from image */
    max-width: 900px;
    margin-top: 20px; /* Space between image and content */
    z-index: 2;
}

.page-fishing-games__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--page-fishing-games-gold);
    margin-bottom: 15px;
    font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* Responsive font size */
}

.page-fishing-games__description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--page-fishing-games-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styling */
.page-fishing-games__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--page-fishing-games-gold);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--page-fishing-games-primary);
    border-radius: 2px;
}

/* CTA Buttons */
.page-fishing-games__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    background: var(--page-fishing-games-button-gradient);
    color: var(--page-fishing-games-text-main);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button--secondary {
    background: var(--page-fishing-games-gold);
    color: var(--page-fishing-games-background);
}

.page-fishing-games__cta-button--tertiary {
    background: var(--page-fishing-games-deep-green);
    color: var(--page-fishing-games-text-main);
}

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

.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: var(--page-fishing-games-background);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-fishing-games-border);
}

.page-fishing-games__feature-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
    filter: none; /* No image filters */
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
    width: 100%; /* For responsive scaling */
    aspect-ratio: 4 / 3; /* Example for 800x600, 400x300 */
    object-fit: cover;
}

.page-fishing-games__feature-title {
    font-size: 1.3rem;
    color: var(--page-fishing-games-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__feature-text {
    font-size: 0.95rem;
    color: var(--page-fishing-games-text-secondary);
    line-height: 1.6;
}

.page-fishing-games__text-center {
    text-align: center;
    margin-top: 50px;
}

/* How To Play Section */
.page-fishing-games__how-to-play-section {
    padding: 60px 0;
}

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

.page-fishing-games__step-item {
    background-color: var(--page-fishing-games-card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--page-fishing-games-border);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.page-fishing-games__step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--page-fishing-games-button-gradient);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
    color: var(--page-fishing-games-text-main);
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
    font-size: 1.25rem;
    color: var(--page-fishing-games-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__step-text {
    font-size: 0.95rem;
    color: var(--page-fishing-games-text-secondary);
    line-height: 1.6;
}

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

.page-fishing-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__faq-item {
    background-color: var(--page-fishing-games-background);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__faq-question {
    font-size: 1.15rem;
    color: var(--page-fishing-games-primary);
    font-weight: 600;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-fishing-games__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--page-fishing-games-gold);
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-fishing-games__faq-answer {
    font-size: 1rem;
    color: var(--page-fishing-games-text-secondary);
    line-height: 1.7;
    display: none; /* Hidden by default, toggled by JS */
    padding-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-fishing-games {
        padding-top: 8px; /* Slightly smaller top padding for mobile */
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }
    .page-fishing-games__description {
        font-size: 1rem;
    }
    .page-fishing-games__cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-bottom: 30px;
    }
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__faq-section {
        padding: 40px 0;
    }
    .page-fishing-games__feature-item img,
    .page-fishing-games__feature-item,
    .page-fishing-games__step-item,
    .page-fishing-games__faq-item {
        margin-bottom: 20px;
    }
    .page-fishing-games__hero-content {
        margin-top: 15px;
    }
    /* Ensure all content area images are responsive and not smaller than 200px */
    .page-fishing-games img {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 549px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }
    .page-fishing-games__description {
        font-size: 0.9rem;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__feature-item img {
        width: auto; /* Allow natural scaling */
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}