.page-fishing-games {
    background-color: #F4F7FB; /* Background */
    color: #1F2D3D; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for first section, relying on body for header offset */
}

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

.page-fishing-games__hero-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    display: flex; /* Ensure image and content are siblings */
    flex-direction: column; /* Stack image then content */
    align-items: center; /* Center content horizontally */
    text-align: center;
    padding: 0 20px 40px; /* Padding for the section itself */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    margin-bottom: 20px; /* Space between image and text */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    max-width: 1200px; /* Match container max-width */
}

.page-fishing-games__hero-content {
    max-width: 800px; /* Constrain content width */
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    color: #1F2D3D; /* Text Main */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    max-width: 100%; /* Ensure it doesn't overflow */
}

.page-fishing-games__description {
    font-size: 1.1rem;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #000000; /* Custom Color_1776249996415 for WCAG AA contrast */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4); /* Glow color derived from main color */
}

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

.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-fishing-games__features-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Card BG */
    margin-bottom: 40px;
}

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

.page-fishing-games__feature-card {
    background-color: #F4F7FB; /* Background */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__feature-title {
    font-size: 1.4rem;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 10px;
}

.page-fishing-games__feature-text {
    font-size: 1rem;
    color: #1F2D3D; /* Text Main */
}

.page-fishing-games__popular-games-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-fishing-games__text-content {
    text-align: center;
    font-size: 1.1rem;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__game-card {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__game-thumbnail {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-fishing-games__game-name {
    font-size: 1.3rem;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 10px;
}

.page-fishing-games__game-description {
    font-size: 0.95rem;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
}

.page-fishing-games__game-link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #000000; /* Custom Color_1776249996415 for WCAG AA contrast */
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
}

.page-fishing-games__game-link:hover {
    opacity: 0.9;
}

.page-fishing-games__cta-banner {
    background-color: #2F6BFF; /* Main color */
    padding: 80px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(47, 107, 255, 0.5); /* Glow color */
}

.page-fishing-games__cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    font-weight: 700;
    color: #000000; /* Custom Color_1776249996415 for WCAG AA contrast */
}

.page-fishing-games__cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #000000; /* Custom Color_1776249996415 for WCAG AA contrast */
}

.page-fishing-games__cta-button--large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 15px;
    }

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

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

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

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

    .page-fishing-games__features-grid,
    .page-fishing-games__game-list {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__feature-image,
    .page-fishing-games__game-thumbnail {
        height: auto; /* Allow height to adjust */
        min-height: 200px; /* Ensure minimum size */
    }

    /* Enforce max-width for all images within .page-fishing-games */
    .page-fishing-games img {
        max-width: 100%;
        height: auto;
    }

    .page-fishing-games__cta-banner {
        padding: 50px 15px;
    }

    .page-fishing-games__cta-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

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

    .page-fishing-games__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

/* Ensure all content area images are at least 200px wide */
.page-fishing-games__feature-image,
.page-fishing-games__game-thumbnail {
    min-width: 200px;
    min-height: 200px;
}