/* style/fishing-games.css */
:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    --card-bg: #17191F;
    --page-bg: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
    --text-dark-contrast: #333333;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Text Main for overall content on dark background */
    background-color: var(--page-bg); /* Body background from shared.css is dark, so use dark page-bg */
}

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

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

.page-fishing-games__section-title {
    font-size: 3em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
    padding-bottom: 60px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--page-bg);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    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 {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -120px; /* Pull content slightly over the image for visual flow */
    background: rgba(13, 14, 18, 0.7); /* Semi-transparent background for readability */
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.page-fishing-games__hero-title {
    font-size: clamp(2.5em, 4vw, 3.5em); /* Using clamp for responsive H1 font size */
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px var(--glow-color);
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

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

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: inset 0 0 10px rgba(255, 165, 58, 0.3);
}

.page-fishing-games__btn-secondary:hover {
    background: rgba(255, 165, 58, 0.1);
    transform: translateY(-3px);
}

.page-fishing-games__btn-play {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(255, 165, 58, 0.3);
}

.page-fishing-games__btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 165, 58, 0.5);
}

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

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

.page-fishing-games__game-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 165, 58, 0.2);
}

.page-fishing-games__game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.page-fishing-games__game-card-title {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-fishing-games__game-card-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

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

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

.page-fishing-games__feature-icon {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px var(--glow-color));
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-fishing-games__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main);
}

/* Guide Section */
.page-fishing-games__guide-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-fishing-games__guide-steps {
    flex: 1;
}

.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
}

.page-fishing-games__guide-list li {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--primary-color);
    color: var(--text-main);
}

.page-fishing-games__guide-step-title {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-fishing-games__guide-step-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main);
}

.page-fishing-games__guide-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

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

/* Strategy Section */
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.page-fishing-games__strategy-list li {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    border-right: 5px solid var(--deep-orange);
    color: var(--text-main);
}

.page-fishing-games__strategy-item-title {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-fishing-games__strategy-item-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main);
}

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

.page-fishing-games__promotion-list li {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

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

.page-fishing-games__promotion-item-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main);
}

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

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

.page-fishing-games__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--secondary-color);
    list-style: none;
    position: relative;
}

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: '−';
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main);
}

/* Conclusion Section */
.page-fishing-games__conclusion-section .page-fishing-games__section-title {
    color: var(--primary-color);
}

.page-fishing-games__conclusion-section .page-fishing-games__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

/* Media Queries */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-top: -80px;
        padding: 30px;
    }

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

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

    .page-fishing-games__guide-content {
        flex-direction: column;
    }

    .page-fishing-games__guide-image-wrapper {
        width: 100%;
        margin-top: 30px;
    }

    .page-fishing-games__promotion-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

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

    .page-fishing-games__hero-content {
        margin-top: -60px; /* Adjust overlap */
        padding: 20px;
        border-radius: 10px;
    }

    .page-fishing-games__hero-title {
        font-size: clamp(1.8em, 7vw, 2.5em) !important;
        margin-bottom: 15px;
    }

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

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

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

    .page-fishing-games__container,
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__game-card,
    .page-fishing-games__feature-item,
    .page-fishing-games__guide-list li,
    .page-fishing-games__strategy-list li,
    .page-fishing-games__promotion-list li,
    .page-fishing-games__faq-item {
        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: 2em;
        margin-bottom: 30px;
    }

    .page-fishing-games__text-block {
        font-size: 0.95em;
    }

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

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

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

    .page-fishing-games__game-card-title {
        font-size: 1.5em;
    }

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

    /* 其他内容模块 (Features, Guide, Strategy, Promotions, FAQ) */
    .page-fishing-games__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__feature-item {
        padding: 20px;
    }

    .page-fishing-games__feature-icon {
        height: 120px;
    }

    .page-fishing-games__guide-content {
        flex-direction: column;
        gap: 20px;
    }

    .page-fishing-games__guide-list li {
        padding: 20px;
    }

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

    .page-fishing-games__strategy-list {
        gap: 20px;
    }

    .page-fishing-games__strategy-list li {
        padding: 20px;
    }

    .page-fishing-games__promotion-list {
        gap: 20px;
    }

    .page-fishing-games__promotion-list li {
        padding: 20px;
    }

    .page-fishing-games__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }

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