:root {
    --page-bg-color: #08160F; /* Background */
    --card-bg-color: #11271B; /* Card BG */
    --text-main-color: #F2FFF6; /* Text Main */
    --text-secondary-color: #A7D9B8; /* Text Secondary */
    --primary-brand-color: #11A84E; /* Main color */
    --secondary-brand-color: #22C768; /* Auxiliary color */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green-color: #0A4B2C; /* Deep Green */

    --primary-brand-color-rgb: 17, 168, 78; /* RGB for shadow effects */
    --gold-color-rgb: 242, 193, 78;
}

.page-fishing-games {
    background-color: var(--page-bg-color);
    color: var(--text-main-color);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

.page-fishing-games__center-text {
    text-align: center;
}

/* Section Styling */
.page-fishing-games__hero-section,
.page-fishing-games__why-zobet-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__trust-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
    padding: 80px 0;
    position: relative;
    z-index: 1; /* Ensure content is above any potential background layers */
}

.page-fishing-games__dark-section {
    background-color: var(--page-bg-color);
}

.page-fishing-games__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--page-bg-color);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

/* Typography */
.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(var(--gold-color-rgb), 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 50px;
    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-color: var(--primary-brand-color);
    border-radius: 2px;
}

.page-fishing-games__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main-color);
    margin-top: 15px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-fishing-games__card-text,
.page-fishing-games p,
.page-fishing-games li {
    font-size: 1rem;
    color: var(--text-secondary-color);
    line-height: 1.7;
}

/* Buttons */
.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 25px var(--glow-color);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--primary-brand-color);
    border: 2px solid var(--primary-brand-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--primary-brand-color);
    color: var(--text-main-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
    min-width: 220px;
}

/* Card Styling */
.page-fishing-games__card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%; /* Ensure cards in grid have equal height */
    box-sizing: border-box;
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 30px rgba(var(--primary-brand-color-rgb), 0.3);
}

.page-fishing-games__card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    display: block; /* Ensure no extra space below image */
}

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

/* Steps Specific Styling */
.page-fishing-games__step-card .page-fishing-games__step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    background: var(--deep-green-color);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.5), 0 0 15px rgba(var(--gold-color-rgb), 0.5);
}

.page-fishing-games__step-card .page-fishing-games__card-text {
    flex-grow: 1; /* Push button to bottom */
}

.page-fishing-games__step-card .page-fishing-games__btn-secondary {
    margin-top: 20px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-fishing-games__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    box-sizing: border-box;
    text-align: left; /* Override card center text */
    padding: 0; /* Remove default card padding */
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main-color);
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for <summary> */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Webkit browsers */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    background-color: var(--primary-brand-color);
    border-bottom-color: var(--primary-brand-color);
}

.page-fishing-games__faq-question:hover {
    background-color: var(--primary-brand-color);
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    color: var(--text-main-color);
}

.page-fishing-games__faq-answer {
    padding: 20px 30px 30px;
    font-size: 1rem;
    color: var(--text-secondary-color);
    line-height: 1.7;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 15px;
}

.page-fishing-games__faq-answer .page-fishing-games__btn-secondary {
    margin-top: 10px;
    display: inline-flex;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    padding-bottom: 80px;
}

.page-fishing-games__section-description {
    font-size: 1.1rem;
    color: var(--text-secondary-color);
    max-width: 900px;
    margin: 0 auto 40px;
}

/* Image specific styles - ensuring no filter and correct sizing */
.page-fishing-games img {
    border: none; /* Ensure no unwanted borders */
    filter: none; /* Absolutely no CSS filters */
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-fishing-games__hero-section,
    .page-fishing-games__why-zobet-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__trust-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding: 60px 0;
    }

    .page-fishing-games__section-title {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    /* Mobile image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile video responsiveness (if any, though not explicitly in HTML for now) */
    .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; /* body already handles --header-offset */
    }
    
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile button responsiveness */
    .page-fishing-games__cta-button,
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        /* padding-left: 15px; */ /* Removed as container handles it */
        /* padding-right: 15px; */ /* Removed as container handles it */
    }
    
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    
    .page-fishing-games__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically on mobile */
    }

    .page-fishing-games__hero-section {
        padding-top: 10px;
        padding-bottom: 40px;
    }

    .page-fishing-games__main-title {
        font-size: 2.5rem;
    }

    .page-fishing-games__hero-description {
        font-size: 1rem;
    }

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

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

    .page-fishing-games__card {
        padding: 25px;
    }

    .page-fishing-games__card-title {
        font-size: 1.3rem;
    }

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

    .page-fishing-games__faq-answer {
        padding: 18px 25px 25px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 2rem;
    }
    .page-fishing-games__section-title {
        font-size: 1.8rem;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        min-width: unset;
        width: 100%;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}