:root {
    --main-color: #C61F1F; /* Red Gold v1 */
    --accent-color: #E53030; /* Red Gold v1 */
    --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    --card-bg: #2A1212;
    --background-color: #140C0C;
    --text-main: #FFF1E8;
    --border-color: #6A1E1E;
    --gold-color: #F3C54D;
    --deep-red-color: #7E0D0D;
}

.page-fishing-games {
    background-color: var(--background-color);
    color: var(--text-main);
    font-family: 'Roboto', sans-serif; /* Assuming Roboto-like font */
    line-height: 1.6;
}

/* Ensure padding-top is handled by body in shared.css, not here */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding for first section */
    background-color: var(--background-color);
    overflow: hidden; /* For any overflowing elements */
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    text-align: center;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for the hero image */
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and content */
}

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

.page-fishing-games__hero-content {
    max-width: 960px;
    padding: 0 20px 60px;
    position: relative; /* Ensure content is in normal flow, not absolutely positioned over image */
    z-index: 1;
}

.page-fishing-games__main-title {
    color: var(--gold-color); /* Using gold for main title for prominence */
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(243, 197, 77, 0.5); /* Subtle glow */
}

.page-fishing-games__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--text-main);
}

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

.page-fishing-games__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    color: var(--text-main); /* Ensure button text is visible */
    min-width: 150px; /* Ensure buttons are not too small */
}

.page-fishing-games__btn--primary {
    background: var(--button-gradient);
    box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

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

.page-fishing-games__btn--secondary {
    background-color: var(--deep-red-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(126, 13, 13, 0.4);
}

.page-fishing-games__btn--secondary:hover {
    transform: translateY(-2px);
    background-color: var(--main-color);
    box-shadow: 0 6px 15px rgba(198, 31, 31, 0.6);
}

.page-fishing-games__btn--small {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: unset;
}

.page-fishing-games__btn--large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

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

.page-fishing-games__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold-color);
    text-shadow: 0 0 8px rgba(243, 197, 77, 0.3);
}

.page-fishing-games__section-title--cta {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.page-fishing-games__paragraph {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__introduction {
    background-color: var(--card-bg); /* Use card background for contrast */
    padding: 60px 0;
}

.page-fishing-games__game-list {
    padding: 60px 0;
    background-color: var(--background-color);
}

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

.page-fishing-games__game-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__game-link {
    display: block;
    text-decoration: none;
    color: var(--text-main);
    padding-bottom: 20px;
}

.page-fishing-games__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    margin-bottom: 15px;
    min-height: 200px; /* Minimum image size */
}

.page-fishing-games__game-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: var(--gold-color);
    padding: 0 15px;
}

.page-fishing-games__game-description {
    font-size: 0.95rem;
    text-align: center;
    padding: 0 15px;
}

.page-fishing-games__cta-button-wrapper {
    text-align: center;
}

.page-fishing-games__features {
    padding: 60px 0;
    background-color: var(--deep-red-color); /* Using deep red for a distinct section */
}

.page-fishing-games__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-fishing-games__feature-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-fishing-games__feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gold-color);
}

.page-fishing-games__feature-description {
    font-size: 1rem;
    color: var(--text-main);
}

.page-fishing-games__how-to-play {
    padding: 60px 0;
    background-color: var(--background-color);
}

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

.page-fishing-games__step-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__step-icon {
    width: 60px;
    height: 60px;
    background: var(--button-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(255, 176, 74, 0.3);
}

.page-fishing-games__step-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gold-color);
}

.page-fishing-games__step-description {
    font-size: 1rem;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

.page-fishing-games__cta-section {
    background: linear-gradient(90deg, var(--main-color) 0%, var(--accent-color) 100%);
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games__cta-section .page-fishing-games__paragraph {
    margin-bottom: 40px;
    color: var(--text-main);
}

/* Media Queries for responsiveness */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2.2rem;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-fishing-games__section-title {
        font-size: 1.8rem;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-fishing-games__hero-description {
        font-size: 1rem;
    }
    .page-fishing-games__game-grid,
    .page-fishing-games__feature-list,
    .page-fishing-games__steps {
        grid-template-columns: 1fr;
    }
    /* Mobile image overflow prevention */
    .page-fishing-games img {
        max-width: 100%;
        height: auto;
    }
    .page-fishing-games__game-image {
        height: auto; /* Allow auto height on mobile */
    }
    .page-fishing-games__cta-section .page-fishing-games__section-title--cta {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__container {
        padding: 20px 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
    .page-fishing-games__hero-content {
        padding: 0 15px 40px;
    }
    .page-fishing-games__btn {
        font-size: 0.9rem;
        padding: 12px 25px;
    }
    .page-fishing-games__section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    .page-fishing-games__cta-section .page-fishing-games__section-title--cta {
        font-size: 1.8rem;
    }
    .page-fishing-games__step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}