:root {
    /* Base Colors */
    --color-primary: #FF8C1A; /* Main color */
    --color-secondary: #FFA53A; /* Auxiliary color */
    --color-deep-orange: #D96800; /* Deep Orange */
    --color-glow: #FFB04D; /* Glow */
    --color-border: #A84F0C; /* Border */

    /* Backgrounds */
    --bg-main: #0D0E12; /* Page background */
    --bg-card: #17191F; /* Card background */

    /* Text Colors */
    --text-main: #FFF3E6; /* Main text color */

    /* Button Gradient */
    --btn-gradient: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-deep-orange) 100%);
}

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background-color: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-fishing-games__hero-content {
    position: relative; /* Ensure content is above any background elements */
    z-index: 10;
    padding: 0 20px;
    max-width: 900px;
}

.page-fishing-games__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--color-glow), var(--color-primary)); /* Gold to Orange gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for browsers not supporting text-fill-color */
    letter-spacing: -0.02em;
}

.page-fishing-games__hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__hero-cta,
.page-fishing-games__game-cta,
.page-fishing-games__promotions-cta,
.page-fishing-games__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    background: var(--btn-gradient);
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4); /* Glow effect */
    min-width: 180px; /* Ensure button minimum size */
    text-align: center;
}

.page-fishing-games__hero-cta:hover,
.page-fishing-games__game-cta:hover,
.page-fishing-games__promotions-cta:hover,
.page-fishing-games__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

/* General Section Styling */
.page-fishing-games__introduction-section,
.page-fishing-games__features-section,
.page-fishing-games__games-showcase,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-callout,
.page-fishing-games__cta-final {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 40px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

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

/* Features Section */
.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-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    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;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

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

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

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

.page-fishing-games__game-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 25px;
}

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

.page-fishing-games__game-image {
    width: 100%;
    height: 250px; /* Fixed height for game cards */
    object-fit: cover;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-fishing-games__game-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-secondary);
    padding: 0 20px;
}

.page-fishing-games__game-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-main);
    flex-grow: 1; /* Allow description to take available space */
    padding: 0 20px;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    background-color: var(--bg-main);
}

.page-fishing-games__steps-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    text-align: left;
    margin-top: 40px;
}

.page-fishing-games__steps-content {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__steps-image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__steps-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-fishing-games__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
}

.page-fishing-games__step-number {
    background: var(--btn-gradient);
    color: var(--text-main);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 15px;
    box-shadow: 0 2px 8px rgba(255, 140, 26, 0.4);
}

.page-fishing-games__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--color-secondary);
}

.page-fishing-games__step-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-top: 0;
}

/* Promotions Callout */
.page-fishing-games__promotions-callout {
    background-color: var(--bg-card);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

/* Final CTA */
.page-fishing-games__cta-final {
    padding-bottom: 80px;
}

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

    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 20px;
        max-height: 400px;
    }

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

    .page-fishing-games__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-fishing-games__hero-cta,
    .page-fishing-games__game-cta,
    .page-fishing-games__promotions-cta,
    .page-fishing-games__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        min-width: unset;
        width: auto;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-fishing-games__introduction-section,
    .page-fishing-games__features-section,
    .page-fishing-games__games-showcase,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-callout,
    .page-fishing-games__cta-final {
        padding: 40px 0;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .page-fishing-games__feature-image,
    .page-fishing-games__game-image,
    .page-fishing-games__steps-image {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto; /* Maintain aspect ratio */
    }

    .page-fishing-games__steps-wrapper {
        flex-direction: column;
    }

    .page-fishing-games__steps-content,
    .page-fishing-games__steps-image-wrapper {
        min-width: unset;
        width: 100%;
    }

    .page-fishing-games__step-item {
        margin-bottom: 20px;
    }
    
    /* Enforce mobile image sizing rules */
    .page-fishing-games img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure color contrast */
.page-fishing-games h1, .page-fishing-games h2, .page-fishing-games h3, .page-fishing-games h4, .page-fishing-games h5, .page-fishing-games h6 {
    color: var(--text-main); /* Fallback for gradient text */
}
.page-fishing-games p, .page-fishing-games li, .page-fishing-games a {
    color: var(--text-main);
}
.page-fishing-games__hero-cta, .page-fishing-games__game-cta, .page-fishing-games__promotions-cta, .page-fishing-games__cta-button {
    color: var(--text-main); /* Button text */
}