/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

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

/* Section titles */
.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-fishing-games__section-title--light {
    color: #ffffff;
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-fishing-games__section-description--light {
    color: #f0f0f0;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 12px 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;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-fishing-games__btn-large {
    padding: 15px 40px;
    font-size: 1.1em;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column; /* Image first, then content */
    align-items: center;
    background-color: #FFFFFF;
    color: #333333;
}

.page-fishing-games__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Desktop default */
    margin-bottom: 30px;
    min-height: 200px; /* Ensure minimum size */
}

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

.page-fishing-games__hero-title {
    font-size: clamp(2em, 4vw, 3.5em); /* H1 size constraint */
    color: #017439;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    padding: 80px 0;
    background-color: #017439; /* Brand primary color */
}

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

.page-fishing-games__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.page-fishing-games__feature-item:hover {
    transform: translateY(-5px);
}

.page-fishing-games__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Highlight with yellow from login font */
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-fishing-games__game-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1 / 1; /* Desktop default for game cards */
}

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

.page-fishing-games__game-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9; /* Adjust for common game thumbnail aspect ratio */
    min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__game-title {
    font-size: 1.3em;
    color: #017439;
    margin: 15px 10px 10px 10px;
}

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px;
    flex-grow: 1;
    margin-bottom: 15px;
}

.page-fishing-games__game-btn {
    background-color: #017439;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push button to bottom */
}

.page-fishing-games__game-btn:hover {
    background-color: #005a2d;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.page-fishing-games__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-fishing-games__step-item:hover {
    transform: translateY(-5px);
}

.page-fishing-games__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #017439;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-fishing-games__step-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
}

.page-fishing-games__step-description {
    color: #555555;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    background-color: #017439;
}

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

.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
    padding-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__promo-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    margin-bottom: 20px;
    min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__promo-title {
    font-size: 1.4em;
    color: #FFFF00;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__promo-description {
    font-size: 0.95em;
    color: #f0f0f0;
    padding: 0 15px;
    flex-grow: 1;
    margin-bottom: 15px;
}

.page-fishing-games__promo-btn {
    background-color: #C30808;
    color: #FFFF00;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.page-fishing-games__promo-btn:hover {
    background-color: #a30606;
}

/* Tips Section */
.page-fishing-games__tips-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__tips-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__tips-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
}

.page-fishing-games__tips-description {
    color: #555555;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #017439;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1em;
    list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-item summary::marker {
    display: none;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-fishing-games__faq-answer {
    padding: 15px 25px;
    background-color: #ffffff;
    color: #555555;
    font-size: 1em;
    border-top: 1px solid #eee;
}

/* Final CTA Section */
.page-fishing-games__cta-section {
    padding: 80px 0;
    background-color: #017439;
    text-align: center;
}

.page-fishing-games__cta-content {
    max-width: 900px;
}

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

/* --- Responsive Styles (Mobile) --- */
@media (max-width: 768px) {
    /* General Mobile Adaptations */
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-fishing-games__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-fishing-games__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* Buttons Mobile Adaptations */
    .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;
        padding-right: 15px;
    }

    .page-fishing-games__hero-cta,
    .page-fishing-games__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Hero Section Mobile */
    .page-fishing-games__hero-section {
        padding: 10px 0 40px 0;
    }

    .page-fishing-games__hero-image {
        object-fit: contain !important; /* Prevent cropping on mobile */
        aspect-ratio: unset !important; /* Remove fixed aspect ratio if any */
        max-height: none !important; /* Remove max height if any */
        min-height: 200px !important; /* Ensure minimum size */
        margin-bottom: 20px;
    }

    .page-fishing-games__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

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

    /* Why Choose Section Mobile */
    .page-fishing-games__features-grid {
        grid-template-columns: 1fr;
    }

    /* Popular Games Section Mobile */
    .page-fishing-games__game-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for games */
        gap: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .page-fishing-games__game-card {
        aspect-ratio: 1 / 1 !important; /* Ensure square aspect ratio on mobile */
    }
    .page-fishing-games__game-thumbnail {
        min-height: 150px !important; /* Adjust min-height for mobile game cards */
        aspect-ratio: 1 / 1 !important; /* Ensure square aspect ratio for thumbnail */
        object-fit: cover !important;
    }

    /* How to Play Section Mobile */
    .page-fishing-games__steps-grid {
        grid-template-columns: 1fr;
    }

    /* Promotions Section Mobile */
    .page-fishing-games__promo-cards-grid {
        grid-template-columns: 1fr;
    }

    /* Tips Section Mobile */
    .page-fishing-games__tips-list {
        grid-template-columns: 1fr;
    }

    /* FAQ Section Mobile */
    .page-fishing-games__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-fishing-games__faq-answer {
        padding: 10px 20px;
        font-size: 0.95em;
    }

    /* General image responsiveness for content area */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .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;
    }
}