/* style/fishing-games.css */
.page-fishing-games {
    color: #333333;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #FFFFFF;
}

.page-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding */
    background-color: #017439; /* Brand color background for hero */
    color: #ffffff;
    text-align: center;
    padding-bottom: 50px;
}

.page-fishing-games__hero-image-container {
    width: 100%;
    overflow: hidden;
}

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

.page-fishing-games__hero-content {
    max-width: 900px;
    margin: 30px auto 0 auto;
    padding: 0 20px;
}

.page-fishing-games__hero-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFF00; /* Custom font color for title */
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-fishing-games__cta-button {
    display: inline-block;
    background-color: #C30808; /* Custom Register/Login color */
    color: #FFFF00; /* Custom Register/Login font color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
    background-color: #a30707;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-fishing-games__section-subtitle {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 20px;
}

.page-fishing-games__text-block {
    margin-bottom: 20px;
    color: #333333;
}

.page-fishing-games__text-block--center {
    text-align: center;
}

.page-fishing-games__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

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

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

.page-fishing-games__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    text-decoration: none;
    color: #333333;
    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 8px 25px rgba(0,0,0,0.15);
}

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

.page-fishing-games__game-card-content {
    padding: 25px;
    flex-grow: 1;
}

.page-fishing-games__game-card-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__game-card-description {
    font-size: 0.95em;
    line-height: 1.5;
    color: #555555;
}

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

.page-fishing-games__step-item {
    background-color: #f9f9f9;
    border-left: 5px solid #017439;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-fishing-games__step-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__step-description {
    color: #444444;
}

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

.page-fishing-games__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    color: #017439;
    cursor: pointer;
    font-weight: 600;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: none;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    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 25px;
    color: #555555;
    line-height: 1.6;
}

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

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

.page-fishing-games__cta-section {
    background-color: #017439;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.page-fishing-games__cta-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-fishing-games__cta-text {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__cta-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* For mobile */
}

.page-fishing-games__cta-btn-primary {
    background-color: #C30808;
    color: #FFFF00;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%; /* For mobile */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__cta-btn-primary:hover {
    background-color: #a30707;
}

.page-fishing-games__cta-btn-secondary {
    background-color: #ffffff;
    color: #017439;
    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: 2px solid #017439;
    cursor: pointer;
    max-width: 100%; /* For mobile */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__cta-btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-fishing-games__dark-bg {
    background: #017439;
    color: #ffffff;
}

.page-fishing-games__light-bg {
    background: #ffffff;
    color: #333333;
}

.page-fishing-games__dark-section {
    background: #017439;
    color: #ffffff; /* Forced white text */
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__section-subtitle {
        font-size: 1.5em;
    }
    .page-fishing-games__game-card-image {
        height: 180px;
    }
    .page-fishing-games__game-card-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px !important;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(1.5em, 7vw, 2.5em) !important;
        padding: 0 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 1em !important;
        padding: 0 15px;
    }
    .page-fishing-games__cta-button {
        max-width: 100% !important;
        width: calc(100% - 30px) !important;
        margin: 0 15px;
        font-size: 1em !important;
        padding: 12px 20px !important;
    }

    /* 通用图片与容器 */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__game-types-grid,
    .page-fishing-games__faq-list,
    .page-fishing-games__cta-section,
    .page-fishing-games__hero-content,
    .page-fishing-games__text-block,
    .page-fishing-games__step-item,
    .page-fishing-games__faq-item,
    .page-fishing-games__cta-buttons-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-fishing-games__section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px !important;
    }
    .page-fishing-games__section-subtitle {
        font-size: 1.3em !important;
    }

    /* 产品展示图区域 (Game Cards) */
    .page-fishing-games__game-types-grid {
        grid-template-columns: 1fr !important; /* Single column */
        gap: 20px !important;
    }
    .page-fishing-games__game-card-image {
        height: 150px !important;
    }
    .page-fishing-games__game-card-content {
        padding: 20px !important;
    }
    .page-fishing-games__game-card-title {
        font-size: 1.2em !important;
    }

    /* 按钮与按钮容器 */
    .page-fishing-games__cta-btn-primary,
    .page-fishing-games__cta-btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
    }
    .page-fishing-games__cta-buttons-wrapper {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
    }

    /* 其他内容模块 (FAQ, Steps) */
    .page-fishing-games__faq-question {
        font-size: 1.1em !important;
        padding: 15px !important;
    }
    .page-fishing-games__faq-answer {
        padding: 0 15px 15px 15px !important;
        font-size: 0.95em !important;
    }
    .page-fishing-games__step-item {
        padding: 20px !important;
    }
    .page-fishing-games__step-title {
        font-size: 1.4em !important;
    }
    .page-fishing-games__step-description {
        font-size: 0.95em !important;
    }
    .page-fishing-games__cta-title {
        font-size: 1.8em !important;
    }
    .page-fishing-games__cta-text {
        font-size: 1em !important;
    }
}