/* style/fishing-games.css */

:root {
    --primary-color: #C91F17;
    --secondary-color: #E53935;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    --card-bg: #D32F2F;
    --background-color-page: #B71C1C;
    --text-main-color: #FFF5E1;
    --border-color: #F2B544;
    --glow-color: #FFCC66;
    --gold-color: #F4D34D;
    --deep-red-color: #7A0E0E;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Default text color for the page */
    background-color: var(--background-color-page); /* Page specific background */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background-color: var(--deep-red-color);
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-main-color);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* General Buttons */
.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;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #333333; /* Dark text for gold button */
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(255, 204, 102, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 204, 102, 0.6);
    opacity: 0.9;
}

.page-fishing-games__btn-secondary {
    background: var(--deep-red-color);
    color: var(--text-main-color);
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

/* Section Titles and Paragraphs */
.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__paragraph {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px auto;
    color: var(--text-main-color);
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 60px 20px;
    background-color: var(--background-color-page);
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 60px 20px;
    background-color: var(--deep-red-color);
}

.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-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color);
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__feature-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    display: block;
}

.page-fishing-games__feature-title {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

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

/* Games Showcase Section */
.page-fishing-games__games-showcase-section {
    padding: 60px 20px;
    background-color: var(--background-color-page);
}

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

.page-fishing-games__game-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color);
}

.page-fishing-games__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__game-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-fishing-games__game-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__game-title a {
    color: var(--gold-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__game-title a:hover {
    color: var(--glow-color);
}

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

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    padding: 60px 20px;
    background-color: var(--background-color-page);
}

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

.page-fishing-games__step-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-main-color);
}

.page-fishing-games__step-title {
    font-size: 1.6rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

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

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

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

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 20px;
    background-color: var(--deep-red-color);
}

.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: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color);
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__promo-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    display: block;
}

.page-fishing-games__promo-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__promo-title a {
    color: var(--gold-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__promo-title a:hover {
    color: var(--glow-color);
}

.page-fishing-games__promo-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--text-main-color);
}

.page-fishing-games__view-all-promos-container {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 20px;
    background-color: var(--background-color-page);
}

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

.page-fishing-games__faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-main-color);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-color);
    cursor: pointer;
    list-style: none;
    position: relative;
}

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-main-color);
    margin-left: 15px;
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: 1px solid rgba(242, 181, 68, 0.3);
}

/* Final CTA Section */
.page-fishing-games__final-cta-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--deep-red-color);
}

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

    .page-fishing-games__hero-description {
        font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    }

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

    .page-fishing-games__paragraph,
    .page-fishing-games__feature-description,
    .page-fishing-games__game-description,
    .page-fishing-games__step-description,
    .page-fishing-games__promo-description,
    .page-fishing-games__faq-answer {
        font-size: 1rem;
    }

    .page-fishing-games__hero-cta-buttons,
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

    /* HERO 主图区域 */
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }

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

    .page-fishing-games__main-title {
        font-size: 2rem !important;
        margin-bottom: 10px;
    }

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

    .page-fishing-games__hero-cta-buttons {
        gap: 15px;
    }

    /* 产品展示图区域 & 通用图片与容器 */
    .page-fishing-games__features-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__steps-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__features-section,
    .page-fishing-games__games-showcase-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__final-cta-section,
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__step-item,
    .page-fishing-games__promo-card,
    .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-button,
    .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__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column;
    }

    /* 其他内容模块 */
    .page-fishing-games__section-title {
        font-size: 1.8rem !important;
        margin-bottom: 20px;
    }

    .page-fishing-games__paragraph {
        font-size: 1rem !important;
    }

    .page-fishing-games__feature-title,
    .page-fishing-games__game-title,
    .page-fishing-games__step-title,
    .page-fishing-games__promo-title,
    .page-fishing-games__faq-question {
        font-size: 1.2rem !important;
    }

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

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

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