.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

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

.page-fishing-games__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles 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;
    background-color: #1a1a2e;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Adjust as needed for aspect ratio */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    margin-top: -100px; /* Pull content up slightly over image for visual flow */
    margin-bottom: 40px;
    border-radius: 10px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.2rem;
    color: #f0f0f0;
    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 {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background-color: #C30808; /* Register button color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

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

.page-fishing-games__btn-secondary {
    background-color: #C30808; /* Login button color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-fishing-games__text-block {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__dark-section {
    background-color: #017439; /* Main brand color for dark sections */
    padding: 60px 0;
}

.page-fishing-games__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-fishing-games__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__about-section {
    padding: 60px 0;
}

.page-fishing-games__why-choose-section {
    padding: 60px 0;
    background-color: #1a1a2e;
}

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

.page-fishing-games__feature-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #017439;
    font-weight: bold;
}

.page-fishing-games__feature-description {
    font-size: 1rem;
    color: #555555;
}

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

.page-fishing-games__featured-games-section {
    padding: 60px 0;
}

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

.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.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    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;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__game-title {
    font-size: 1.3rem;
    color: #FFFFFF;
    margin: 15px 10px 10px;
    font-weight: bold;
}

.page-fishing-games__game-title a {
    color: #FFFFFF;
    text-decoration: none;
}

.page-fishing-games__game-title a:hover {
    text-decoration: underline;
}

.page-fishing-games__game-description {
    font-size: 0.95rem;
    color: #f0f0f0;
    padding: 0 15px;
    flex-grow: 1;
    margin-bottom: 15px;
}

.page-fishing-games__btn-play {
    display: inline-block;
    background-color: #C30808;
    color: #FFFF00;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: calc(100% - 30px); /* Account for padding */
    box-sizing: border-box;
    text-align: center;
}

.page-fishing-games__btn-play:hover {
    background-color: #a00606;
}

.page-fishing-games__tips-section {
    padding: 60px 0;
    background-color: #1a1a2e;
}

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

.page-fishing-games__tip-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #FFFFFF;
    color: #333333;
    transition: transform 0.3s ease;
}

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

.page-fishing-games__tip-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #017439;
    font-weight: bold;
}

.page-fishing-games__tip-description {
    font-size: 1rem;
    color: #555555;
}

.page-fishing-games__promotions-section {
    padding: 60px 0;
}

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

.page-fishing-games__promo-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promo-title {
    font-size: 1.4rem;
    color: #FFFFFF;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__promo-description {
    font-size: 1rem;
    color: #f0f0f0;
}

.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: #1a1a2e;
}

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games__faq-item {
    background-color: #FFFFFF;
    color: #333333;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    background-color: #f8f8f8;
    color: #017439;
    border-bottom: 1px solid #eee;
    list-style: none;
}

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

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: 1px solid #ddd;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #017439;
    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: 15px 25px 20px;
    font-size: 1rem;
    color: #555555;
    line-height: 1.7;
}

.page-fishing-games__final-cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games__cta-content {
    max-width: 800px;
}

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

/* General image styling for content area */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

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

    .page-fishing-games__container {
        padding: 15px;
    }

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

    .page-fishing-games__hero-content {
        padding: 30px 15px;
        margin-top: -80px; /* Adjust pull up */
        margin-bottom: 30px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

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

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-play,
    .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;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-fishing-games__text-block {
        font-size: 1rem;
    }

    /* 产品展示图区域 */
    .page-fishing-games__games-grid {
        grid-template-columns: 1fr; /* Single column layout for games */
        gap: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .page-fishing-games__game-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-fishing-games__game-image {
        height: 180px; /* Adjust height for mobile consistency */
    }

    /* 通用图片与容器 */
    .page-fishing-games img {
        max-width: 100% !important;
        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;
        padding-right: 15px;
    }

    /* 其他内容模块 */
    .page-fishing-games__features-grid,
    .page-fishing-games__tips-grid,
    .page-fishing-games__promo-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-fishing-games__feature-title,
    .page-fishing-games__tip-title,
    .page-fishing-games__promo-title {
        font-size: 1.2rem;
    }

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

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

/* Desktop specific grid for games to ensure 3 columns on larger screens */
@media (min-width: 769px) {
    .page-fishing-games__games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ensure color contrast for elements with default light background */
.page-fishing-games__light-bg .page-fishing-games__feature-title,
.page-fishing-games__light-bg .page-fishing-games__feature-description,
.page-fishing-games__light-bg .page-fishing-games__tip-title,
.page-fishing-games__light-bg .page-fishing-games__tip-description,
.page-fishing-games__light-bg .page-fishing-games__faq-qtext,
.page-fishing-games__light-bg .page-fishing-games__faq-answer p {
    color: #333333;
}

.page-fishing-games__light-bg .page-fishing-games__faq-toggle {
    color: #017439;
}

.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__game-title a,
.page-fishing-games__dark-section .page-fishing-games__game-description,
.page-fishing-games__dark-section .page-fishing-games__promo-title,
.page-fishing-games__dark-section .page-fishing-games__promo-description {
    color: #ffffff;
}

.page-fishing-games__game-title a:hover {
    color: #FFFF00;
}