.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color, #FFF6D6); /* Default text color for dark body background */
    line-height: 1.6;
    padding-bottom: 40px; /* General padding for bottom of page content */
}

.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;
    padding-top: 10px; /* Small top padding, body handles main offset */
    background-color: var(--background-color, #0A0A0A);
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
}

.page-fishing-games__hero-content {
    text-align: center;
    padding: 0 20px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games__main-title {
    font-size: 3.2em;
    font-weight: 700;
    color: var(--text-main-color, #FFF6D6);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    color: rgba(255, 246, 214, 0.8);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure 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: 8px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Important for button responsiveness */
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #ffffff; /* Rule: primary button text is white */
    border: none;
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #FFE88A 0%, #EEB12D 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--primary-color, #F2C14E);
    border: 2px solid var(--primary-color, #F2C14E);
}

.page-fishing-games__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-fishing-games__dark-section {
    background-color: var(--card-bg-color, #111111);
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 10px;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--text-main-color, #FFF6D6);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    color: rgba(255, 246, 214, 0.8);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px auto;
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 60px 0;
    background-color: var(--background-color, #0A0A0A);
    margin-bottom: 40px;
}

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

.page-fishing-games__feature-card {
    background-color: var(--card-bg-color, #111111);
    border: 1px solid var(--border-color, #3A2A12);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-fishing-games__card-title {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--text-main-color, #FFF6D6);
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: rgba(255, 246, 214, 0.7);
}

/* How To Play Section */
.page-fishing-games__how-to-play-section {
    padding: 60px 0;
    background-color: var(--card-bg-color, #111111);
    margin-bottom: 40px;
}

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

.page-fishing-games__step-item {
    background-color: var(--background-color, #0A0A0A);
    border: 1px solid var(--border-color, #3A2A12);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #ffffff;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__step-title {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--text-main-color, #FFF6D6);
    margin-bottom: 10px;
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 0;
    background-color: var(--background-color, #0A0A0A);
    margin-bottom: 40px;
}

.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, #111111);
    border: 1px solid var(--border-color, #3A2A12);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg-color, #111111);
    margin-bottom: 40px;
}

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

details.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color, #3A2A12);
    overflow: hidden;
    background: var(--background-color, #0A0A0A);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main-color, #FFF6D6);
    font-weight: 600;
    font-size: 1.1em;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
    display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
    background: rgba(242, 193, 78, 0.05);
}
.page-fishing-games__faq-qtext {
    flex: 1;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color, #FFF6D6);
}
.page-fishing-games__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color, #F2C14E);
    flex-shrink: 0;
    margin-left: 15px;
    width: 32px;
    text-align: center;
    line-height: 1;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 25px 25px;
    background: var(--background-color, #0A0A0A);
    border-radius: 0 0 10px 10px;
    color: rgba(255, 246, 214, 0.7);
    font-size: 1em;
}
.page-fishing-games__faq-answer p {
    margin: 0;
}


/* Bottom CTA Section */
.page-fishing-games__cta-bottom-section {
    padding: 60px 0;
    background-color: var(--background-color, #0A0A0A);
    text-align: center;
}

/* General image responsive styles */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 2.8em;
    }
    .page-fishing-games__section-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description,
    .page-fishing-games__text-block {
        font-size: 1.05em;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__step-item,
    .page-fishing-games__promo-card {
        padding: 25px;
    }
    .page-fishing-games__step-list,
    .page-fishing-games__features-grid,
    .page-fishing-games__promo-cards {
        gap: 25px;
    }
    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
        padding: 15px 20px;
    }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
    }
    .page-fishing-games__hero-content {
        padding: 0 10px 30px;
    }
    .page-fishing-games__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* General Section Styles */
    .page-fishing-games__dark-section,
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-bottom-section {
        padding: 40px 0;
        margin-bottom: 30px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__text-block {
        font-size: 0.95em;
        padding: 0 10px;
    }

    /* Features Section */
    .page-fishing-games__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .page-fishing-games__feature-card {
        padding: 20px;
    }
    .page-fishing-games__feature-image {
        height: 180px; /* Adjusted height for mobile */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__card-title {
        font-size: 1.2em;
    }
    .page-fishing-games__card-description {
        font-size: 0.9em;
    }

    /* How To Play Section */
    .page-fishing-games__step-list {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .page-fishing-games__step-item {
        padding: 25px;
    }
    .page-fishing-games__step-number {
        width: 45px;
        height: 45px;
        font-size: 1.6em;
    }
    .page-fishing-games__step-title {
        font-size: 1.1em;
    }
    .page-fishing-games__cta-center {
        margin-top: 40px;
    }

    /* Promotions Section */
    .page-fishing-games__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .page-fishing-games__promo-card {
        padding: 20px;
    }
    .page-fishing-games__promo-image {
        height: 180px; /* Adjusted height for mobile */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* FAQ Section */
    .page-fishing-games__faq-list {
        margin-top: 30px;
    }
    details.page-fishing-games__faq-item {
        margin-bottom: 10px;
    }
    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
        padding: 15px 15px;
        font-size: 1em;
    }
    .page-fishing-games__faq-qtext {
        font-size: 0.95em;
    }
    .page-fishing-games__faq-toggle {
        font-size: 24px;
        width: 28px;
        margin-left: 10px;
    }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
        padding: 0 15px 15px;
        font-size: 0.95em;
    }

    /* All images responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    /* All containers containing images or buttons */
    .page-fishing-games__hero-section,
    .page-fishing-games__about-section,
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-bottom-section,
    .page-fishing-games__features-grid,
    .page-fishing-games__step-list,
    .page-fishing-games__promo-cards {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    /* Specific card/item padding adjustments */
    .page-fishing-games__feature-card,
    .page-fishing-games__step-item,
    .page-fishing-games__promo-card {
        padding-left: 15px;
        padding-right: 15px;
    }
}