:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg-color: #17191F;
    --background-color: #0D0E12;
    --text-main-color: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
    --button-gradient: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
}

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    overflow: hidden;
    text-align: center;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    position: relative;
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 900px;
    background: rgba(13, 14, 18, 0.7); /* Semi-transparent background for readability */
    border-radius: 10px;
    margin-top: -100px; /* Overlap slightly for design, but text is below image */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main-color);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-main-color);
    margin-bottom: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

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

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-main-color);
    transform: translateY(-2px);
}

.page-fishing-games__btn-tertiary {
    background: var(--card-bg-color);
    color: var(--primary-color);
    border-color: var(--border-color);
}

.page-fishing-games__btn-tertiary:hover {
    background: var(--primary-color);
    color: var(--text-main-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* General Section Styling */
.page-fishing-games__about-section,
.page-fishing-games__games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
    padding: 60px 0;
}

.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.page-fishing-games__text-block {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__about-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px 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__about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__about-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main-color);
}

/* Games Section Specifics */
.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-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    text-align: center;
}

.page-fishing-games__game-iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #000;
}

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

/* How to Play Section Specifics */
.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.page-fishing-games__steps-list li {
    background-color: var(--card-bg-color);
    border-radius: 8px;
    padding: 20px 30px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-main-color);
}

.page-fishing-games__steps-list li strong {
    color: var(--primary-color);
    font-size: 1.2em;
}

/* Promotions Section Specifics */
.page-fishing-games__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__promo-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-fishing-games__promo-card .page-fishing-games__card-image {
    height: 180px;
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
    margin-top: 15px;
}

.page-fishing-games__promo-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main-color);
    margin-bottom: 20px;
}

/* FAQ Section Specifics */
.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-fishing-games__faq-item {
    background-color: var(--card-bg-color);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(255, 140, 26, 0.1);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--secondary-color);
    margin-left: 15px;
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding-top: 10px;
    transition: max-height 0.4s ease-in, padding 0.4s ease-in;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    background: linear-gradient(to right, var(--deep-orange-color), var(--primary-color));
    padding: 80px 0;
    text-align: center;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
    color: var(--text-main-color);
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title::after {
    background: var(--text-main-color);
}

.page-fishing-games__cta-final-section .page-fishing-games__description {
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-top: -80px;
        padding: 30px 15px;
    }
    .page-fishing-games__main-title {
        font-size: 2.8rem;
    }
    .page-fishing-games__section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__about-section,
    .page-fishing-games__games-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-fishing-games__hero-content {
        margin-top: -60px;
        padding: 25px 10px;
    }
    .page-fishing-games__main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    .page-fishing-games__description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-tertiary {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }

    .page-fishing-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-fishing-games__text-block {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .page-fishing-games__about-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card-image {
        height: 150px;
    }

    .page-fishing-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

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

    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-fishing-games__video-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 1.8rem;
    }
    .page-fishing-games__section-title {
        font-size: 1.6rem;
    }
    .page-fishing-games__hero-content {
        margin-top: -40px;
    }
}