/* Base styles for the fishing-games page */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: #FFF5E1; /* Text Main */
    background: #B71C1C; /* Background */
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
    color: #FFF5E1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height on desktop */
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop, contain for mobile */
}

.page-fishing-games__hero-content {
    position: relative; /* Ensure content is above any potential background elements */
    z-index: 2;
    padding: 40px 20px;
    max-width: 900px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-fishing-games__hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFCC66; /* Gold */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 800px;
    color: #FFF5E1;
}

.page-fishing-games__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* General Section Styles */
.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
    background: #7A0E0E; /* Deep Red */
    margin-bottom: 20px;
}

.page-fishing-games__section:nth-of-type(even) {
    background: #B71C1C; /* Background */
}

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

.page-fishing-games__section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 30px;
    color: #F4D34D; /* Gold */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF5E1;
}

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

.page-fishing-games__game-card {
    background: #D32F2F; /* Card BG */
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid #F2B544; /* Border */
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #F2B544;
}

.page-fishing-games__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFCC66; /* Glow */
}

.page-fishing-games__card-description {
    font-size: 0.95rem;
    color: #FFF5E1;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-fishing-games__step-card {
    background: #D32F2F; /* Card BG */
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid #F2B544; /* Border */
}

.page-fishing-games__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFCC66; /* Glow */
}

.page-fishing-games__step-card p {
    font-size: 0.95rem;
    color: #FFF5E1;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Features Grid */
.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: #D32F2F; /* Card BG */
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid #F2B544; /* Border */
}

.page-fishing-games__feature-icon {
    width: 100%; /* Ensure images are not too small */
    max-width: 200px;
    height: auto;
    min-height: 200px; /* Minimum size requirement */
    object-fit: contain;
    margin-bottom: 15px;
}

.page-fishing-games__feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFCC66; /* Glow */
}

.page-fishing-games__feature-item p {
    font-size: 0.95rem;
    color: #FFF5E1;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Promotions Grid */
.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: #D32F2F; /* Card BG */
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid #F2B544; /* Border */
}

.page-fishing-games__promo-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFCC66; /* Glow */
}

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

/* Call to Action Center */
.page-fishing-games__cta-center {
    margin-top: 40px;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Base responsive for all buttons */
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
    color: #7A0E0E; /* Deep Red for contrast */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid #F4D34D;
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-secondary {
    background: #C91F17; /* Main Color */
    color: #FFF5E1; /* Text Main */
    border: 2px solid #F4D34D; /* Gold */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary:hover {
    background: #E53935; /* Auxiliary Color */
    border-color: #FFCC66; /* Glow */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-tertiary {
    background: #7A0E0E; /* Deep Red */
    color: #FFCC66; /* Glow */
    border: 1px solid #F2B544; /* Border */
    font-size: 1rem;
    padding: 10px 20px;
}

.page-fishing-games__btn-tertiary:hover {
    background: #5a0a0a;
    color: #F4D34D;
    border-color: #FFCC66;
}

/* FAQ Section */
details.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #F2B544; /* Border */
    overflow: hidden;
    background: #D32F2F; /* Card BG */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: #FFCC66; /* Glow */
    font-weight: 600;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
    display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
    background: #B71C1C; /* Background */
}
.page-fishing-games__faq-qtext {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: left;
    color: #FFCC66; /* Glow */
}
.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #FFF5E1; /* Text Main */
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 20px 20px;
    background: #7A0E0E; /* Deep Red */
    border-radius: 0 0 5px 5px;
    color: #FFF5E1; /* Text Main */
    text-align: left;
}
.page-fishing-games__faq-answer p {
    margin-bottom: 10px;
    font-size: 1rem;
}
.page-fishing-games__faq-answer .page-fishing-games__btn-tertiary {
    margin-top: 10px;
    display: inline-block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: clamp(2.2rem, 5vw, 3rem);
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-fishing-games__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 400px;
    }
    .page-fishing-games__hero-image {
        object-fit: contain !important; /* Mobile: contain to prevent cropping */
        aspect-ratio: unset !important; /* Remove fixed aspect ratio */
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__hero-content {
        padding: 30px 15px;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 10px;
    }
    .page-fishing-games__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-fishing-games__hero-cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .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;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 通用图片与容器 */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__container,
    .page-fishing-games__game-card,
    .page-fishing-games__step-card,
    .page-fishing-games__feature-item,
    .page-fishing-games__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 20px;
    }
    .page-fishing-games__text-block {
        font-size: 0.95rem;
        text-align: left; /* Align text left for better readability on mobile */
    }

    /* 产品展示图区域 (Game Grid) */
    .page-fishing-games__game-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns for mobile */
        gap: 20px;
        overflow-x: hidden;
    }
    .page-fishing-games__game-card {
        padding: 15px;
    }
    .page-fishing-games__card-image {
        height: 150px; /* Adjust height for smaller screens */
    }
    .page-fishing-games__card-title {
        font-size: 1.2rem;
    }

    /* Steps Grid */
    .page-fishing-games__steps-grid {
        grid-template-columns: 1fr; /* Single column for steps on mobile */
        gap: 20px;
    }
    .page-fishing-games__step-card {
        padding: 20px;
    }
    .page-fishing-games__step-title {
        font-size: 1.2rem;
    }

    /* Features Grid */
    .page-fishing-games__feature-grid {
        grid-template-columns: 1fr; /* Single column for features on mobile */
        gap: 20px;
    }
    .page-fishing-games__feature-item {
        padding: 20px;
    }
    .page-fishing-games__feature-icon {
        min-height: 150px; /* Adjust min height for mobile */
        max-width: 150px;
    }
    .page-fishing-games__feature-title {
        font-size: 1.2rem;
    }

    /* Promotions Grid */
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr; /* Single column for promotions on mobile */
        gap: 20px;
    }
    .page-fishing-games__promo-card {
        padding: 20px;
    }
    .page-fishing-games__promo-title {
        font-size: 1.2rem;
    }

    /* FAQ Section */
    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
        padding: 15px;
    }
    .page-fishing-games__faq-qtext {
        font-size: 1rem;
    }
    .page-fishing-games__faq-toggle {
        font-size: 20px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
        padding: 0 15px 15px;
    }
    .page-fishing-games__faq-answer p {
        font-size: 0.95rem;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
}