/* style/fishing-games.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --bg-light: #F8F9FA; /* Slightly off-white for light background sections */
    --bg-dark: #26A9E0; /* Primary color as dark background */
    --button-login: #EA7C07;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark); /* Default text color for light backgrounds */
    line-height: 1.6;
}

.page-fishing-games__dark-bg {
    background: var(--bg-dark);
    color: var(--text-light);
}

.page-fishing-games__light-bg {
    background: var(--bg-light);
    color: var(--text-dark);
}

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

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit hero image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 400px; /* Ensure image is not too small on desktop */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 20px;
    margin-top: 20px; /* Space below image */
    box-sizing: border-box;
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 30px;
    color: var(--text-light);
    opacity: 0.9;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background-color: var(--button-login);
    color: var(--text-light);
    border: 2px solid var(--button-login);
}

.page-fishing-games__btn-primary:hover {
    background-color: #e06c00;
    border-color: #e06c00;
}

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

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

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

.page-fishing-games__btn-tertiary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-fishing-games__btn-large {
    padding: 15px 35px;
    font-size: 1.15rem;
}

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

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-fishing-games__why-choose-section .page-fishing-games__section-title,
.page-fishing-games__how-to-play .page-fishing-games__section-title,
.page-fishing-games__faq-section .page-fishing-games__section-title {
    color: var(--primary-color);
}

.page-fishing-games__popular-games .page-fishing-games__section-title,
.page-fishing-games__promotions .page-fishing-games__section-title,
.page-fishing-games__final-cta .page-fishing-games__section-title {
    color: var(--text-light);
}

.page-fishing-games__section-description {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.page-fishing-games__why-choose-section {
    padding: 80px 0;
}

.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(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

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

.page-fishing-games__feature-icon {
    width: 200px; /* Min size for images */
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-fishing-games__feature-card p {
    font-size: 1rem;
    color: var(--text-dark);
    flex-grow: 1;
}

.page-fishing-games__popular-games {
    padding: 80px 0;
}

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, background-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.page-fishing-games__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
    color: var(--text-light);
    font-size: 1.5rem;
}

.page-fishing-games__game-card p {
    color: var(--text-light);
    opacity: 0.9;
    font-size: 1rem;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-fishing-games__how-to-play {
    padding: 80px 0;
}

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

.page-fishing-games__step-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__step-card p {
    font-size: 1rem;
    color: var(--text-dark);
}

.page-fishing-games__step-card a {
    color: var(--button-login);
    text-decoration: none;
    font-weight: 600;
}

.page-fishing-games__step-card a:hover {
    text-decoration: underline;
}

.page-fishing-games__tips-strategies {
    margin-top: 60px;
    background-color: var(--secondary-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.page-fishing-games__sub-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.page-fishing-games__tips-strategies ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-fishing-games__tips-strategies li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.page-fishing-games__tips-strategies li::before {
    content: '•';
    color: var(--button-login);
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -5px;
}

.page-fishing-games__promotions {
    padding: 80px 0;
}

.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: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

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

.page-fishing-games__promo-card .page-fishing-games__card-title {
    color: var(--text-light);
    font-size: 1.4rem;
}

.page-fishing-games__promo-card p {
    color: var(--text-light);
    opacity: 0.9;
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 20px;
}

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

.page-fishing-games__faq-section {
    padding: 80px 0;
}

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

.page-fishing-games__faq-item {
    background-color: var(--secondary-color);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    background-color: #f0f0f0; /* Slightly different background for questions */
    border-bottom: 1px solid #e0e0e0;
    list-style: none; /* For details tag */
}

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

.page-fishing-games__faq-question:hover {
    background-color: #e5e5e5;
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding-top: 20px;
    padding-bottom: 20px;
}

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

.page-fishing-games__faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.page-fishing-games__faq-answer a:hover {
    text-decoration: underline;
}

.page-fishing-games__final-cta {
    padding: 80px 0;
    text-align: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        padding: 15px;
    }

    .page-fishing-games__hero-image {
        min-height: 300px;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 4.5vw, 2.5rem);
    }

    .page-fishing-games__section-description {
        margin-bottom: 30px;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__step-card,
    .page-fishing-games__promo-card {
        padding: 25px;
    }

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

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

    .page-fishing-games__hero-image {
        min-height: 250px;
    }

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

    .page-fishing-games__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-tertiary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__container,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__popular-games,
    .page-fishing-games__how-to-play,
    .page-fishing-games__promotions,
    .page-fishing-games__faq-section,
    .page-fishing-games__final-cta {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }

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

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

    .page-fishing-games__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 15px;
    }

    .page-fishing-games__section-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

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

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

    .page-fishing-games__step-number {
        font-size: 1.3rem;
    }

    .page-fishing-games__sub-title {
        font-size: 1.6rem;
    }

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

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

    .page-fishing-games__hero-image-wrapper {
        max-height: none;
    }
    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body handles header offset */
    }
}

/* Ensure content images are not too small */
.page-fishing-games__feature-icon,
.page-fishing-games__game-image,
.page-fishing-games__promo-image {
    min-width: 200px;
    min-height: 150px;
}

/* Image filter restriction */
.page-fishing-games img {
    filter: none; /* Ensure no CSS filters are applied */
}