.page-fishing-games {
    background-color: #0D0E12; /* Background from custom palette */
    color: #FFF3E6; /* Text Main from custom palette */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, #0D0E12 0%, #17191F 100%); /* Custom background */
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for hero image based on 1200x675 */
}

.page-fishing-games__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    z-index: 1;
}

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

.page-fishing-games__hero-description {
    font-size: 1.1rem;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-view-promo {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    max-width: 100%;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Custom button gradient */
    color: #ffffff;
    border: none;
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 0 15px #FFB04D; /* Glow effect */
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: #FF8C1A;
    border: 2px solid #FF8C1A; /* Border color */
}

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

/* General Section Styling */
.page-fishing-games__intro-section,
.page-fishing-games__features-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__faq-section {
    padding: 80px 0;
    text-align: center;
    background-color: #0D0E12; /* Background from custom palette */
}

.page-fishing-games__intro-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__why-choose-section {
    background-color: #17191F; /* Card BG from custom palette for alternating sections */
}

.page-fishing-games h2 {
    font-size: 2.5rem;
    color: #FF8C1A; /* Main color */
    margin-bottom: 40px;
    font-weight: bold;
}

.page-fishing-games h3 {
    font-size: 1.8rem;
    color: #FFA53A; /* Auxiliary color */
    margin-bottom: 20px;
}

.page-fishing-games p {
    font-size: 1rem;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 20px;
}

.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

/* Grid Layouts */
.page-fishing-games__features-grid,
.page-fishing-games__games-grid,
.page-fishing-games__steps-grid,
.page-fishing-games__promotions-grid,
.page-fishing-games__why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.page-fishing-games__feature-card,
.page-fishing-games__game-card,
.page-fishing-games__step-card,
.page-fishing-games__promo-card,
.page-fishing-games__reason-card {
    background-color: #17191F; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid #A84F0C; /* Border color */
}

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

.page-fishing-games__btn-play,
.page-fishing-games__btn-view-promo {
    margin-top: auto; /* Push button to bottom of card */
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #ffffff;
    border: none;
}

.page-fishing-games__btn-play:hover,
.page-fishing-games__btn-view-promo:hover {
    opacity: 0.9;
    box-shadow: 0 0 10px #FFB04D;
}

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

.page-fishing-games__faq-item {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #FFA53A; /* Auxiliary color */
    cursor: pointer;
    background-color: #17191F; /* Card BG */
    position: relative;
    list-style: none; /* For <summary> */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for <summary> */
}

.page-fishing-games__faq-question::marker {
    display: none; /* Hide default marker for <summary> */
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #FF8C1A; /* Main color */
    margin-left: 15px;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #FFF3E6; /* Text Main */
    line-height: 1.6;
}

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

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

    .page-fishing-games h2 {
        font-size: 2rem;
    }

    .page-fishing-games h3 {
        font-size: 1.5rem;
    }

    .page-fishing-games__hero-image {
        max-height: 400px;
    }

    .page-fishing-games__intro-section,
    .page-fishing-games__features-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__faq-section {
        padding: 60px 0;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promotions-grid,
    .page-fishing-games__why-choose-grid {
        gap: 20px;
        padding: 0 15px;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__faq-list {
        padding: 0 15px;
    }
}

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

    .page-fishing-games__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

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

    .page-fishing-games__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

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

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

    /* 按钮与按钮容器 */
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-play,
    .page-fishing-games__btn-view-promo {
        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__promotions-cta,
    .page-fishing-games__how-to-play-cta,
    .page-fishing-games__why-choose-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column;
    }

    /* 通用图片与容器 */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-left: auto;
        margin-right: auto;
    }

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

    /* 产品展示图区域 (General Grid) */
    .page-fishing-games__features-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promotions-grid,
    .page-fishing-games__why-choose-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    /* 其他内容模块 */
    .page-fishing-games__intro-section,
    .page-fishing-games__features-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__faq-section {
        padding: 40px 0;
    }

    .page-fishing-games h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .page-fishing-games h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .page-fishing-games p {
        font-size: 0.95rem;
    }

    .page-fishing-games__faq-list {
        padding: 0 15px !important;
    }

    .page-fishing-games__faq-item {
        margin-left: 0;
        margin-right: 0;
    }

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

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