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

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

/* Hero Section - Revised for Image-Above-Text */
.page-fishing-games__hero-section {
    background-color: #000; /* Fallback */
    overflow: hidden;
    margin-bottom: 40px;
    display: flex; /* Use flex for vertical stacking */
    flex-direction: column; /* Stack image and content vertically */
    align-items: center; /* Center content horizontally */
    padding-top: 0; /* Rely on body padding for header offset */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Constrain image height */
    overflow: hidden;
    background-color: #000; /* Dark background for image section */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 400px; /* Ensure image is not too small */
    filter: brightness(0.7); /* Darken image slightly for overall mood, not text contrast */
    vertical-align: middle;
}

.page-fishing-games__hero-content {
    text-align: center;
    color: var(--text-main-color, #1F2D3D); /* Text color for content below image */
    max-width: 100%; /* Take full width of its parent */
    padding: 40px 20px; /* Padding for the content block */
    background-color: var(--background-color, #F4F7FB); /* Background for the text content */
    width: 100%; /* Ensure content block takes full width within container */
}

.page-fishing-games__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 15px;
    color: var(--text-main-color, #1F2D3D); /* Text color for title */
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.page-fishing-games__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main-color, #1F2D3D);
}

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

.page-fishing-games__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.page-fishing-games__btn--primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.4);
}

.page-fishing-games__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(47, 107, 255, 0.6);
}

.page-fishing-games__btn--secondary {
    background-color: transparent;
    border: 2px solid #2F6BFF; /* Changed to primary color for better contrast on light background */
    color: #2F6BFF; /* Changed to primary color */
}

.page-fishing-games__btn--secondary:hover {
    background-color: rgba(47, 107, 255, 0.1); /* Use primary color for hover */
    transform: translateY(-2px);
}

.page-fishing-games__btn--outline {
    background-color: transparent;
    border: 2px solid var(--primary-color, #2F6BFF);
    color: var(--primary-color, #2F6BFF);
}

.page-fishing-games__btn--outline:hover {
    background-color: var(--primary-color, #2F6BFF);
    color: #FFFFFF;
}

.page-fishing-games__btn--small {
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 5px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
}
.page-fishing-games__btn--small:hover {
    transform: translateY(-1px);
}


/* General Section Styling */
.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--text-main-color, #1F2D3D);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-fishing-games__paragraph {
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px auto;
    color: var(--text-main-color, #1F2D3D);
}

.page-fishing-games__about-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section {
    padding: 60px 0;
    margin-bottom: 20px;
}

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

.page-fishing-games__feature-item {
    background-color: var(--card-bg-color, #FFFFFF);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-image {
    width: 100%;
    max-width: 400px; /* Ensure images are not too wide */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
}

.page-fishing-games__feature-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-main-color, #1F2D3D);
}

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

/* How to Play Steps */
.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    background-color: var(--card-bg-color, #FFFFFF);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.page-fishing-games__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 3px 8px rgba(47, 107, 255, 0.3);
}

.page-fishing-games__step-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-main-color, #1F2D3D);
}

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

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

.page-fishing-games__promo-card {
    background-color: var(--card-bg-color, #FFFFFF);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for promo images */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__promo-card h3,
.page-fishing-games__promo-card p {
    padding: 0 20px;
}

.page-fishing-games__promo-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-main-color, #1F2D3D);
}

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

.page-fishing-games__promo-card .page-fishing-games__btn {
    margin-bottom: 20px;
}

.page-fishing-games__cta-bottom {
    text-align: center;
    margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-fishing-games__hero-image {
        min-height: 300px;
        max-height: 400px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-fishing-games__description {
        font-size: 1rem;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn {
        width: 80%;
        margin: 0 auto;
    }

    .page-fishing-games__feature-grid,
    .page-fishing-games__steps-list,
    .page-fishing-games__promo-cards {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__feature-image,
    .page-fishing-games__promo-image {
        max-width: 100%;
        height: auto; /* Ensure responsiveness */
        min-width: 200px;
        min-height: 200px;
    }
    /* Ensure all images within .page-fishing-games are responsive */
    .page-fishing-games img {
        max-width: 100%;
        height: auto;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .page-fishing-games__promo-image {
        height: 250px; /* Adjust height for mobile */
    }
}

@media (max-width: 480px) {
    .page-fishing-games__btn {
        width: 90%;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-fishing-games__description {
        font-size: 0.9rem;
    }
}

/* Color variables based on provided scheme */
:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --card-bg-color: #FFFFFF;
    --background-color: #F4F7FB;
    --text-main-color: #1F2D3D;
    --text-custom-1776249996415: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

.page-fishing-games__btn--primary,
.page-fishing-games__step-number {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}

.page-fishing-games__btn--outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.page-fishing-games__btn--outline:hover {
    background-color: var(--primary-color);
}

.page-fishing-games__feature-item,
.page-fishing-games__step-item,
.page-fishing-games__promo-card {
    background-color: var(--card-bg-color);
}

.page-fishing-games__main-title,
.page-fishing-games__section-title,
.page-fishing-games__feature-title,
.page-fishing-games__step-title,
.page-fishing-games__promo-title {
    color: var(--text-main-color);
}

.page-fishing-games__description,
.page-fishing-games__paragraph,
.page-fishing-games__feature-text,
.page-fishing-games__step-description,
.page-fishing-games__promo-description {
    color: var(--text-main-color); /* Ensure contrast */
}