/* style/fishing-games.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --dark-bg-color: #0a0a0a;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --button-login-color: #EA7C07;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-on-dark); /* Default text color for the page, as body is dark */
    background-color: var(--dark-bg-color); /* Inherited from body via shared.css */
}

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

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-on-dark);
    padding: 20px;
    box-sizing: border-box;
}

.page-fishing-games__main-title {
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color);
    max-width: 100%;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-fishing-games__intro-text {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

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

.page-fishing-games__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--secondary-color);
}

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

.page-fishing-games__overview-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
    background-color: var(--secondary-color);
    color: var(--text-on-light);
    padding: 60px 0;
}

.page-fishing-games__game-types-section,
.page-fishing-games__strategy-section,
.page-fishing-games__support-security-section {
    background-color: var(--dark-bg-color);
    color: var(--text-on-dark);
    padding: 60px 0;
}

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
    color: var(--secondary-color);
}

.page-fishing-games__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-fishing-games__dark-bg .page-fishing-games__sub-title {
    color: var(--secondary-color);
}

.page-fishing-games__text-block {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.page-fishing-games__list-item {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-fishing-games__list-item::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-fishing-games__dark-bg .page-fishing-games__list-item::before {
    color: var(--secondary-color);
}

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

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 30px;
}

.page-fishing-games__faq-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-on-light);
    border: 1px solid #e0e0e0;
}

.page-fishing-games__dark-bg .page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-on-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.page-fishing-games__dark-bg .page-fishing-games__faq-question {
    color: var(--secondary-color);
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

details[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-on-light);
}

.page-fishing-games__dark-bg .page-fishing-games__faq-answer {
    color: var(--text-on-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

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

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

    .page-fishing-games__intro-text {
        font-size: 1rem;
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__container {
        padding: 0 15px;
    }

    .page-fishing-games__overview-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__support-security-section,
    .page-fishing-games__faq-section {
        padding: 40px 0;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        margin-bottom: 20px;
    }

    .page-fishing-games__sub-title {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-fishing-games__text-block,
    .page-fishing-games__list-item,
    .page-fishing-games__faq-answer {
        font-size: 0.95rem;
    }

    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__content-image {
        margin: 20px auto;
    }

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

    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
    }

    /* Ensure all containing elements for images/buttons/videos are responsive */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__hero-content,
    .page-fishing-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .page-fishing-games__hero-image-wrapper {
        overflow: hidden;
    }

}

/* No filter property for images */
.page-fishing-games img {
    filter: none; /* Ensure no CSS filter is applied by default */
}

.page-fishing-games__hero-image {
    filter: brightness(0.5); /* This specific filter is for darkening the hero background image for text readability, not changing its color. */
}