.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 {
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
    padding-top: 10px; /* Small top padding to avoid being flush with header */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for the image wrapper */
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-fishing-games__hero-content {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(47, 107, 255, 0.9); /* Slightly transparent primary color background */
    color: #FFFFFF;
}

.page-fishing-games__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2em, 5vw, 3em); /* Responsive font size for h1 */
}

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

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

.page-fishing-games__button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-fishing-games__button--primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    border: none;
}

.page-fishing-games__button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__button--secondary {
    background-color: #FFFFFF;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-fishing-games__button--secondary:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__button--outline:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-fishing-games__about-game-section,
.page-fishing-games__features-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg);
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__about-game-section {
    margin-top: -80px; /* Pulls up to overlap with hero slightly for visual flow */
    position: relative;
    z-index: 1;
}

.page-fishing-games__paragraph {
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

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

.page-fishing-games__feature-item {
    background-color: var(--background);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-fishing-games__feature-title {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.page-fishing-games__guide-item {
    background-color: var(--background);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border-left: 5px solid var(--primary-color);
}

.page-fishing-games__guide-title {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 10px;
}

.page-fishing-games__guide-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main);
}

.page-fishing-games__guide-description a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__guide-description a:hover {
    text-decoration: underline;
}

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

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

.page-fishing-games__faq-question {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 10px;
}

.page-fishing-games__faq-answer {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main);
}

.page-fishing-games__faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__faq-answer a:hover {
    text-decoration: underline;
}

/* Color variables */
:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --background: #F4F7FB;
    --text-main: #1F2D3D;
    --text-black: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 15px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }

    .page-fishing-games__description {
        font-size: 1em;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__button {
        width: 100%;
        padding: 12px 20px;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-fishing-games__feature-list {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__about-game-section, 
    .page-fishing-games__features-section, 
    .page-fishing-games__how-to-play-section, 
    .page-fishing-games__faq-section {
        padding: 40px 0;
    }

    .page-fishing-games__content-image {
        margin: 20px auto;
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }

    .page-fishing-games__hero-image {
        max-width: 100%;
        height: auto;
    }

    .page-fishing-games__hero-image-wrapper {
        max-height: none;
    }

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

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.5em, 9vw, 2em);
    }

    .page-fishing-games__section-title {
        font-size: 1.6em;
    }
}