/* style/fishing-games.css */

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

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

.page-fishing-games__section-spacing {
    padding: 60px 0;
}

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

.page-fishing-games__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* As body handles --header-offset, use small top padding */
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Adjust to bring content slightly over the image for better flow */
    background-color: rgba(17, 17, 17, 0.85); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-fishing-games__tagline {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 300px;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.3);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 211, 107, 0.5);
}

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

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

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

.page-fishing-games__text-block {
    font-size: 1.1rem;
    color: var(--text-main-color);
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-fishing-games__text-block a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__text-block a:hover {
    text-decoration: underline;
}

.page-fishing-games__dark-section {
    background-color: var(--card-bg);
    color: var(--text-main-color);
}

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

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

.page-fishing-games__feature-card:hover,
.page-fishing-games__game-card:hover,
.page-fishing-games__promotion-card:hover,
.page-fishing-games__tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__feature-title,
.page-fishing-games__game-title,
.page-fishing-games__promotion-title,
.page-fishing-games__tip-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__game-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-fishing-games__game-title a:hover {
    text-decoration: underline;
}

.page-fishing-games__feature-description,
.page-fishing-games__game-description,
.page-fishing-games__promotion-description,
.page-fishing-games__tip-description {
    font-size: 1rem;
    color: var(--text-main-color);
}

.page-fishing-games__btn-small {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 30px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-small:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
}

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

.page-fishing-games__step-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__step-description {
    font-size: 1.05rem;
    color: var(--text-main-color);
}

.page-fishing-games__step-description a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__step-description a:hover {
    text-decoration: underline;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none; /* For <summary> tag */
    -webkit-tap-highlight-color: transparent;
}

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    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: 0 25px 20px 25px;
    font-size: 1.05rem;
    color: var(--text-main-color);
}

.page-fishing-games__faq-answer p {
    margin: 0;
}


/* Responsive Styles */

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

/* Common container responsive styles */
.page-fishing-games__section,
.page-fishing-games__card,
.page-fishing-games__container,
.page-fishing-games__hero-content {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2.2rem, 5vw, 3rem);
    }

    .page-fishing-games__tagline {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    }

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

    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__promotion-card,
    .page-fishing-games__tip-card {
        padding: 25px;
    }

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

    .page-fishing-games__feature-title,
    .page-fishing-games__game-title,
    .page-fishing-games__promotion-title,
    .page-fishing-games__tip-title {
        font-size: 1.3rem;
    }
}

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

    .page-fishing-games__hero-content {
        margin-top: -60px; /* Adjust for smaller screens */
        padding: 30px 15px;
        border-radius: 8px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(2rem, 7vw, 2.8rem);
        margin-bottom: 10px;
    }

    .page-fishing-games__tagline {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        margin-bottom: 20px;
    }

    /* 通用图片与容器 */
    .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-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__section-spacing {
        padding: 40px 0;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }

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

    /* 产品展示图区域 (Game Showcase) */
    .page-fishing-games__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__promotion-card,
    .page-fishing-games__tip-card {
        padding: 20px;
    }

    .page-fishing-games__feature-image,
    .page-fishing-games__game-image,
    .page-fishing-games__promotion-image {
        height: 150px;
        margin-bottom: 15px;
    }

    .page-fishing-games__feature-title,
    .page-fishing-games__game-title,
    .page-fishing-games__promotion-title,
    .page-fishing-games__tip-title {
        font-size: 1.2rem;
    }

    .page-fishing-games__feature-description,
    .page-fishing-games__game-description,
    .page-fishing-games__promotion-description,
    .page-fishing-games__tip-description {
        font-size: 0.95rem;
    }

    /* 按钮与按钮容器 */
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .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: 12px 20px;
        font-size: 1rem;
    }

    .page-fishing-games__btn-small {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .page-fishing-games__steps-list {
        margin-bottom: 30px;
    }

    .page-fishing-games__step-item {
        padding: 20px;
        margin-bottom: 15px;
    }

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

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

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

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

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