:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-fishing-games {
    font-family: Arial, sans-serif;
    color: var(--color-text-main);
    background-color: var(--color-background); /* Assumed body background from shared.css is dark */
    line-height: 1.6;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-primary);
}

.page-fishing-games__section-description {
    text-align: center;
    font-size: 1.1em;
    color: var(--color-text-secondary);
    margin-bottom: 50px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background: var(--color-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

/* HERO Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding as body padding-top is handled by shared.css */
    padding-bottom: 0;
}

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

.page-fishing-games__hero-content {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--color-card-bg);
    border-radius: 0 0 15px 15px;
    margin-top: -10px; /* Overlap slightly with image for smooth transition */
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-gold);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

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

/* ABOUT Section */
.page-fishing-games__about-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

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

.page-fishing-games__feature-item {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-title {
    font-size: 1.5em;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.page-fishing-games__feature-text {
    font-size: 1em;
    color: var(--color-text-secondary);
}

/* GAMES SHOWCASE Section */
.page-fishing-games__games-showcase-section {
    padding: 80px 0;
    background-color: var(--color-deep-green);
}

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

.page-fishing-games__game-card {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease;
}

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

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

.page-fishing-games__game-title {
    font-size: 1.4em;
    color: var(--color-gold);
    padding: 15px 20px 5px;
}

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: var(--color-text-secondary);
    padding: 0 20px 15px;
}

.page-fishing-games__btn-play {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 10px 0;
    background: var(--color-button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

.page-fishing-games__btn-play:hover {
    opacity: 0.9;
}

.page-fishing-games__view-all-games {
    text-align: center;
}

/* HOW TO PLAY Section */
.page-fishing-games__how-to-play-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

.page-fishing-games__content-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.page-fishing-games__text-content {
    flex: 1;
}

.page-fishing-games__image-content {
    flex: 1;
    min-width: 200px; /* Ensure image content is not too small */
}

.page-fishing-games__illustration-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: block;
}

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

.page-fishing-games__step-list li {
    background-color: var(--color-card-bg);
    border-left: 5px solid var(--color-primary);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__step-title {
    font-size: 1.3em;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.page-fishing-games__step-list p {
    font-size: 0.95em;
    color: var(--color-text-secondary);
}

.page-fishing-games__step-list a {
    color: var(--color-gold);
    text-decoration: underline;
}

.page-fishing-games__step-list a:hover {
    color: var(--color-secondary);
}

/* PROMOTIONS Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    background-color: var(--color-deep-green);
}

.page-fishing-games__promo-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
    background-color: var(--color-card-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
}

.page-fishing-games__promo-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    display: block;
    min-width: 200px; /* Ensure image content is not too small */
}

.page-fishing-games__promo-content {
    flex: 1;
}

.page-fishing-games__promo-content p {
    font-size: 1.1em;
    color: var(--color-text-secondary);
    margin-bottom: 25px;
}

.page-fishing-games__promo-list {
    list-style: disc;
    color: var(--color-text-main);
    margin-left: 20px;
    margin-bottom: 30px;
}

.page-fishing-games__promo-list li {
    margin-bottom: 10px;
    font-size: 1em;
    color: var(--color-text-secondary);
}

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

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

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

.page-fishing-games__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--color-text-main);
    list-style: none;
}

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

.page-fishing-games__faq-question {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-fishing-games__faq-qtext {
    color: var(--color-primary);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--color-gold);
    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: 0 20px 20px;
    font-size: 1em;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.page-fishing-games__cta-section {
    padding: 80px 0;
    background-color: var(--color-deep-green);
    text-align: center;
}

.page-fishing-games__cta-title {
    font-size: 2.2em;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.page-fishing-games__cta-description {
    font-size: 1.1em;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        padding: 40px 20px;
    }

    .page-fishing-games__section-title {
        font-size: 2em;
    }

    .page-fishing-games__promo-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .page-fishing-games__promo-image {
        max-width: 80%;
        margin-bottom: 30px;
    }

    .page-fishing-games__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .page-fishing-games__image-content {
        order: -1; /* Image above text on smaller screens */
    }
}

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

    .page-fishing-games__hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        padding: 0 15px;
    }

    .page-fishing-games__hero-description {
        font-size: 1em;
        padding: 0 15px;
    }

    .page-fishing-games__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    /* 产品展示图区域 */
    .page-fishing-games__games-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

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

    .page-fishing-games__view-all-games {
        padding: 0 15px;
    }

    /* 通用图片与容器 */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    .page-fishing-games__container,
    .page-fishing-games__feature-item,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-wrapper,
    .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__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 20px;
    }

    .page-fishing-games__illustration-image {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* 按钮与按钮容器 */
    .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-left: 15px;
        padding-right: 15px;
    }
    
    .page-fishing-games__hero-cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__view-all-games,
    .page-fishing-games__cta-section .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 15px;
        flex-direction: column;
    }

    /* 其他内容模块 */
    .page-fishing-games__about-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__cta-section {
        padding: 40px 0;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .page-fishing-games__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-fishing-games__feature-item,
    .page-fishing-games__step-list li {
        padding: 15px;
    }

    .page-fishing-games__faq-item summary {
        font-size: 1.1em;
        padding: 15px;
    }

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

    .page-fishing-games__cta-title {
        font-size: 1.8em;
    }

    .page-fishing-games__cta-description {
        font-size: 1em;
    }
}