/* style/fishing-games.css */

/* Global styles for the page-fishing-games scope */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Inherit from body or shared, will be #0a0a0a */
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff; /* Light text for titles */
    line-height: 1.2;
}

.page-fishing-games__section-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #f0f0f0; /* Slightly off-white for body text */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body has --header-offset */
    padding-bottom: 60px;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Ensure image is above content block */
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-height: 400px; /* Ensure hero image is not too small */
}

.page-fishing-games__hero-content-wrapper {
    position: relative; /* Relative to hero section */
    max-width: 900px;
    margin-top: -150px; /* Overlap slightly with image for visual effect */
    padding: 40px;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    border-radius: 10px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px); /* Subtle blur for background */
}

.page-fishing-games__hero-title {
    font-size: 3.2em;
    font-weight: 900;
    color: #FFFF00; /* Yellow for prominence */
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure buttons adapt */
}

.page-fishing-games__btn-primary {
    background-color: #C30808; /* Red for primary action */
    color: #FFFF00; /* Yellow text for contrast */
    border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
    background-color: #a30606;
    transform: translateY(-3px);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
    transform: translateY(-3px);
}

.page-fishing-games__btn-tertiary {
    background-color: #017439; /* Brand green */
    color: #ffffff;
    border: 2px solid #017439;
    padding: 10px 20px;
    font-size: 1em;
}

.page-fishing-games__btn-tertiary:hover {
    background-color: #005a2c;
    transform: translateY(-2px);
}

/* Introduction Section */
.page-fishing-games__introduction-section {
    padding: 60px 0;
    background-color: rgba(0, 0, 0, 0.4); /* Slightly lighter dark background */
}

/* Games Showcase Section */
.page-fishing-games__games-showcase-section {
    padding: 60px 0;
    background-color: rgba(0, 0, 0, 0.6);
}

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__game-title {
    font-size: 1.5em;
    color: #FFFF00; /* Yellow for game titles */
    margin: 20px 15px 10px;
}

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: #cccccc;
    padding: 0 15px 20px;
    text-align: center;
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 60px 0;
    background-color: #017439; /* Brand green as dark background */
    color: #ffffff; /* Light text for contrast */
}

.page-fishing-games__features-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(0, 0, 0, 0.3); /* Dark overlay on brand green */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__feature-title {
    font-size: 1.4em;
    color: #FFFF00; /* Yellow for feature titles */
    margin-bottom: 15px;
}

.page-fishing-games__feature-description {
    font-size: 0.95em;
    color: #e0e0e0;
}

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

.page-fishing-games__how-to-play-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-fishing-games__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-fishing-games__step-number {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #C30808; /* Red circle */
    color: #FFFF00; /* Yellow number */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 2px solid #FFFF00;
}

.page-fishing-games__step-title {
    font-size: 1.3em;
    color: #FFFF00;
    margin-bottom: 10px;
}

.page-fishing-games__step-description {
    font-size: 0.95em;
    color: #e0e0e0;
}

.page-fishing-games__how-to-play-image-wrapper {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-fishing-games__how-to-play-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-buttons--centered {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
    padding: 60px 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__strategy-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #017439; /* Brand green accent */
    border-radius: 5px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__strategy-subtitle {
    font-size: 1.4em;
    color: #FFFF00;
    margin-bottom: 10px;
}

.page-fishing-games__strategy-description {
    font-size: 1em;
    color: #e0e0e0;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 0;
    background-color: rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__promo-title {
    font-size: 1.5em;
    color: #FFFF00;
    margin: 20px 15px 10px;
}

.page-fishing-games__promo-description {
    font-size: 0.95em;
    color: #cccccc;
    padding: 0 15px 20px;
    text-align: center;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: #017439; /* Brand green for dark background */
    color: #ffffff; /* Light text */
}

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

.page-fishing-games__faq-item {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFF00;
    cursor: pointer;
    list-style: none; /* Hide default marker */
}

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #FFFF00;
}

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

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #e0e0e0;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    padding: 80px 0;
    background-color: rgba(0, 0, 0, 0.8); /* Darker background */
    text-align: center;
}

.page-fishing-games__cta-final-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 2.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.2em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__games-grid,
    .page-fishing-games__features-grid,
    .page-fishing-games__how-to-play-steps,
    .page-fishing-games__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 40px !important;
    }
    .page-fishing-games__hero-image {
        min-height: 250px !important;
        height: auto !important;
        max-width: 100% !important;
    }
    .page-fishing-games__hero-content-wrapper {
        margin-top: -80px !important; /* Adjust overlap for mobile */
        padding: 20px !important;
    }
    .page-fishing-games__hero-title {
        font-size: 2em !important; /* H1 font size for mobile */
        margin-bottom: 15px !important;
    }
    .page-fishing-games__hero-description {
        font-size: 1em !important;
        margin-bottom: 20px !important;
    }
    .page-fishing-games__hero-cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
    }

    /* 产品展示图区域 */
    .page-fishing-games__games-showcase-section,
    .page-fishing-games__promotions-section {
        padding: 40px 0 !important;
    }
    .page-fishing-games__games-grid,
    .page-fishing-games__promotions-grid {
        grid-template-columns: 1fr !important; /* Single column for game cards */
        gap: 20px !important;
    }
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card {
        padding-bottom: 15px !important;
    }
    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        height: 180px !important; /* Adjust height for mobile cards */
        max-width: 100% !important;
        width: 100% !important;
    }
    .page-fishing-games__game-title,
    .page-fishing-games__promo-title {
        font-size: 1.3em !important;
        margin: 15px 10px 8px !important;
    }
    .page-fishing-games__game-description,
    .page-fishing-games__promo-description {
        font-size: 0.9em !important;
        padding: 0 10px 15px !important;
    }
    
    /* 通用图片与容器 */
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* 按钮与按钮容器 */
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-tertiary,
    .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 15px !important;
        font-size: 1em !important;
    }
    .page-fishing-games__hero-cta-buttons,
    .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;
        overflow: hidden !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        flex-direction: column !important; /* Ensure vertical stacking for CTA groups */
    }

    /* 其他内容模块 */
    .page-fishing-games__introduction-section,
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final-section {
        padding: 40px 0 !important;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px !important;
    }
    .page-fishing-games__section-text {
        font-size: 0.95em !important;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__how-to-play-steps {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .page-fishing-games__feature-item,
    .page-fishing-games__step-item,
    .page-fishing-games__strategy-item,
    .page-fishing-games__promo-card {
        padding: 20px !important;
    }
    .page-fishing-games__feature-title,
    .page-fishing-games__step-title,
    .page-fishing-games__strategy-subtitle {
        font-size: 1.2em !important;
    }
    .page-fishing-games__faq-question {
        font-size: 1em !important;
        padding: 15px 20px !important;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px !important;
    }
    .page-fishing-games__cta-final-section {
        padding: 60px 0 !important;
    }
}