/* style/fishing-games.css */

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

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main);
    background-color: var(--body-bg);
}

.page-fishing-games__section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-fishing-games__section-title {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-secondary);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__highlight {
    color: var(--gold-color);
    font-weight: 700;
}

/* Hero Section */
.page-fishing-games__hero-section {
    padding-top: 10px; /* Rely on body padding-top from shared.css */
    padding-bottom: 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

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

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    padding: 0 15px;
    max-width: 900px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 4vw, 3.5em); /* Responsive font size */
    font-weight: 800;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(87, 227, 141, 0.7);
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__hero-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: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.4);
}

/* Intro Section */
.page-fishing-games__intro-section {
    background-color: var(--body-bg);
}

/* Advantages Section */
.page-fishing-games__advantages-section {
    background-color: var(--deep-green);
    padding: 80px 20px;
}

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

.page-fishing-games__advantage-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Games Section */
.page-fishing-games__games-section {
    background-color: var(--body-bg);
}

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

.page-fishing-games__game-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__game-title {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--gold-color);
    margin: 20px 15px 10px;
}

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

.page-fishing-games__btn-play {
    display: block;
    width: calc(100% - 30px);
    margin: 0 15px 20px;
    padding: 12px 0;
    background: var(--button-gradient);
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    transition: background 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

/* Strategy Section */
.page-fishing-games__strategy-section {
    background-color: var(--deep-green);
    padding: 80px 20px;
}

.page-fishing-games__strategy-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__strategy-text {
    flex: 2;
}

.page-fishing-games__strategy-subtitle {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-fishing-games__strategy-text p {
    font-size: 1.05em;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.page-fishing-games__strategy-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-fishing-games__strategy-image {
    width: 100%;
    height: auto;
    display: block;
}

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

.page-fishing-games__cta-text {
    font-size: 1.3em;
    color: var(--text-main);
    margin-bottom: 25px;
    font-weight: 600;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    background-color: var(--body-bg);
}

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

.page-fishing-games__promotion-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__promotion-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

/* Guide Section */
.page-fishing-games__guide-section {
    background-color: var(--deep-green);
    padding: 80px 20px;
}

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

.page-fishing-games__step-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    text-align: left;
    position: relative;
}

.page-fishing-games__step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--button-gradient);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.5);
}

.page-fishing-games__guide-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

/* FAQ Section */
.page-fishing-games__faq-section {
    background-color: var(--body-bg);
}

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

.page-fishing-games__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-fishing-games__faq-item[open] {
    background-color: var(--deep-green);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    list-style: none; /* Hide default marker for summary */
}

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

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

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

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    background-color: var(--deep-green);
    padding: 80px 20px;
}

.page-fishing-games__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
    margin-top: 30px;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2.2em;
    }

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

    .page-fishing-games__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-fishing-games__games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-fishing-games__strategy-content {
        flex-direction: column;
        align-items: center;
    }

    .page-fishing-games__strategy-image-wrapper {
        margin-top: 40px;
        max-width: 100%;
    }

    .page-fishing-games__advantage-card, .page-fishing-games__step-card {
        padding: 25px;
    }

    .page-fishing-games__card-title {
        font-size: 1.3em;
    }
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .page-fishing-games__section {
        padding: 40px 15px;
    }

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

    .page-fishing-games__text-block {
        font-size: 0.95em;
        line-height: 1.7;
    }

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

    .page-fishing-games__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 25px;
    }

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

    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }

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

    /* 按钮与按钮容器 */
    .page-fishing-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .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__games-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 25px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

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

    .page-fishing-games__game-image {
        height: 180px; /* Adjust height for mobile */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fishing-games__btn-play {
        width: calc(100% - 30px) !important;
    }

    /* 通用图片与容器 */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !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;
        overflow-x: hidden;
    }

    /* 其他内容模块 */
    .page-fishing-games__advantages-grid,
    .page-fishing-games__promotion-grid,
    .page-fishing-games__guide-steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-fishing-games__strategy-content {
        flex-direction: column;
        gap: 25px;
    }

    .page-fishing-games__strategy-image-wrapper {
        min-width: unset;
        margin-top: 25px;
    }

    .page-fishing-games__strategy-subtitle {
        font-size: 1.4em;
    }

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

    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.9em;
    }

    .page-fishing-games__step-card {
        padding: 25px 20px;
    }

    .page-fishing-games__step-number {
        left: 15px;
        top: -12px;
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
    
    .page-fishing-games__cta-block {
        padding: 0 15px;
    }

    .page-fishing-games__btn-large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}