/* ============================================
   一竞技官网 — 每个巅峰，从这里开始
   设计风格：暖阳流体·珊瑚玻璃态
   配色：暖米白 + 珊瑚红 + 暖桃色
   ============================================ */

/* —— 基础重置 —— */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    overflow-x: hidden;
    background: #fefaf6;
    color: #3a322e;
    line-height: 1.6;
}

/* —— 核心布局 —— */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background: #fff7f2;
}

/* 偶数区域微妙纹理 */
.section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(255, 107, 107, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 30%, rgba(255, 142, 114, 0.05) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.section:nth-child(even) .container {
    position: relative;
    z-index: 1;
}

/* —— 导航 —— */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(254, 250, 246, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 142, 114, 0.18);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 24px rgba(255, 107, 107, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.3rem;
    text-decoration: none;
    color: #3a322e;
    letter-spacing: -0.3px;
    transition: 0.25s ease;
}

.logo:hover {
    color: #ff6b6b;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e72 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(255, 107, 107, 0.3);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    color: #5a4f48;
    transition: 0.22s ease;
    position: relative;
    padding: 4px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e72);
    border-radius: 2px;
    transition: width 0.28s ease;
}

.main-nav a:hover {
    color: #ff6b6b;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 9px 22px;
    border-radius: 25px;
    color: #fff !important;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e72 100%);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.35);
    transition: all 0.3s ease !important;
    letter-spacing: 0.3px;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.45);
    color: #fff !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    border-radius: 3px;
    background: #3a322e;
    transition: 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* —— Hero —— */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 88px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -180px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 142, 114, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 56px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 720px;
    flex: 1;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 22px;
    margin-bottom: 18px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.hero h1 {
    font-size: 3.4rem;
    line-height: 1.15;
    margin-bottom: 22px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #2d2622;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e72 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.72;
    max-width: 560px;
    margin-bottom: 34px;
    color: #5a4f48;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-image {
    border-radius: 16px;
    overflow: hidden;
    flex: 0 0 420px;
    box-shadow: 0 20px 50px rgba(255, 107, 107, 0.13), 0 4px 12px rgba(0, 0, 0, 0.04);
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* —— 按钮 —— */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.28s ease;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e72 100%);
    box-shadow: 0 4px 18px rgba(255, 107, 107, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(255, 107, 107, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
}

.btn-outline:hover {
    background: #ff6b6b;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

/* —— 标签/标题 —— */
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
    text-transform: uppercase;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.07);
    padding: 5px 14px;
    border-radius: 20px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: #2d2622;
    line-height: 1.25;
}

.section-desc {
    max-width: 600px;
    opacity: 0.7;
    margin-bottom: 44px;
    font-size: 1.05rem;
    color: #5a4f48;
    line-height: 1.7;
}

/* —— 卡片网格 —— */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.category-card {
    border-radius: 16px;
    padding: 30px 26px;
    border: 1px solid rgba(255, 142, 114, 0.2);
    transition: all 0.32s ease;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e72);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    border-radius: 0 0 3px 3px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(255, 107, 107, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: rgba(255, 107, 107, 0.35);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12) 0%, rgba(255, 142, 114, 0.08) 100%);
    color: #ff6b6b;
    transition: 0.3s ease;
}

.category-card:hover .card-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e72 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

.category-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2d2622;
}

.category-card p {
    font-size: 0.9rem;
    color: #6b5f57;
    margin-bottom: 16px;
    line-height: 1.55;
}

.card-link {
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    color: #ff6b6b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.25s ease;
}

.card-link:hover {
    gap: 8px;
}

/* —— 特性块 —— */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.feature-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(255, 107, 107, 0.1), 0 4px 10px rgba(0, 0, 0, 0.03);
    position: relative;
}

.feature-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-text h3 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #2d2622;
    letter-spacing: -0.4px;
}

.feature-text p {
    color: #5a4f48;
    margin-bottom: 20px;
    line-height: 1.7;
    opacity: 0.8;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #3a322e;
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '✓';
    font-weight: 800;
    color: #ff6b6b;
    font-size: 1.1rem;
    background: rgba(255, 107, 107, 0.1);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* —— 统计数据条 —— */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 28px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 142, 114, 0.2);
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e72);
    opacity: 0;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.3);
}

.stat-item:hover::after {
    opacity: 1;
    width: 60px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e72 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 8px;
    color: #5a4f48;
    font-weight: 500;
}

/* —— 内容墙 —— */
.content-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.content-wall-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 142, 114, 0.2);
    transition: all 0.32s ease;
    background: #fff;
}

.content-wall-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(255, 107, 107, 0.1), 0 3px 8px rgba(0, 0, 0, 0.03);
    border-color: rgba(255, 107, 107, 0.3);
}

.content-wall-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.content-wall-item:hover img {
    transform: scale(1.04);
}

.content-wall-body {
    padding: 22px 20px;
}

.content-wall-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2d2622;
    margin-bottom: 6px;
}

.content-wall-body p {
    font-size: 0.88rem;
    color: #6b5f57;
    opacity: 0.75;
    line-height: 1.5;
}

.content-wall-body .card-link {
    margin-top: 10px;
    display: inline-flex;
}

/* —— FAQ —— */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(255, 142, 114, 0.22);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: all 0.28s ease;
}

.faq-item:hover {
    border-color: rgba(255, 107, 107, 0.35);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.06);
}

.faq-item .faq-question {
    padding: 18px 22px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2d2622;
    font-size: 1rem;
    gap: 16px;
}

.faq-item .faq-question::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 600;
    color: #ff6b6b;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-item .faq-answer {
    padding: 0 22px 18px;
    display: none;
    opacity: 0.7;
    color: #5a4f48;
    line-height: 1.65;
    font-size: 0.93rem;
}

.faq-item.open .faq-answer {
    display: block;
    animation: fadeSlideIn 0.35s ease;
}

.faq-item.open {
    border-color: rgba(255, 107, 107, 0.4);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.08);
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 0.7;
        transform: translateY(0);
    }
}

/* —— CTA横幅 —— */
.cta-banner {
    padding: 60px 28px;
    text-align: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e72 50%, #ffa78c 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(255, 107, 107, 0.25);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.cta-banner h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.4px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    opacity: 0.9;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}

.cta-banner .btn-primary {
    background: #fff;
    color: #ff6b6b;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.cta-banner .btn-primary:hover {
    background: #fff;
    color: #ff6b6b;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

/* —— 页脚 —— */
.site-footer {
    padding: 56px 0 28px;
    background: #f5ede6;
    color: #3a322e;
    border-top: 1px solid rgba(255, 142, 114, 0.2);
}

.site-footer .container {
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #2d2622;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #5a4f48;
}

.footer-col h4 {
    font-weight: 700;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #2d2622;
    letter-spacing: 0.3px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #5a4f48;
    font-size: 0.88rem;
    opacity: 0.75;
    transition: all 0.22s ease;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: #ff6b6b;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 142, 114, 0.2);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #8a7d74;
}

/* —— 工具类 —— */
.text-accent {
    color: #ff6b6b;
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.seo-description {
    max-width: 600px;
    margin: 0 auto 48px;
    opacity: 0.7;
    text-align: center;
    font-size: 0.95rem;
    color: #5a4f48;
    line-height: 1.6;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

/* —— 响应式 —— */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        gap: 40px;
    }

    .hero-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .feature-block {
        gap: 36px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .feature-block {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        background: rgba(254, 250, 246, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 24px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
        border-bottom: 1px solid rgba(255, 142, 114, 0.18);
        z-index: 999;
    }

    .main-nav.open a {
        padding: 10px 0;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .main-nav.open .nav-cta {
        margin-top: 8px;
        display: inline-block;
        text-align: center;
        width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header-inner {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-eyebrow {
        font-size: 0.72rem;
        padding: 4px 12px;
    }

    .cards-grid,
    .content-wall,
    .stats-bar {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-banner {
        padding: 40px 20px;
    }

    .cta-banner h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-text h3 {
        font-size: 1.35rem;
    }

    .stat-item {
        padding: 20px 16px;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

/* —— 打印样式 —— */
@media print {
    .site-header,
    .menu-toggle,
    .cta-banner,
    .site-footer {
        display: none;
    }

    body {
        background: #fff;
        color: #000;
    }

    .section:nth-child(even) {
        background: #fff;
    }
}