/* 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); /* Default text color for the main content area */
    background-color: var(--body-bg);
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 60px; /* Space below content before next section */
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 100px 20px 60px;
    color: var(--text-main);
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    line-height: 1.6;
    color: var(--text-secondary);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary,
.page-fishing-games__btn-download {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

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

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-color);
}

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

.page-fishing-games__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--body-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-tertiary {
    background: var(--deep-green);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    padding: 10px 20px;
}

.page-fishing-games__btn-tertiary:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.page-fishing-games__btn-large {
    padding: 18px 40px;
    font-size: 1.3rem;
}

/* Video Section */
.page-fishing-games__video-section {
    padding: 10px 0 60px;
    background-color: var(--body-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__video-container {
    width: 100%;
    max-width: 1000px; /* Adjusted max-width for better video presentation */
    margin: 0 auto;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    width: 100%; /* Desktop width: 100% */
    max-width: 100%;
}

.page-fishing-games__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-fishing-games__video-caption {
    max-width: 1000px;
    margin-top: 30px;
    text-align: center;
    color: var(--text-secondary);
    padding: 0 20px;
}

.page-fishing-games__video-title {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.page-fishing-games__video-description {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Generic Section Styling */
.page-fishing-games__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main);
    position: relative;
    padding-bottom: 15px;
}

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

.page-fishing-games__section-description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: -20px auto 60px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 80px 0;
    background-color: var(--body-bg);
    color: var(--text-main);
}

.page-fishing-games__intro-section.page-fishing-games__dark-bg {
    background-color: var(--card-bg);
}

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

.page-fishing-games__text-block {
    flex: 1;
    line-height: 1.8;
    font-size: 1.05rem;
}

.page-fishing-games__text-block p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-fishing-games__text-block strong {
    color: var(--text-main);
}

.page-fishing-games__text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.page-fishing-games__text-link:hover {
    text-decoration: underline;
}

.page-fishing-games__image-right {
    flex: 0 0 450px;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Highlights Section */
.page-fishing-games__highlights-section {
    padding: 80px 0;
    background-color: var(--body-bg);
}

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

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

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

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

.page-fishing-games__card-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

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

/* Game Types Section */
.page-fishing-games__game-types-section {
    padding: 80px 0;
    background-color: var(--card-bg);
}

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

.page-fishing-games__game-card {
    background-color: var(--deep-green);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3), 0 0 12px var(--primary-color);
}

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

.page-fishing-games__game-name {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-fishing-games__game-intro {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 80px 0;
    background-color: var(--body-bg);
}

.page-fishing-games__guide-content {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.page-fishing-games__guide-block {
    flex: 1;
    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);
}

.page-fishing-games__guide-subtitle {
    font-size: 1.6rem;
    color: var(--gold-color);
    margin-bottom: 20px;
    text-align: center;
}

.page-fishing-games__ordered-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.page-fishing-games__ordered-list li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    position: relative;
    padding-left: 30px;
}

.page-fishing-games__ordered-list li::before {
    content: counter(list-item);
    counter-increment: list-item;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.page-fishing-games__ordered-list li strong {
    color: var(--text-main);
}

.page-fishing-games__btn-download {
    margin-top: 20px;
    width: 100%;
}

.page-fishing-games__image-bottom {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    margin: 40px auto 0;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Strategy Section */
.page-fishing-games__strategy-section {
    padding: 80px 0;
    background-color: var(--card-bg);
}

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

.page-fishing-games__strategy-item {
    background-color: var(--deep-green);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

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

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

.page-fishing-games__strategy-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

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

.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;
    margin-bottom: 40px;
}

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

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

.page-fishing-games__promo-title {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-bottom: 15px;
}

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

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

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

.page-fishing-games__faq-item {
    background-color: var(--deep-green);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__faq-item summary {
    list-style: none;
}

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: var(--primary-color);
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    color: var(--text-main);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold-color);
    margin-left: 20px;
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

.page-fishing-games__faq-answer p {
    margin-top: 15px;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--body-bg);
}

.page-fishing-games__image-conclusion {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

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

    .page-fishing-games__image-right {
        flex: 0 0 350px;
        height: 280px;
    }

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

    .page-fishing-games__image-right {
        width: 100%;
        max-width: 600px;
        margin-top: 30px;
    }

    .page-fishing-games__guide-content {
        flex-direction: column;
    }

    .page-fishing-games__guide-block {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-content {
        padding: 60px 15px 30px;
    }

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

    .page-fishing-games__hero-description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-tertiary,
    .page-fishing-games__btn-download,
    .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,
    .page-fishing-games__cta-bottom,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-fishing-games__hero-cta {
        flex-direction: column;
    }

    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body 已承担 --header-offset，此处禁止 var(--header-offset) */
    }
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .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,
    .page-fishing-games__game-card,
    .page-fishing-games__strategy-item,
    .page-fishing-games__promo-item,
    .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__section-title {
        font-size: 2rem;
    }

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

    .page-fishing-games__card,
    .page-fishing-games__game-card,
    .page-fishing-games__strategy-item,
    .page-fishing-games__promo-item {
        padding: 20px;
    }

    .page-fishing-games__card-title,
    .page-fishing-games__game-name,
    .page-fishing-games__strategy-title,
    .page-fishing-games__promo-title {
        font-size: 1.3rem;
    }

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

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

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

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

    .page-fishing-games__hero-content {
        padding: 40px 10px 20px;
    }
    .page-fishing-games__hero-cta {
        gap: 10px;
    }
}

/* Text Contrast Fix for dark backgrounds */
.page-fishing-games__dark-bg {
    color: var(--text-main); /* Ensure light text on dark background */
}

.page-fishing-games__text-block p,
.page-fishing-games__card-description,
.page-fishing-games__game-intro,
.page-fishing-games__strategy-text,
.page-fishing-games__promo-text,
.page-fishing-games__ordered-list li,
.page-fishing-games__faq-answer p {
    color: var(--text-secondary);
}