.page-fishing-games {
    background-color: #FFFFFF; /* Custom background color */
    color: #333333;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-fishing-games__hero-section {
    position: relative;
    background-color: #017439;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
    color: #FFFFFF;
    text-align: center;
}

.page-fishing-games__hero-visual {
    margin: 0 auto;
    max-width: 1200px; /* Max width for the image container */
}

.page-fishing-games__hero-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/5; /* Adjust aspect ratio for main hero image */
    border-radius: 8px;
}

.page-fishing-games__hero-content {
    max-width: 900px;
    margin: 20px auto 0;
    padding: 0 15px;
}

.page-fishing-games__main-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-fishing-games__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    color: #FFFF00; /* Custom font color for login/register */
}

.page-fishing-games__btn--play,
.page-fishing-games__btn--register {
    background-color: #C30808; /* Custom color for login/register */
    border: 2px solid #C30808;
}

.page-fishing-games__btn--play:hover,
.page-fishing-games__btn--register:hover {
    background-color: #a00707;
    transform: translateY(-2px);
}

.page-fishing-games__intro-section,
.page-fishing-games__features-section,
.page-fishing-games__game-showcase-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__faq-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-fishing-games__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
}

.page-fishing-games__text-content {
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-fishing-games__feature-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__feature-item img {
    width: 100%;
    height: auto;
    max-width: 400px; /* Ensure images are not too small */
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-fishing-games__feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #017439;
    margin-bottom: 10px;
}

.page-fishing-games__feature-description {
    font-size: 0.95rem;
    color: #555555;
}

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

.page-fishing-games__game-tile {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__game-tile img {
    width: 100%;
    height: auto;
    max-width: 600px; /* Max width for game images */
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
    display: block;
    object-fit: cover;
}

.page-fishing-games__view-all {
    text-align: center;
    margin-top: 40px;
}

.page-fishing-games__btn--view-all {
    background-color: #017439;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__btn--view-all:hover {
    background-color: #005f2c;
    transform: translateY(-2px);
}

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

.page-fishing-games__step-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
}

.page-fishing-games__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #017439;
    color: #FFFFFF;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.page-fishing-games__step-title {
    font-size: 1.2rem;
    color: #017439;
    margin-bottom: 10px;
}

.page-fishing-games__step-description {
    font-size: 0.95rem;
    color: #555555;
}

.page-fishing-games__step-description a {
    color: #017439;
    text-decoration: underline;
}

.page-fishing-games__faq-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-fishing-games__faq-question {
    font-size: 1.15rem;
    color: #017439;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-fishing-games__faq-answer {
    font-size: 1rem;
    color: #555555;
    padding-left: 10px;
}

.page-fishing-games__faq-answer a {
    color: #017439;
    text-decoration: underline;
}

@media (max-width: 849px) {
    .page-fishing-games__hero-section {
        display: flex;
        flex-direction: column;
        padding-bottom: 30px;
    }
    .page-fishing-games__hero-visual img {
        aspect-ratio: 4/3;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    .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__section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__steps-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-visual img,
    .page-fishing-games__feature-item img,
    .page-fishing-games__game-tile img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure min width for mobile */
        min-height: 200px; /* Ensure min height for mobile */
    }
    .page-fishing-games__intro-section,
    .page-fishing-games__features-section,
    .page-fishing-games__game-showcase-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__faq-section {
        padding: 40px 15px;
    }
    .page-fishing-games__text-content {
        text-align: left;
    }
}

@media (max-width: 549px) {
    .page-fishing-games__btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}