/* style/fishing-games.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark: #0a0a0a;
    --bg-light: #ffffff;
    --btn-login: #EA7C07;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Inherits from body via shared.css */
}

.page-fishing-games__hero-section {
    position: relative;
    padding: 0; /* Assumes shared.css handles body padding-top */
    background-color: var(--bg-dark);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    overflow: hidden;
}

.page-fishing-games__hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    gap: 40px;
    z-index: 1;
    position: relative;
}

.page-fishing-games__hero-content {
    flex: 1;
    max-width: 600px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
    font-weight: bold;
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-fishing-games__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-fishing-games__section-subtitle {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 40px;
}

.page-fishing-games__light-bg .page-fishing-games__section-subtitle {
    color: var(--text-dark);
}

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

.page-fishing-games__introduction-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-fishing-games__introduction-section .page-fishing-games__section-title {
    color: var(--primary-color);
}

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

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

.page-fishing-games__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-fishing-games__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__types-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-fishing-games__types-section .page-fishing-games__section-title {
    color: var(--secondary-color);
}

.page-fishing-games__types-section .page-fishing-games__section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.page-fishing-games__game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.page-fishing-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    min-height: 200px; /* Ensure minimum size */
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__card-description {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__card-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__card-button:hover {
    background-color: #1a8cc7;
}

.page-fishing-games__guide-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-fishing-games__guide-section .page-fishing-games__section-title {
    color: var(--primary-color);
}

.page-fishing-games__guide-section .page-fishing-games__section-subtitle {
    color: var(--text-dark);
}

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

.page-fishing-games__guide-item {
    background: var(--secondary-color);
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__guide-heading {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-fishing-games__guide-item p {
    font-size: 1em;
    color: var(--text-dark);
}

.page-fishing-games__strategies-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-fishing-games__strategies-section .page-fishing-games__section-title {
    color: var(--secondary-color);
}

.page-fishing-games__strategies-section .page-fishing-games__section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.page-fishing-games__strategy-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__strategy-heading {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-fishing-games__strategy-item p {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

.page-fishing-games__features-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-fishing-games__features-section .page-fishing-games__section-title {
    color: var(--primary-color);
}

.page-fishing-games__features-section .page-fishing-games__section-subtitle {
    color: var(--text-dark);
}

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

.page-fishing-games__feature-card {
    background: var(--secondary-color);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px; /* Enforce min size for content images */
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__feature-heading {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

.page-fishing-games__benefits-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-fishing-games__benefits-section .page-fishing-games__section-title {
    color: var(--secondary-color);
}

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

.page-fishing-games__benefit-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-fishing-games__benefit-item strong {
    color: var(--primary-color);
}

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

.page-fishing-games__cta-bottom p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__faq-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
    color: var(--primary-color);
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--text-dark);
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #f0f0f0;
}

.page-fishing-games__faq-question h3 {
    margin: 0;
    font-size: 1.1em;
    color: var(--text-dark);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 1em;
    color: var(--text-dark);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

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

.page-fishing-games__conclusion-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
}

.page-fishing-games__conclusion-section .page-fishing-games__section-title {
    color: var(--secondary-color);
}

.page-fishing-games__conclusion-section .page-fishing-games__section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__conclusion-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    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: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-fishing-games__btn-primary:hover {
    background-color: #1a8cc7;
    border-color: #1a8cc7;
}

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

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

/* General image styling for content area */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensures images cover their area without distortion */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }

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

    .page-fishing-games__games-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__strategy-grid,
    .page-fishing-games__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-fishing-games__hero-container {
        flex-direction: column;
        text-align: center;
    }

    .page-fishing-games__hero-content {
        max-width: 100%;
    }

    .page-fishing-games__hero-buttons {
        justify-content: center;
    }

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

    .page-fishing-games__image-block, .page-fishing-games__text-block {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-fishing-games__hero-section {
        padding: 0; /* Assumes shared.css handles body padding-top */
        min-height: auto;
        padding-bottom: 40px;
    }

    .page-fishing-games__hero-container {
        padding: 40px 15px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .page-fishing-games__hero-title {
        font-size: 2.2em !important;
        margin-bottom: 15px;
    }

    .page-fishing-games__hero-description {
        font-size: 1em !important;
        margin-bottom: 25px;
        padding: 0 5px;
    }

    .page-fishing-games__hero-buttons {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100%;
        padding: 0 15px;
    }

    .page-fishing-games__hero-image-wrapper {
        width: 100%;
        padding: 0 15px;
    }

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

    /* 产品展示图区域 */
    .page-fishing-games__games-grid {
        grid-template-columns: 1fr !important; /* Each game card takes full width */
        gap: 20px !important;
        padding: 0 15px;
        overflow-x: hidden;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .page-fishing-games__game-card {
        padding: 20px !important;
    }

    .page-fishing-games__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
    }

    /* 通用图片与容器 */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fishing-games__container {
        padding: 40px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__content-wrapper {
        flex-direction: column !important;
        gap: 20px !important;
    }

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

    .page-fishing-games__feature-icon {
        min-width: 200px !important; /* Enforce min size for content images */
        min-height: 200px !important; /* Enforce min size for content images */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* 按钮与按钮容器 */
    .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-left: 15px;
        padding-right: 15px;
    }
    
    .page-fishing-games__hero-buttons,
    .page-fishing-games__conclusion-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 !important;
        flex-direction: column !important; /* Ensure vertical stacking for multiple buttons */
    }

    .page-fishing-games__card-button {
        width: auto !important; /* Allow button to size based on content, but max-width 100% applies */
        margin: 0 auto; /* Center button if it's smaller than 100% */
    }

    /* 其他内容模块 */
    .page-fishing-games__section-title {
        font-size: 1.8em !important;
        margin-bottom: 15px;
    }

    .page-fishing-games__section-subtitle {
        font-size: 0.9em !important;
        margin-bottom: 25px;
        padding: 0 5px;
    }

    .page-fishing-games__text-block p,
    .page-fishing-games__guide-item p,
    .page-fishing-games__strategy-item p,
    .page-fishing-games__feature-card p,
    .page-fishing-games__benefit-item,
    .page-fishing-games__cta-bottom p,
    .page-fishing-games__faq-answer p {
        font-size: 0.95em !important;
    }

    .page-fishing-games__guide-steps,
    .page-fishing-games__strategy-grid,
    .page-fishing-games__features-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 15px;
    }

    .page-fishing-games__guide-item,
    .page-fishing-games__strategy-item,
    .page-fishing-games__feature-card,
    .page-fishing-games__benefit-item,
    .page-fishing-games__faq-item {
        padding: 20px !important;
    }

    .page-fishing-games__faq-question {
        padding: 15px 20px !important;
    }

    .page-fishing-games__faq-question h3 {
        font-size: 1em !important;
    }

    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 10px 20px 20px !important;
    }
}