/* style/fishing-games.css */

:root {
    --primary-color: #C91F17;
    --secondary-color: #E53935;
    --card-bg-color: #D32F2F;
    --section-bg-color: #B71C1C;
    --text-main-color: #FFF5E1;
    --border-color: #F2B544;
    --glow-color: #FFCC66;
    --gold-color: #F4D34D;
    --deep-red-color: #7A0E0E;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
}

.page-fishing-games {
    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* Assuming body background is dark from shared.css */
    background-color: var(--section-bg-color);
}

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

.page-fishing-games__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Adjusting for shared header offset */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-main-color);
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -150px; /* Pull content up over the image */
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    color: var(--text-main-color);
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--deep-red-color);
    box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-fishing-games__btn-secondary {
    background-color: var(--primary-color);
    color: var(--text-main-color);
    border-color: var(--border-color);
    box-shadow: 0 4px 15px rgba(201, 31, 23, 0.4);
}

.page-fishing-games__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--gold-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__section-intro {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    color: var(--text-main-color);
}

.page-fishing-games__advantages-section,
.page-fishing-games__guide-section,
.page-fishing-games__conclusion-section {
    background-color: var(--deep-red-color);
    padding: 60px 0;
    color: var(--text-main-color);
}

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

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

.page-fishing-games__advantage-item:hover {
    transform: translateY(-5px);
}

.page-fishing-games__advantage-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-fishing-games__advantage-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-fishing-games__advantage-description {
    font-size: 1rem;
    line-height: 1.5;
}

.page-fishing-games__games-showcase-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__tips-section {
    padding: 60px 0;
    background-color: var(--section-bg-color);
    color: var(--text-main-color);
}

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

.page-fishing-games__game-card,
.page-fishing-games__promo-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

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

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

.page-fishing-games__game-card h3,
.page-fishing-games__promo-card h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--gold-color);
    padding: 15px 20px 10px;
}

.page-fishing-games__game-card p,
.page-fishing-games__promo-card p {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 20px 15px;
    flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary,
.page-fishing-games__promo-card .page-fishing-games__btn-secondary {
    margin: 0 20px 20px;
    text-align: center;
}

.page-fishing-games__guide-steps {
    margin-top: 40px;
}

.page-fishing-games__guide-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-fishing-games__guide-item:nth-child(even) {
    flex-direction: row-reverse;
}

.page-fishing-games__guide-image {
    width: 50%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__guide-content {
    width: 50%;
}

.page-fishing-games__guide-step-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 15px;
}

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

.page-fishing-games__guide-description a {
    color: var(--gold-color);
    text-decoration: underline;
}

.page-fishing-games__guide-description a:hover {
    color: var(--glow-color);
}

.page-fishing-games__guide-cta {
    text-align: center;
    margin-top: 60px;
}

.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-fishing-games__tip-item {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-fishing-games__tip-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-fishing-games__tip-description {
    font-size: 1rem;
    line-height: 1.5;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--deep-red-color);
    border-bottom: 1px solid var(--border-color);
    user-select: none;
    list-style: none;
}

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

.page-fishing-games__faq-question::marker {
    display: none;
}

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

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

.page-fishing-games__faq-answer {
    padding: 15px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main-color);
    background-color: var(--card-bg-color);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-fishing-games__conclusion-cta {
    text-align: center;
    margin-top: 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General image responsiveness */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-top: -100px;
        padding: 30px 20px;
    }

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

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

    .page-fishing-games__advantages-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-fishing-games__guide-item {
        flex-direction: column;
        text-align: center;
    }

    .page-fishing-games__guide-item:nth-child(even) {
        flex-direction: column;
    }

    .page-fishing-games__guide-image,
    .page-fishing-games__guide-content {
        width: 100%;
    }

    .page-fishing-games__guide-image {
        margin-bottom: 20px;
    }

    .page-fishing-games__tips-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .page-fishing-games__hero-content {
        margin-top: -80px;
        padding: 20px 15px;
        width: calc(100% - 30px);
    }

    .page-fishing-games__hero-title {
        font-size: 2rem !important;
    }

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

    .page-fishing-games__hero-cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* 其他内容模块 */
    .page-fishing-games__section-title {
        font-size: 1.8rem !important;
    }

    .page-fishing-games__section-intro {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-fishing-games__advantages-section,
    .page-fishing-games__games-showcase-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding: 40px 0;
    }

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

    .page-fishing-games__advantages-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__advantage-item,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__tip-item,
    .page-fishing-games__faq-item {
        padding: 20px;
    }

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

    .page-fishing-games__game-card h3,
    .page-fishing-games__promo-card h3 {
        font-size: 1.2rem;
    }

    .page-fishing-games__game-card p,
    .page-fishing-games__promo-card p {
        font-size: 0.9rem;
    }

    /* 通用图片与容器 */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !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__guide-item {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        margin-bottom: 30px;
    }

    .page-fishing-games__guide-item:nth-child(even) {
        flex-direction: column;
    }

    .page-fishing-games__guide-image,
    .page-fishing-games__guide-content {
        width: 100%;
    }

    .page-fishing-games__guide-step-title {
        font-size: 1.5rem;
    }

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

    .page-fishing-games__guide-cta,
    .page-fishing-games__conclusion-cta {
        margin-top: 40px;
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .page-fishing-games__tips-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__tip-title {
        font-size: 1.3rem;
    }

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

    .page-fishing-games__faq-toggle {
        font-size: 1.5rem;
    }

    .page-fishing-games__faq-answer {
        font-size: 0.95rem;
        padding: 10px 20px;
    }

    /* 按钮与按钮容器 */
    .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-cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container,
    .page-fishing-games__conclusion-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column; /* Ensure vertical stacking for buttons */
    }
}