/* style/fishing-games.css */

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

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

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

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* body已承担padding-top，此处仅小顶距 */
    background-color: var(--fishing-games-bg-color);
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

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

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--fishing-games-gold-color);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__description {
    font-size: 1.1rem;
    color: var(--fishing-games-text-secondary);
    margin-bottom: 30px;
}

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

.page-fishing-games__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.page-fishing-games__btn--primary {
    background: var(--fishing-games-btn-gradient);
    color: #ffffff; /* Text Main is F2FFF6, but white is safer for gradient button */
    border: 2px solid var(--fishing-games-glow-color);
    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: transparent;
    color: var(--fishing-games-glow-color);
    border: 2px solid var(--fishing-games-glow-color);
}

.page-fishing-games__btn--secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    transform: translateY(-3px);
}

.page-fishing-games__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--fishing-games-divider-color);
}

.page-fishing-games__section:last-of-type {
    border-bottom: none;
}

.page-fishing-games__heading {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--fishing-games-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-fishing-games__text {
    font-size: 1rem;
    color: var(--fishing-games-text-main);
    text-align: justify;
    margin-bottom: 30px;
}

.page-fishing-games__keyword {
    color: var(--fishing-games-glow-color);
    font-weight: bold;
}

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

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

.page-fishing-games__feature-title {
    font-size: 1.3rem;
    color: var(--fishing-games-glow-color);
    margin-bottom: 15px;
}

.page-fishing-games__feature-description {
    font-size: 0.95rem;
    color: var(--fishing-games-text-secondary);
}

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

.page-fishing-games__card {
    background-color: var(--fishing-games-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--fishing-games-border-color);
    display: flex;
    flex-direction: column;
    text-align: center;
}

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

.page-fishing-games__card-title {
    font-size: 1.4rem;
    color: var(--fishing-games-gold-color);
    margin: 20px 15px 10px 15px;
}

.page-fishing-games__card-description {
    font-size: 0.95rem;
    color: var(--fishing-games-text-secondary);
    padding: 0 15px 20px 15px;
    flex-grow: 1;
}

.page-fishing-games__btn--small {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin: 0 15px 20px 15px;
}

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

.page-fishing-games__step-item {
    background-color: var(--fishing-games-card-bg);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--fishing-games-border-color);
}

.page-fishing-games__step-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__step-title {
    font-size: 1.3rem;
    color: var(--fishing-games-glow-color);
    margin-bottom: 15px;
}

.page-fishing-games__step-description {
    font-size: 0.95rem;
    color: var(--fishing-games-text-secondary);
}

.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.page-fishing-games__strategy-item {
    background-color: var(--fishing-games-card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--fishing-games-border-color);
}

.page-fishing-games__strategy-title {
    font-size: 1.3rem;
    color: var(--fishing-games-gold-color);
    margin-bottom: 10px;
}

.page-fishing-games__strategy-description {
    font-size: 0.95rem;
    color: var(--fishing-games-text-secondary);
}

.page-fishing-games__promotion-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 40px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-fishing-games__benefit-item {
    background-color: var(--fishing-games-card-bg);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--fishing-games-border-color);
}

.page-fishing-games__benefit-title {
    font-size: 1.3rem;
    color: var(--fishing-games-glow-color);
    margin-bottom: 15px;
}

.page-fishing-games__benefit-description {
    font-size: 0.95rem;
    color: var(--fishing-games-text-secondary);
}

.page-fishing-games__why-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 40px auto 0 auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__faq-list {
    margin-top: 40px;
}

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--fishing-games-gold-color);
    font-weight: bold;
    list-style: none; /* For <summary> tag */
}

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    color: var(--fishing-games-glow-color);
    margin-left: 15px;
    line-height: 1;
}

.page-fishing-games__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    color: var(--fishing-games-text-secondary);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: 1px solid var(--fishing-games-border-color);
}

/* Responsive Design */
@media (min-width: 769px) {
    .page-fishing-games__hero-section {
        padding-bottom: 80px;
    }
    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 60px;
    }
    .page-fishing-games__hero-image {
        max-width: 1920px; /* Ensure desktop hero image takes full width if container allows */
    }
    .page-fishing-games__cta-buttons {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-fishing-games__main-title {
        font-size: 2rem;
    }

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

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-fishing-games__btn,
    .page-fishing-games__btn--primary,
    .page-fishing-games__btn--secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__heading {
        font-size: 1.8rem;
    }

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

    .page-fishing-games__features,
    .page-fishing-games__game-cards,
    .page-fishing-games__guide-steps,
    .page-fishing-games__benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card-image,
    .page-fishing-games__step-image {
        height: auto;
        min-height: 200px; /* Enforce min-height for mobile */
    }

    .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__promotion-image,
    .page-fishing-games__why-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

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

/* Ensure content area images are not too small */
.page-fishing-games__card-image, 
.page-fishing-games__step-image, 
.page-fishing-games__promotion-image, 
.page-fishing-games__why-image {
    min-width: 200px;
    min-height: 200px;
}