/* style/fishing-games.css */

:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --background-dark: #0A0A0A;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

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

.page-fishing-games__section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-fishing-games__section-description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: rgba(255, 246, 214, 0.8);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relies on body padding-top for header offset */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    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 {
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly for visual flow */
    position: relative;
    z-index: 2;
    background: rgba(17, 17, 17, 0.9); /* Card BG with transparency */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.page-fishing-games__hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive font size */
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-fishing-games__hero-description {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.8;
}

.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,
.page-fishing-games__btn-play,
.page-fishing-games__btn-claim {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

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

.page-fishing-games__btn-secondary:hover {
    background: var(--primary-color);
    color: #0A0A0A;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

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

/* Popular Games Section */
.page-fishing-games__popular-games-section {
    padding: 80px 0;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__game-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 211, 107, 0.2);
}

.page-fishing-games__game-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__game-card-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 20px 15px 10px;
}

.page-fishing-games__game-card-description {
    font-size: 1rem;
    color: rgba(255, 246, 214, 0.7);
    padding: 0 15px 20px;
    min-height: 60px;
}

.page-fishing-games__btn-play {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-fishing-games__btn-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.page-fishing-games__guide-step {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.page-fishing-games__guide-step-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

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

.page-fishing-games__guide-step p {
    font-size: 1rem;
    color: rgba(255, 246, 214, 0.7);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__promotions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 40px;
}

.page-fishing-games__promotion-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 211, 107, 0.2);
}

.page-fishing-games__promotion-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__promotion-card-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 20px 15px 10px;
    text-align: center;
}

.page-fishing-games__promotion-card-description {
    font-size: 1rem;
    color: rgba(255, 246, 214, 0.7);
    padding: 0 15px 20px;
    text-align: center;
}

.page-fishing-games__btn-claim {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    width: fit-content;
    margin: 0 auto 20px auto;
}

.page-fishing-games__btn-claim:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

/* Safety Section */
.page-fishing-games__safety-section {
    padding: 80px 0;
    background-color: var(--background-dark);
}

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

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

.page-fishing-games__faq-item {
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    list-style: none; /* Hide default details marker */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* Hide default details marker for webkit */
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(255, 211, 107, 0.1);
}

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--secondary-color);
    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: 20px 25px;
    font-size: 1rem;
    color: rgba(255, 246, 214, 0.8);
    line-height: 1.7;
    background: var(--background-dark);
}

/* Join Section */
.page-fishing-games__join-section {
    padding: 80px 0;
    background-color: var(--background-dark);
}

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

/* General responsive for images and containers */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-fishing-games__section,
.page-fishing-games__card,
.page-fishing-games__container,
.page-fishing-games__hero-section,
.page-fishing-games__intro-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__safety-section,
.page-fishing-games__faq-section,
.page-fishing-games__join-section {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Media Query for Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2rem;
    }

    .page-fishing-games__hero-content {
        margin-top: -60px;
        padding: 30px 15px;
    }

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

    .page-fishing-games__hero-description {
        font-size: 1rem;
    }

    .page-fishing-games__games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .page-fishing-games__guide-steps {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__promotions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

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

/* Media Query for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

    /* HERO 主图区域 */
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
    }

    .page-fishing-games__hero-content {
        margin-top: -40px;
        padding: 25px 15px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    }

    .page-fishing-games__hero-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

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

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

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

    .page-fishing-games__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
        text-align: left;
    }

    .page-fishing-games__container {
        padding: 0 15px !important;
    }

    /* 产品展示图区域 */
    .page-fishing-games__games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-fishing-games__game-card {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    }

    .page-fishing-games__game-card-image {
        height: 200px;
    }

    .page-fishing-games__game-card-title {
        font-size: 1.4rem;
    }

    .page-fishing-games__game-card-description {
        font-size: 0.9rem;
        min-height: auto;
    }

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

    .page-fishing-games__guide-step {
        padding: 25px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    }

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

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

    .page-fishing-games__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .page-fishing-games__promotion-card {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    }

    .page-fishing-games__promotion-card-image {
        height: 180px;
    }

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

    .page-fishing-games__promotion-card-description {
        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,
    .page-fishing-games__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__safety-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__join-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    /* FAQ Section */
    .page-fishing-games__faq-list {
        margin-top: 30px;
    }

    .page-fishing-games__faq-item {
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

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

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