/* style/fishing-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --button-register-bg: #C30808;
    --button-login-bg: #C30808;
    --button-text-color: #FFFF00; /* For register/login buttons */
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --background-dark: #1a1a2e; /* From shared.css body background */
    --card-background-dark: rgba(255, 255, 255, 0.08);
    --border-color-dark: rgba(255, 255, 255, 0.15);
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-color-light); /* Default text color for dark body background */
    background-color: var(--background-dark);
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
}

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

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 20px auto 0 auto;
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

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

.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.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background-color: var(--button-register-bg);
    color: var(--button-text-color);
    border: 2px solid var(--button-register-bg);
}

.page-fishing-games__btn-primary:hover {
    background-color: darken(var(--button-register-bg), 10%);
    transform: translateY(-2px);
}

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

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

/* General Section Styles */
.page-fishing-games__introduction-section,
.page-fishing-games__game-types-section,
.page-fishing-games__guide-section,
.page-fishing-games__tips-section,
.page-fishing-games__promotions-section,
.page-fishing-games__security-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
    padding: 60px 0;
    background-color: var(--background-dark);
}

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.page-fishing-games__text-block {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: var(--text-color-light);
}

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

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

.page-fishing-games__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__feature-title {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

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

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

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

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__game-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 20px 15px 10px 15px;
    font-weight: 600;
}

.page-fishing-games__game-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color-light);
    padding: 0 15px 20px 15px;
    flex-grow: 1;
}

.page-fishing-games__btn-play {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 0 15px 20px 15px;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-play:hover {
    background-color: darken(var(--primary-color), 10%);
}

/* Guide Section */
.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
}

.page-fishing-games__guide-item {
    background-color: var(--card-background-dark);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-fishing-games__guide-item:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.page-fishing-games__guide-step-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__guide-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color-light);
}

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

/* Tips Section */
.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
}

.page-fishing-games__tips-item {
    background-color: var(--card-background-dark);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color-dark);
    transition: box-shadow 0.3s ease;
}

.page-fishing-games__tips-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__tips-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__tips-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color-light);
}

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

.page-fishing-games__promo-card {
    background-color: var(--card-background-dark);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color-dark);
    display: flex;
    flex-direction: column;
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__promo-title {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin: 20px 15px 10px 15px;
    font-weight: 600;
}

.page-fishing-games__promo-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color-light);
    padding: 0 15px 20px 15px;
    flex-grow: 1;
}

.page-fishing-games__btn-details {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    margin: 0 15px 20px 15px;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-details:hover {
    background-color: darken(var(--primary-color), 10%);
}

/* Security Section */
.page-fishing-games__security-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
}

.page-fishing-games__security-item {
    background-color: var(--card-background-dark);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-fishing-games__security-item:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.page-fishing-games__security-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__security-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color-light);
}

.page-fishing-games__security-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.page-fishing-games__security-item a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-fishing-games__faq-item {
    background-color: var(--card-background-dark);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color-dark);
}

.page-fishing-games__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

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

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

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    color: var(--primary-color);
}

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

.page-fishing-games__faq-answer p {
    margin-bottom: 10px;
}

.page-fishing-games__faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.page-fishing-games__faq-answer a:hover {
    text-decoration: underline;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

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

@media (max-width: 1024px) {
    .page-fishing-games__container {
        padding: 20px 30px;
    }

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

    .page-fishing-games__hero-description {
        font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    }

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

    .page-fishing-games__feature-image,
    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        height: 200px;
    }

    .page-fishing-games__feature-title,
    .page-fishing-games__game-title,
    .page-fishing-games__promo-title,
    .page-fishing-games__guide-step-title,
    .page-fishing-games__tips-title,
    .page-fishing-games__security-title {
        font-size: 1.3rem;
    }

    .page-fishing-games__faq-item summary {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 30px;
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 400px;
    }
    .page-fishing-games__hero-content {
        padding: 0 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }

    /* 通用图片与容器 */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__container,
    .page-fishing-games__feature-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    /* 按钮与按钮容器 */
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-play,
    .page-fishing-games__btn-details,
    .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__cta-buttons,
    .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__cta-buttons {
        flex-direction: column;
    }

    /* 其他内容模块 */
    .page-fishing-games__introduction-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__security-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding: 40px 0;
    }

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

    .page-fishing-games__text-block {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .page-fishing-games__feature-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__feature-item,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__guide-item,
    .page-fishing-games__tips-item,
    .page-fishing-games__security-item,
    .page-fishing-games__faq-item {
        padding: 20px;
    }

    .page-fishing-games__feature-image,
    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        height: 200px;
        width: 100%;
    }

    .page-fishing-games__feature-title,
    .page-fishing-games__game-title,
    .page-fishing-games__promo-title,
    .page-fishing-games__guide-step-title,
    .page-fishing-games__tips-title,
    .page-fishing-games__security-title {
        font-size: 1.2rem;
    }

    .page-fishing-games__guide-item p,
    .page-fishing-games__tips-item p,
    .page-fishing-games__security-item p,
    .page-fishing-games__faq-answer p {
        font-size: 0.9rem;
    }

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

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