:root {
    --page-fishing-games-primary-color: #11A84E; /* Main */
    --page-fishing-games-secondary-color: #22C768; /* Accent */
    --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-color: #2E7A4E;
    --page-fishing-games-glow-color: #57E38D;
    --page-fishing-games-gold-color: #F2C14E;
    --page-fishing-games-divider-color: #1E3A2A;
    --page-fishing-games-deep-green: #0A4B2C;
}

body {
    background-color: var(--page-fishing-games-background);
    color: var(--page-fishing-games-text-main);
    font-family: Arial, sans-serif; /* Roboto气质 */
}

.page-content.page-fishing-games {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    display: flex;
    flex-direction: column; /* Default to column for mobile first, desktop will adjust */
    align-items: center;
    text-align: center;
    background-color: var(--page-fishing-games-deep-green); /* Darker background for hero */
    padding-bottom: 40px;
    position: relative;
    min-height: clamp(420px, 50vw, 700px); /* Responsive height for hero */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto; /* Ensure image scales correctly */
    display: block;
    object-fit: cover;
    object-position: center;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
    margin-top: 20px; /* Positive margin to ensure separation */
    background-color: rgba(8, 22, 15, 0.7); /* Slightly transparent background for readability */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games__hero-title {
    color: var(--page-fishing-games-text-main);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
}

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

.page-fishing-games__hero-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--page-fishing-games-button-gradient);
    color: var(--page-fishing-games-text-main);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* General Sections */
.page-fishing-games__introduction-section,
.page-fishing-games__game-showcase-section,
.page-fishing-games__features-section,
.page-fishing-games__cta-section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__section-title {
    color: var(--page-fishing-games-text-main);
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

.page-fishing-games__section-title--gold {
    color: var(--page-fishing-games-gold-color);
}

.page-fishing-games__paragraph {
    color: var(--page-fishing-games-text-secondary);
    font-size: 1.05em;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 20px auto;
}

.page-fishing-games__paragraph--centered {
    text-align: center;
}

/* Game Showcase */
.page-fishing-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-fishing-games__game-tile {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--page-fishing-games-border-color);
    background-color: var(--page-fishing-games-card-bg);
}

.page-fishing-games__game-tile:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.page-fishing-games__game-tile img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px;
}

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

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

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

.page-fishing-games__feature-icon {
    width: 100%;
    height: auto;
    max-width: 400px; /* Adjust max-width to fit card, but ensure min 200px */
    max-height: 300px;
    object-fit: contain; /* Use contain for icons/illustrations to fit */
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px;
}

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

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

/* CTA Section */
.page-fishing-games__cta-section {
    background-color: var(--page-fishing-games-deep-green);
    padding: 80px 0;
}

.page-fishing-games__cta-buttons {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 18px 35px;
    background: var(--page-fishing-games-button-gradient);
    color: var(--page-fishing-games-text-main);
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 220px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__cta-button--secondary {
    background: none;
    border: 2px solid var(--page-fishing-games-secondary-color);
    color: var(--page-fishing-games-secondary-color);
    box-shadow: none;
}

.page-fishing-games__cta-button--secondary:hover {
    background-color: rgba(34, 199, 104, 0.1); /* Lighter accent on hover */
    box-shadow: 0 0 15px rgba(34, 199, 104, 0.5);
    transform: translateY(-3px);
}

/* Media Queries for responsiveness */
@media (min-width: 769px) {
    .page-fishing-games__hero-section {
        flex-direction: column; /* Keep column for desktop, image above content */
        justify-content: center;
        padding-top: 60px; /* More padding for desktop */
    }

    .page-fishing-games__hero-image-wrapper {
        max-height: 500px; /* Constrain hero image height for desktop */
        overflow: hidden;
    }

    .page-fishing-games__hero-image {
        height: 100%; /* Fill wrapper height */
        width: 100%;
        min-height: 200px;
    }

    .page-fishing-games__hero-content {
        margin-top: 30px; /* More separation for desktop */
        padding: 40px;
    }

    .page-fishing-games__hero-title {
        font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    }

    .page-fishing-games__game-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    }

    .page-fishing-games__features-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 0 15px;
    }

    .page-fishing-games__hero-content {
        margin-top: 20px; /* Adjust separation for tablet */
        padding: 20px;
    }

    .page-fishing-games__hero-title {
        font-size: clamp(2em, 5vw, 2.5em); /* Smaller H1 for tablets */
    }

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

    .page-fishing-games__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 2 columns for tablet */
    }

    .page-fishing-games__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 2 columns for tablet */
    }

    /* Ensure all images scale down */
    .page-fishing-games__hero-image,
    .page-fishing-games__game-tile img,
    .page-fishing-games__feature-icon {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Maintain minimum size if possible */
        min-height: 200px;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-fishing-games__cta-button {
        width: 100%;
        max-width: 300px; /* Constrain width for mobile buttons */
    }
}

@media (max-width: 549px) {
    .page-fishing-games__hero-content {
        margin-top: 15px; /* Less separation for mobile */
        padding: 15px;
    }

    .page-fishing-games__hero-title {
        font-size: clamp(1.8em, 6vw, 2.2em); /* Smaller H1 for mobile */
    }

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

    .page-fishing-games__game-grid {
        grid-template-columns: 1fr; /* Single column for small mobile */
    }

    .page-fishing-games__features-grid {
        grid-template-columns: 1fr; /* Single column for small mobile */
    }

    .page-fishing-games__hero-button {
        width: 100%;
        max-width: 280px;
    }
}

/* Ensure content area images are never smaller than 200px */
.page-fishing-games__game-tile img,
.page-fishing-games__feature-icon {
    width: 100%; /* Use 100% width to fill container */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* or contain, depending on desired crop */
}

/* Specific styling for text contrast and colors */
.page-fishing-games h1,
.page-fishing-games h2,
.page-fishing-games h3 {
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games p,
.page-fishing-games a {
    color: var(--page-fishing-games-text-secondary); /* Default text color for links */
}

.page-fishing-games__hero-button,
.page-fishing-games__cta-button {
    color: var(--page-fishing-games-text-main); /* Buttons have main text color */
}