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

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

.page-fishing-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding as per rules */
    background: linear-gradient(180deg, var(--main-color), var(--auxiliary-color));
    color: #FFFFFF;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-fishing-games__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    position: relative; /* Ensure it's not absolutely positioned over the image */
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__hero-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-bottom: 20px;
    max-width: 60ch;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 80ch;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px var(--glow);
}

.page-fishing-games__hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px var(--glow);
}

.page-fishing-games__intro-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__tips-section,
.page-fishing-games__cta-section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__intro-section {
    background-color: var(--card-bg);
    color: var(--custom-color_1776249996415);
}

.page-fishing-games__intro-title,
.page-fishing-games__why-choose-title,
.page-fishing-games__popular-games-title,
.page-fishing-games__tips-title,
.page-fishing-games__cta-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 40px;
}

.page-fishing-games__intro-text {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--custom-color_1776249996415);
}

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

.page-fishing-games__why-choose-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-fishing-games__why-choose-item-title {
    font-size: 1.4em;
    color: var(--main-color);
    margin-bottom: 15px;
}

.page-fishing-games__why-choose-item-description {
    font-size: 1em;
    line-height: 1.7;
    color: var(--custom-color_1776249996415);
}

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

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

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

.page-fishing-games__game-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid var(--border);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-fishing-games__game-card-title {
    font-size: 1.5em;
    color: var(--text-main);
    margin: 20px 15px 10px;
}

.page-fishing-games__game-card-description {
    font-size: 0.95em;
    color: var(--custom-color_1776249996415);
    margin: 0 15px 20px;
    flex-grow: 1;
}

.page-fishing-games__game-card-button {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--glow);
}

.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

.page-fishing-games__tips-item {
    background-color: var(--card-bg);
    border-left: 5px solid var(--main-color);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    color: var(--custom-color_1776249996415);
    line-height: 1.7;
}

.page-fishing-games__tips-item strong {
    color: var(--text-main);
}

.page-fishing-games__cta-section {
    background: linear-gradient(180deg, var(--auxiliary-color), var(--main-color));
    color: #FFFFFF;
}

.page-fishing-games__cta-title {
    color: #FFFFFF;
}

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

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 5px;
    }

    .page-fishing-games__hero-content {
        padding: 30px 15px;
    }

    .page-fishing-games__hero-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
        margin-bottom: 15px;
    }

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

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

    .page-fishing-games__intro-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__cta-section {
        padding: 40px 0;
    }

    .page-fishing-games__intro-title,
    .page-fishing-games__why-choose-title,
    .page-fishing-games__popular-games-title,
    .page-fishing-games__tips-title,
    .page-fishing-games__cta-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-fishing-games__intro-text {
        font-size: 0.95em;
    }

    .page-fishing-games__why-choose-item,
    .page-fishing-games__game-card {
        padding: 20px;
    }

    .page-fishing-games__why-choose-item-title {
        font-size: 1.2em;
    }

    .page-fishing-games__game-card-title {
        font-size: 1.3em;
    }

    .page-fishing-games__tips-item {
        padding: 15px 20px;
    }

    .page-fishing-games__container {
        padding: 0 15px;
    }

    /* Crucial: Prevent image overflow on mobile */
    .page-fishing-games img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure minimum size */
        min-height: 200px; /* Ensure minimum size */
    }
}