/* =============================================
   飞禽走兽游戏 · 羽林竞技场
   设计主题：自然有机 × 极速动感
   配色：暖橙赤陶 + 翠竹绿 + 素胚米白
   ============================================= */

/* 基础重置 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    overflow-x: hidden;
    background: #F6F1EA;
    color: #3D3228;
    line-height: 1.6;
}

/* 选中高亮 */
::selection {
    background: #E86A3A;
    color: #fff;
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F0E8DE;
}
::-webkit-scrollbar-thumb {
    background: #D4A84B;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E86A3A;
}

/* ======= 核心布局 ======= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section:nth-child(even) {
    background: #F0E8DE;
}

/* ======= 导航 ======= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(246, 241, 234, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(216, 196, 172, 0.35);
    transition: background 0.3s;
}

.site-header.scrolled {
    background: rgba(246, 241, 234, 0.97);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.35rem;
    text-decoration: none;
    color: #3D3228;
    letter-spacing: -0.02em;
    transition: transform 0.2s;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #E86A3A 0%, #D4A84B 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(232, 106, 58, 0.25);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #5A4A3A;
    transition: color 0.2s, transform 0.2s;
    position: relative;
    padding: 4px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E86A3A;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.main-nav a:hover {
    color: #E86A3A;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav .nav-cta {
    padding: 10px 24px;
    border-radius: 50px;
    color: #fff !important;
    font-weight: 700;
    background: linear-gradient(135deg, #E86A3A 0%, #D4A84B 100%);
    box-shadow: 0 4px 16px rgba(232, 106, 58, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.main-nav .nav-cta::after {
    display: none;
}

.main-nav .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 106, 58, 0.35);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #3D3228;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.menu-toggle:hover {
    background: rgba(0,0,0,0.05);
}

/* ======= Hero 区域 ======= */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 72px;
    background:
        radial-gradient(ellipse at 85% 20%, rgba(212, 168, 75, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(232, 106, 58, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #F6F1EA 0%, #F0E8DE 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 106, 58, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '✦';
    position: absolute;
    bottom: 8%;
    right: 12%;
    font-size: 12rem;
    color: rgba(212, 168, 75, 0.08);
    pointer-events: none;
    font-family: serif;
    transform: rotate(15deg);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 640px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    background: rgba(232, 106, 58, 0.10);
    color: #E86A3A;
    text-transform: uppercase;
    border: 1px solid rgba(232, 106, 58, 0.15);
}

.hero h1 {
    font-size: 3.4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #2D2218;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #E86A3A 0%, #D4A84B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    color: #6A5A4A;
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.06),
        0 8px 24px rgba(0,0,0,0.04);
    background: #E8DDD0;
    aspect-ratio: 4/3;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(232, 106, 58, 0.10) 0%, rgba(212, 168, 75, 0.10) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ======= 按钮 ======= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.25s ease;
    outline: none;
    font-family: inherit;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #E86A3A 0%, #D4A84B 100%);
    box-shadow: 0 4px 20px rgba(232, 106, 58, 0.30);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(232, 106, 58, 0.40);
}

.btn-outline {
    background: transparent;
    border: 2px solid #D4A84B;
    color: #5A4A3A;
}

.btn-outline:hover {
    background: rgba(212, 168, 75, 0.08);
    border-color: #E86A3A;
    color: #E86A3A;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

/* ======= 标签/标题 ======= */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: #E86A3A;
    background: rgba(232, 106, 58, 0.08);
    padding: 4px 16px;
    border-radius: 50px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: #2D2218;
    line-height: 1.15;
}

.section-desc {
    max-width: 600px;
    color: #6A5A4A;
    margin-bottom: 48px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ======= 卡片网格 ======= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.category-card {
    border-radius: 20px;
    padding: 32px 28px;
    background: #FCF9F6;
    border: 1px solid #E8DDD0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E86A3A, #D4A84B);
    opacity: 0;
    transition: opacity 0.3s;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.06);
    border-color: #D4A84B;
}

.category-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.4rem;
    background: rgba(232, 106, 58, 0.08);
    color: #E86A3A;
    transition: background 0.3s, transform 0.3s;
}

.category-card:hover .card-icon {
    background: rgba(232, 106, 58, 0.15);
    transform: scale(1.05);
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2D2218;
}

.category-card p {
    color: #6A5A4A;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-link {
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    color: #E86A3A;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.card-link:hover {
    gap: 12px;
    color: #D4A84B;
}

/* ======= 特性块 ======= */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse > * {
    direction: ltr;
}

.feature-image {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #E8DDD0;
    aspect-ratio: 4/3;
    box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}

.feature-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(232, 106, 58, 0.06) 0%, rgba(212, 168, 75, 0.06) 100%);
    pointer-events: none;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-text {
    direction: ltr;
}

.feature-text .section-title {
    font-size: 2.2rem;
}

.feature-text .section-desc {
    margin-bottom: 28px;
}

.feature-list {
    list-style: none;
    margin-top: 8px;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #4A3A2A;
}

.feature-list li::before {
    content: '✓';
    font-weight: 800;
    color: #1E8C5A;
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 140, 90, 0.08);
    border-radius: 50%;
}

/* ======= 数据条 ======= */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
}

.stat-item {
    padding: 32px 20px;
    border-radius: 20px;
    background: #FCF9F6;
    border: 1px solid #E8DDD0;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, #E86A3A, #D4A84B);
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s, left 0.3s, right 0.3s;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.04);
    border-color: #D4A84B;
}

.stat-item:hover::before {
    opacity: 1;
    left: 10%;
    right: 10%;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: #2D2218;
    line-height: 1;
    font-feature-settings: "tnum";
}

.stat-number .suffix {
    font-size: 1.4rem;
    color: #E86A3A;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    color: #6A5A4A;
    margin-top: 8px;
    font-weight: 500;
}

/* ======= 内容墙 ======= */
.content-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.content-wall-item {
    border-radius: 20px;
    overflow: hidden;
    background: #FCF9F6;
    border: 1px solid #E8DDD0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.content-wall-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.06);
    border-color: #D4A84B;
}

.content-wall-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.content-wall-item:hover img {
    transform: scale(1.03);
}

.content-wall-body {
    padding: 24px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-wall-body .tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #E86A3A;
    background: rgba(232, 106, 58, 0.08);
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.content-wall-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2D2218;
    margin-bottom: 8px;
    line-height: 1.3;
}

.content-wall-body p {
    color: #6A5A4A;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.content-wall-body .card-link {
    align-self: flex-start;
    margin-top: auto;
}

/* ======= FAQ ======= */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #E8DDD0;
    border-radius: 16px;
    margin-bottom: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #FCF9F6;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
    border-color: #D4A84B;
}

.faq-item.open {
    border-color: #E86A3A;
    box-shadow: 0 4px 20px rgba(232, 106, 58, 0.06);
}

.faq-item .faq-question {
    padding: 18px 24px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2D2218;
    transition: color 0.2s;
    user-select: none;
}

.faq-item.open .faq-question {
    color: #E86A3A;
}

.faq-item .faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: #D4A84B;
    transition: transform 0.3s, color 0.3s;
    line-height: 1;
}

.faq-item.open .faq-question::after {
    content: '−';
    transform: rotate(180deg);
    color: #E86A3A;
}

.faq-item .faq-answer {
    padding: 0 24px 18px;
    display: none;
    color: #6A5A4A;
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ======= CTA 横幅 ======= */
.cta-banner {
    padding: 72px 40px;
    text-align: center;
    border-radius: 24px;
    background: linear-gradient(135deg, #2D7D4E 0%, #1E8C5A 40%, #E86A3A 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner h2 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    color: rgba(255,255,255,0.85);
    max-width: 520px;
    margin: 0 auto 32px;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.cta-banner .btn-primary {
    background: #fff;
    color: #E86A3A;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    position: relative;
    z-index: 1;
}

.cta-banner .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

/* ======= 页脚 ======= */
.site-footer {
    padding: 64px 0 32px;
    background: #2D2218;
    color: rgba(255,255,255,0.80);
}

.site-footer .logo {
    color: #fff;
}

.site-footer .logo-icon {
    background: linear-gradient(135deg, #E86A3A, #D4A84B);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand p {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 320px;
    line-height: 1.7;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: #D4A84B;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

/* ======= 工具类 ======= */
.text-accent {
    color: #E86A3A;
}

.text-center {
    text-align: center;
}

.seo-description {
    max-width: 600px;
    margin: 0 auto 48px;
    color: #6A5A4A;
    font-size: 1rem;
    line-height: 1.7;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

/* ======= 装饰性背景圆 ======= */
.section-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.04;
    background: #E86A3A;
}

/* ======= 响应式 ======= */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
        aspect-ratio: 16/10;
    }

    .hero::after {
        display: none;
    }

    .feature-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-block.reverse {
        direction: ltr;
    }

    .feature-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #F6F1EA;
        padding: 24px 32px;
        gap: 16px;
        border-bottom: 2px solid #E8DDD0;
        box-shadow: 0 16px 40px rgba(0,0,0,0.04);
    }

    .main-nav.open a {
        padding: 8px 0;
        font-size: 1rem;
    }

    .main-nav.open .nav-cta {
        text-align: center;
        margin-top: 8px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .cta-banner {
        padding: 48px 24px;
    }

    .cta-banner h2 {
        font-size: 1.8rem;
    }

    .content-wall {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

@media (max-width: 480px) {
    .section {
        padding: 56px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .content-wall {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .cta-banner {
        padding: 36px 20px;
    }

    .cta-banner h2 {
        font-size: 1.5rem;
    }
}

/* ======= 动画关键帧 ======= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-image {
    animation: fadeInUp 0.8s ease-out;
}

.hero-image {
    animation-delay: 0.2s;
}

/* ======= 排版微调 ======= */
h1, h2, h3, h4 {
    font-feature-settings: "palt" on;
}

a {
    color: inherit;
}