.page-fishing-games {
    font-family: Arial, sans-serif;
    color: var(--text-main, #1F2D3D);
    background-color: var(--background, #F4F7FB);
    padding-top: 10px; /* Small top padding as per rule, body handles --header-offset */
}

.page-fishing-games__container {
    max-width: 1200px; /* Consistent with visual requirements */
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section */
.page-fishing-games__hero-section {
    background-color: var(--primary-color, #2F6BFF); /* Use primary color as a background for the section */
    padding: 40px 0;
    text-align: center;
    color: #FFFFFF; /* White text for contrast on blue background */
    margin-bottom: 40px;
}

.page-fishing-games__hero-image-wrapper {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__hero-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* clamp for H1, not fixed large value */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-fishing-games__description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #E0E0E0;
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color from custom palette */
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

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

/* Sections */
.page-fishing-games__features-section,
.page-fishing-games__games-list-section,
.page-fishing-games__cta-section {
    padding: 60px 0;
    margin-bottom: 20px;
    text-align: center;
}

.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-main, #1F2D3D);
    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: 80px;
    height: 4px;
    background-color: var(--primary-color, #2F6BFF); /* Use primary color for accent */
    border-radius: 2px;
}

/* Features Grid */
.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(--card-bg, #FFFFFF);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.page-fishing-games__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__feature-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0 auto 20px auto;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-fishing-games__feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--custom-color-1776249996415, #000000); /* Use custom color for titles */
    margin-bottom: 15px;
}

.page-fishing-games__feature-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main, #1F2D3D);
}

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

.page-fishing-games__game-card {
    background-color: var(--card-bg, #FFFFFF);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__game-card-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-fishing-games__game-card-content {
    padding: 25px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__game-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
}

.page-fishing-games__game-card-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__game-card-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    align-self: flex-start; /* Align button to start */
}

.page-fishing-games__game-card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Large CTA Button */
.page-fishing-games__cta-button--large {
    padding: 18px 40px;
    font-size: 1.2rem;
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 30px 0;
    }

    .page-fishing-games__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .page-fishing-games__description {
        font-size: 1rem;
    }

    .page-fishing-games__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-fishing-games__features-section,
    .page-fishing-games__games-list-section,
    .page-fishing-games__cta-section {
        padding: 40px 0;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__game-cards-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }

    .page-fishing-games__feature-item,
    .page-fishing-games__game-card {
        padding: 20px;
    }

    .page-fishing-games__feature-image,
    .page-fishing-games__game-card-image {
        max-width: 100%;
        height: auto; /* Ensure images are responsive and don't overflow */
        min-width: 200px;
        min-height: 200px;
    }
    
    /* Crucial mobile image overflow fix */
    .page-fishing-games img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure color contrast for text */
.page-fishing-games__hero-content p,
.page-fishing-games__hero-content h1 {
    color: #FFFFFF; /* White on blue for high contrast */
}

.page-fishing-games__feature-title,
.page-fishing-games__game-card-title {
    color: var(--custom-color-1776249996415, #000000); /* Black or very dark for contrast */
}

.page-fishing-games__feature-text,
.page-fishing-games__game-card-description {
    color: var(--text-main, #1F2D3D); /* Dark gray for contrast */
}

/* Ensure min-width/height for content images in CSS */
.page-fishing-games__feature-image,
.page-fishing-games__game-card-image {
    width: 100%; /* Take full width of parent */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Minimum display width */
    min-height: 200px; /* Minimum display height */
}