/* ============================================================
   Design System: "蜜桃薄荷 · 柔光杂志风"
   Domain: bingqiutupo22.cn
   Brand: MG电子试玩 - 冰球突破免费试玩
   Designer: Awwwards Award Winner
   ============================================================ */

/* ---------- 基础重置 ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    overflow-x: hidden;
    background: #FEF9F2;
    color: #2D3436;
    line-height: 1.6;
}

::selection {
    background: #F4A6A0;
    color: #fff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

/* ---------- 容器 ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
    position: relative;
}

.section:nth-child(even) {
    background: #FFF8F0;
}

.section:nth-child(even) .section-label::after {
    background: #8EBF9E;
}

/* ---------- 导航 ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(254, 249, 242, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(244, 166, 160, 0.15);
    transition: background 0.3s ease;
}

.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: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    text-decoration: none;
    color: #2D3436;
    letter-spacing: -0.3px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #F4A6A0, #E8B87B);
    color: #fff;
    box-shadow: 0 4px 12px rgba(244, 166, 160, 0.3);
}

.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: #2D3436;
    transition: all 0.25s ease;
    position: relative;
    padding-bottom: 4px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #F4A6A0;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: #F4A6A0;
}

.nav-cta {
    padding: 10px 24px !important;
    border-radius: 50px !important;
    color: #fff !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, #F4A6A0, #E8B87B) !important;
    box-shadow: 0 4px 16px rgba(244, 166, 160, 0.35);
    transition: all 0.3s ease !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px rgba(244, 166, 160, 0.45) !important;
    color: #fff !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #2D3436;
    border-radius: 4px;
    transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 96px;
    background: linear-gradient(165deg, #FFF8F0 0%, #FEF9F2 40%, #FFF0EC 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 166, 160, 0.12), transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(142, 191, 158, 0.10), transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    background: rgba(244, 166, 160, 0.15);
    color: #E07A72;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #2D3436;
}

.hero h1 span {
    background: linear-gradient(135deg, #F4A6A0, #E8B87B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.7;
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(244, 166, 160, 0.18), 0 8px 24px rgba(0,0,0,0.04);
    transform: perspective(800px) rotateY(-2deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: perspective(800px) rotateY(0deg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #F4A6A0, #E8B87B);
    box-shadow: 0 4px 20px rgba(244, 166, 160, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(244, 166, 160, 0.45);
}

.btn-outline {
    background: transparent;
    border: 2px solid #F4A6A0;
    color: #E07A72;
}

.btn-outline:hover {
    background: rgba(244, 166, 160, 0.08);
    transform: translateY(-3px);
}

/* ---------- 标签/标题 ---------- */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: #E07A72;
    position: relative;
    padding-left: 40px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 2px;
    background: #F4A6A0;
    border-radius: 2px;
}

.section-label::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: #8EBF9E;
    border-radius: 2px;
    opacity: 0.5;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.2;
    color: #2D3436;
}

.section-desc {
    max-width: 600px;
    opacity: 0.7;
    margin-bottom: 48px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ---------- 卡片网格 ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.category-card {
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid rgba(244, 166, 160, 0.10);
    background: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F4A6A0, #E8B87B);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(244, 166, 160, 0.12), 0 8px 24px rgba(0,0,0,0.04);
    border-color: rgba(244, 166, 160, 0.20);
}

.category-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #FFF0EC, #FFF8F0);
    color: #E07A72;
    transition: all 0.3s ease;
}

.category-card:hover .card-icon {
    background: linear-gradient(135deg, #F4A6A0, #E8B87B);
    color: #fff;
    transform: scale(1.05);
}

.category-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2D3436;
}

.category-card p {
    font-size: 0.9rem;
    opacity: 0.65;
    margin-bottom: 18px;
    line-height: 1.6;
}

.card-link {
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    color: #F4A6A0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 12px;
    color: #E07A72;
}

/* ---------- 特性块 ---------- */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.feature-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(142, 191, 158, 0.12);
    transition: transform 0.5s ease;
}

.feature-image:hover {
    transform: scale(1.01);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.feature-text > p {
    opacity: 0.7;
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '✦';
    font-weight: 700;
    color: #8EBF9E;
    font-size: 1.1rem;
}

/* ---------- 数据条 ---------- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 32px 20px;
    border-radius: 20px;
    border: 1px solid rgba(244, 166, 160, 0.08);
    background: #fff;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, #F4A6A0, #E8B87B);
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease, width 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(244, 166, 160, 0.10);
}

.stat-item:hover::after {
    opacity: 1;
    width: 70%;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #F4A6A0, #E8B87B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.6;
    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;
    border: 1px solid rgba(244, 166, 160, 0.08);
    background: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.content-wall-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(244, 166, 160, 0.10), 0 8px 24px rgba(0,0,0,0.04);
}

.content-wall-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.content-wall-item:hover img {
    transform: scale(1.03);
}

.content-wall-body {
    padding: 24px 28px 28px;
}

.content-wall-body h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2D3436;
}

.content-wall-body p {
    font-size: 0.88rem;
    opacity: 0.65;
    line-height: 1.6;
    margin-bottom: 14px;
}

.content-wall-body .card-link {
    font-size: 0.8rem;
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(244, 166, 160, 0.12);
    border-radius: 16px;
    margin-bottom: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(244, 166, 160, 0.25);
    box-shadow: 0 4px 20px rgba(244, 166, 160, 0.06);
}

.faq-item .faq-question {
    padding: 20px 28px;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2D3436;
    user-select: none;
}

.faq-item .faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: #F4A6A0;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-item .faq-answer {
    padding: 0 28px 20px;
    display: none;
    opacity: 0.7;
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-item.open .faq-answer {
    display: block;
    animation: fadeSlideIn 0.4s ease;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 0.7; transform: translateY(0); }
}

/* ---------- CTA横幅 ---------- */
.cta-banner {
    padding: 72px 40px;
    text-align: center;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, #F4A6A0, #E8B87B, #8EBF9E);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

.cta-banner h2 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    color: rgba(255,255,255,0.85);
    max-width: 500px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.cta-banner .btn-primary {
    background: #fff;
    color: #E07A72;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    position: relative;
    z-index: 1;
}

.cta-banner .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* ---------- 页脚 ---------- */
.site-footer {
    padding: 64px 0 28px;
    background: #FFF8F0;
    border-top: 1px solid rgba(244, 166, 160, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand .logo {
    font-size: 1.1rem;
}

.footer-brand p {
    opacity: 0.6;
    font-size: 0.9rem;
    max-width: 280px;
    line-height: 1.7;
}

.footer-col h5 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
    color: #E07A72;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.6;
    transition: all 0.25s ease;
}

.footer-col ul a:hover {
    opacity: 1;
    color: #F4A6A0;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(244, 166, 160, 0.10);
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s;
}

.footer-bottom a:hover {
    color: #F4A6A0;
}

/* ---------- 工具类 ---------- */
.text-accent {
    color: #F4A6A0;
}

.text-center {
    text-align: center;
}

.seo-description {
    max-width: 600px;
    margin: 0 auto 48px;
    opacity: 0.7;
    line-height: 1.7;
    font-size: 1.05rem;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

/* ---------- 额外装饰元素 ---------- */
.section-shape {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0.04;
}

.section-shape-1 {
    width: 400px;
    height: 400px;
    background: #F4A6A0;
    top: -100px;
    right: -100px;
}

.section-shape-2 {
    width: 300px;
    height: 300px;
    background: #8EBF9E;
    bottom: -80px;
    left: -80px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.6rem;
    }
    .hero .container {
        gap: 40px;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .footer-grid {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 120px 0 64px;
    }
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero p {
        margin: 0 auto 32px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-image {
        transform: none;
    }
    .hero-image:hover {
        transform: none;
    }
    .feature-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .feature-text {
        order: 1;
    }
    .feature-image {
        order: 0;
    }
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .main-nav {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(254, 249, 242, 0.98);
        backdrop-filter: blur(16px);
        padding: 28px 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(244, 166, 160, 0.10);
        box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    }
    .main-nav.open a {
        font-size: 1rem;
        padding: 6px 0;
    }
    .main-nav.open .nav-cta {
        text-align: center;
        padding: 12px 24px !important;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .cta-banner {
        padding: 48px 24px;
    }
    .cta-banner h2 {
        font-size: 1.6rem;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .section-label {
        padding-left: 0;
    }
    .section-label::before,
    .section-label::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .cards-grid,
    .content-wall,
    .stats-bar {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-buttons .btn {
        justify-content: center;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .section {
        padding: 64px 0;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .container {
        padding: 0 16px;
    }
    .cta-banner {
        border-radius: 16px;
        padding: 36px 20px;
    }
    .stat-item {
        padding: 24px 16px;
    }
}