/* style/fishing-games.css */

/* General Styles */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #f8f8f8; /* A very light grey for subtle contrast with white cards */
}

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

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

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

.page-fishing-games__section-title {
    font-size: 36px;
    margin-bottom: 40px;
    color: #017439; /* Primary brand color for titles */
    font-weight: bold;
    text-align: center;
}

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

.page-fishing-games__text--white {
    color: #ffffff;
}

.page-fishing-games__text--large {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Color Contrast Handlers */
.page-fishing-games__light-bg {
    background-color: #ffffff; /* White background for light sections */
    color: #333333;
}

.page-fishing-games__dark-bg {
    background-color: #017439; /* Primary brand color for dark sections */
    color: #ffffff;
}

/* CTA Button Styles */
.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__cta-button:hover {
    background: #e02c2c; /* Slightly lighter red on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button--wide {
    min-width: 250px;
    padding: 18px 50px;
    font-size: 20px;
}

.page-fishing-games__cta-button--yellow {
    background-color: #FFFF00;
    color: #C30808;
}

.page-fishing-games__cta-button--yellow:hover {
    background-color: #ffee00;
}

.page-fishing-games__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: #017439; /* Primary brand color */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-fishing-games__btn-primary:hover {
    background: #005a2e; /* Darker primary on hover */
    transform: translateY(-1px);
}

.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: #ffffff;
    color: #017439; /* Primary brand color for text */
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #017439;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-fishing-games__btn-secondary:hover {
    background: #e0e0e0; /* Light grey on hover */
    transform: translateY(-1px);
}

.page-fishing-games__button-group {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, #017439 0%, #017439 50%, #005a2e 100%); /* Green gradient */
    color: #ffffff;
}

.page-fishing-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
}

.page-fishing-games__main-title {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__description {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

/* Intro Section */
.page-fishing-games__section--intro p {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 20px auto;
    color: #555555;
}

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

.page-fishing-games__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-fishing-games__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min-size */
    min-height: 200px; /* Enforce min-size */
}

.page-fishing-games__card-title {
    font-size: 24px;
    color: #017439;
    margin-bottom: 15px;
}

.page-fishing-games__game-card p {
    font-size: 16px;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

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

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

.page-fishing-games__feature-title {
    font-size: 22px;
    color: #017439;
    margin-bottom: 15px;
}

.page-fishing-games__feature-item p {
    font-size: 16px;
    color: #555555;
}

/* Guide Section */
.page-fishing-games__guide-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__guide-text {
    flex: 1;
}

.page-fishing-games__guide-text p,
.page-fishing-games__guide-text li {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.7;
}

.page-fishing-games__ordered-list {
    list-style-type: decimal;
    margin-left: 25px;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-fishing-games__ordered-list li strong {
    color: #FFFF00; /* Yellow for emphasis on dark background */
}

.page-fishing-games__ordered-list--white li {
    color: #ffffff;
}

.page-fishing-games__guide-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__guide-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min-size */
    min-height: 200px; /* Enforce min-size */
}

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

.page-fishing-games__promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-fishing-games__promo-card img {
    width: 100%;
     /* Fixed height for promo images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min-size */
    min-height: 200px; /* Enforce min-size */
}

.page-fishing-games__promo-card p {
    font-size: 16px;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Why Choose Section */
.page-fishing-games__why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__why-choose-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__why-choose-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-fishing-games__why-choose-title {
    font-size: 22px;
    color: #FFFF00; /* Yellow for emphasis */
    margin-bottom: 15px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important; /* Ensure enough height for content */
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #333333;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-fishing-games__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-fishing-games__faq-question:active {
    background: #eeeeee;
}

.page-fishing-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #017439; /* Primary color for FAQ question */
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    color: #333;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 42px;
    }
    .page-fishing-games__section-title {
        font-size: 32px;
    }
    .page-fishing-games__description {
        font-size: 18px;
    }
    .page-fishing-games__guide-content {
        flex-direction: column;
    }
    .page-fishing-games__guide-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-fishing-games__description {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-fishing-games__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        width: 100% !important; /* Ensure buttons fit screen */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-top: 20px;
    }
    .page-fishing-games__cta-button--wide {
        min-width: unset;
        padding: 15px 30px;
        font-size: 18px;
    }

    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-fishing-games__text--large {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .page-fishing-games__game-grid,
    .page-fishing-games__features-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__why-choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__game-card,
    .page-fishing-games__feature-item,
    .page-fishing-games__promo-card,
    .page-fishing-games__why-choose-item {
        padding: 20px;
    }
    
    .page-fishing-games__game-card img,
    .page-fishing-games__promo-card img,
    .page-fishing-games__guide-image img,
    .page-fishing-games img { /* General image rule for content area */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Ensure min-size is kept */
        min-height: 200px !important; /* Ensure min-size is kept */
    }

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

    .page-fishing-games__guide-content {
        gap: 20px;
    }

    .page-fishing-games__guide-text p,
    .page-fishing-games__guide-text li {
        font-size: 16px;
    }

    .page-fishing-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-fishing-games__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-fishing-games__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-fishing-games__faq-answer {
        padding: 0 15px;
    }
    
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px !important;
    }

    .page-fishing-games__button-group {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

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

/* Ensure no image filters */
.page-fishing-games img {
    filter: none !important;
}