.page-fishing-games {
    background-color: #0D0E12;
    color: #FFF3E6;
    font-family: Arial, sans-serif;
}

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px;
    overflow: hidden;
    isolation: isolate; /* Ensures z-index context for pseudo-elements */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px;
    object-fit: cover;
    display: block;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-fishing-games__main-title {
    color: #FFB04D;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.page-fishing-games__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.page-fishing-games__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 200px;
    min-height: 40px;
    border: none;
    cursor: pointer;
    font-size: 1em;
    text-align: center;
}

.page-fishing-games__btn--primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-fishing-games__btn--primary:hover {
    background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-fishing-games__btn--secondary {
    background-color: #17191F;
    color: #FF8C1A;
    border: 2px solid #A84F0C;
}

.page-fishing-games__btn--secondary:hover {
    background-color: #A84F0C;
    color: #FFF3E6;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #FFB04D;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    font-weight: bold;
    background: linear-gradient(90deg, #FF8C1A 0%, #FFA53A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.page-fishing-games__games-showcase,
.page-fishing-games__why-choose-us,
.page-fishing-games__how-to-play,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-fishing-games__game-card,
.page-fishing-games__feature-item,
.page-fishing-games__step-item {
    background-color: #17191F;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid #A84F0C;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover,
.page-fishing-games__feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__game-image,
.page-fishing-games__feature-icon {
    width: 100%;
    height: auto;
    max-width: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #A84F0C;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__game-title,
.page-fishing-games__feature-title,
.page-fishing-games__step-title {
    color: #FF8C1A;
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__game-description,
.page-fishing-games__feature-description,
.page-fishing-games__step-description {
    font-size: 0.95em;
    line-height: 1.5;
    color: #FFF3E6;
    margin-bottom: 20px;
}

.page-fishing-games__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
    min-width: 120px; /* Adjusted for smaller buttons */
    min-height: 30px;
}

.page-fishing-games__step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__step-number {
    background-color: #D96800;
    color: #FFF3E6;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__how-to-play-action {
    text-align: center;
    margin-top: 50px;
}

.page-fishing-games__promotions-description {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-fishing-games__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-fishing-games__faq-item {
    background-color: #17191F;
    border-radius: 8px;
    border: 1px solid #A84F0C;
    padding: 20px 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item:hover {
    background-color: #20232b;
}

.page-fishing-games__faq-question {
    color: #FF8C1A;
    font-size: 1.2em;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.page-fishing-games__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-question::after {
    transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-top: 0;
    color: #FFF3E6;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 200px; /* Arbitrary max-height, adjust as needed */
    padding-top: 15px;
}

.page-fishing-games__faq-answer p {
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }

    .page-fishing-games__hero-image {
        margin-bottom: 20px;
    }

    .page-fishing-games__main-title {
        font-size: 1.8em;
    }

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

    .page-fishing-games__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__btn {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }

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

    .page-fishing-games__games-grid,
    .page-fishing-games__features-grid,
    .page-fishing-games__steps-grid {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__game-card,
    .page-fishing-games__feature-item,
    .page-fishing-games__step-item {
        padding: 20px;
    }

    .page-fishing-games__game-image,
    .page-fishing-games__feature-icon {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }

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

    .page-fishing-games__faq-question {
        font-size: 1.1em;
    }

    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        max-height: 300px; /* Adjust for potentially longer mobile content */
    }

    .page-fishing-games img {
        max-width: 100%;
        height: auto;
    }
}