/* style/fishing-games.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-login-bg: #EA7C07;
    --background-white: #FFFFFF;
    --background-black: #000000;
}

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Aligns with shared header offset */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 70vh; /* Limit height for visual balance */
}

.page-fishing-games__hero-content {
    padding: 40px 20px;
    background-color: var(--background-white);
    width: 100%;
    box-sizing: border-box;
}

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

.page-fishing-games__hero-description {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* General Buttons */
.page-fishing-games__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.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: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-fishing-games__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    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(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

/* General Section Styles */
.page-fishing-games__intro-section,
.page-fishing-games__games-section,
.page-fishing-games__features-section,
.page-fishing-games__guide-section,
.page-fishing-games__strategy-section,
.page-fishing-games__promotions-section,
.page-fishing-games__benefits-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
    padding: 60px 0;
}

.page-fishing-games__section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-fishing-games__text-block {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 20px;
    color: var(--text-dark);
}

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

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__text-block,
.page-fishing-games__dark-section .page-fishing-games__feature-title,
.page-fishing-games__dark-section .page-fishing-games__feature-description {
    color: var(--text-light);
}

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

/* Games 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: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-fishing-games__game-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-fishing-games__game-description {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 20px;
}

.page-fishing-games__game-button {
    width: fit-content;
    margin: 0 auto;
    padding: 10px 25px;
    font-size: 1rem;
}

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

.page-fishing-games__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__feature-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--text-light);
}

.page-fishing-games__feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

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

.page-fishing-games__guide-image {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.page-fishing-games__guide-text {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-fishing-games__guide-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    color: var(--text-dark);
}

.page-fishing-games__guide-list li strong {
    color: var(--primary-color);
}

.page-fishing-games__guide-list li::before {
    content: attr(data-step);
    content: counter(step-counter);
    counter-increment: step-counter;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Strategy Section */
.page-fishing-games__strategy-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 20px;
}

.page-fishing-games__strategy-list li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.page-fishing-games__strategy-list li strong {
    color: var(--primary-color);
}

.page-fishing-games__strategy-list li a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-fishing-games__strategy-list li a:hover {
    color: darken(var(--primary-color), 10%);
}

/* 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: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__promo-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__promo-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.page-fishing-games__promo-note {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 40px;
}

.page-fishing-games__promo-note a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-fishing-games__promo-note a:hover {
    color: darken(var(--primary-color), 10%);
}

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

.page-fishing-games__benefit-item {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.page-fishing-games__benefit-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--text-light);
}

.page-fishing-games__benefit-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

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

.page-fishing-games__faq-item {
    background-color: var(--background-white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-fishing-games__faq-item[open] {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    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);
}

.page-fishing-games__faq-answer {
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    border-top: 1px solid #eee;
}

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

.page-fishing-games__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-fishing-games__faq-answer a:hover {
    color: darken(var(--primary-color), 10%);
}

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

.page-fishing-games__cta-section .page-fishing-games__section-title {
    color: var(--text-light);
}

.page-fishing-games__cta-section .page-fishing-games__text-block {
    color: var(--text-light);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* General image styling */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Media Queries for Responsive Design */

/* Tablet and Mobile */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-fishing-games__hero-description {
        font-size: 1.1rem;
    }

    .page-fishing-games__section-title {
        font-size: 2rem;
    }

    .page-fishing-games__text-block,
    .page-fishing-games__guide-list li,
    .page-fishing-games__strategy-list li,
    .page-fishing-games__promo-description,
    .page-fishing-games__benefit-description,
    .page-fishing-games__faq-answer {
        font-size: 1rem;
    }

    .page-fishing-games__game-title,
    .page-fishing-games__feature-title,
    .page-fishing-games__promo-title,
    .page-fishing-games__benefit-title {
        font-size: 1.4rem;
    }

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

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

    .page-fishing-games__intro-section,
    .page-fishing-games__games-section,
    .page-fishing-games__features-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__benefits-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 40px 0;
    }
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 0 !important;
    }

    .page-fishing-games__hero-image {
        max-height: 50vh;
    }

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

    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 10px;
    }

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

    /* 通用图片与容器 */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-fishing-games__container,
    .page-fishing-games__game-card,
    .page-fishing-games__feature-item,
    .page-fishing-games__promo-card,
    .page-fishing-games__benefit-item,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 按钮与按钮容器 */
    .page-fishing-games__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .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: 12px 20px !important;
        font-size: 1rem !important;
    }

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

    .page-fishing-games__text-block {
        font-size: 0.95rem;
        text-align: left;
    }

    /* Game Grid */
    .page-fishing-games__game-grid {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__game-image {
        height: 200px;
    }

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

    /* Features Section */
    .page-fishing-games__feature-grid {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__feature-item {
        padding: 20px;
    }

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

    /* Guide Section */
    .page-fishing-games__guide-content {
        flex-direction: column;
    }

    .page-fishing-games__guide-image {
        max-width: 100%;
    }

    .page-fishing-games__guide-list li {
        font-size: 0.95rem;
    }

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

    .page-fishing-games__promo-card {
        padding: 25px;
    }

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

    /* Benefits Section */
    .page-fishing-games__benefits-grid {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__benefit-item {
        padding: 25px;
    }

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

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

    .page-fishing-games__faq-answer {
        font-size: 0.95rem;
        padding: 15px;
    }

    /* CTA Section */
    .page-fishing-games__cta-section {
        padding: 50px 0;
    }
}