/* ========================================
   秒单官网 - 纯CSS驱动样式表
   ======================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff6b00;
    --primary-dark: #e55e00;
    --primary-light: #fff3e6;
    --secondary: #1890ff;
    --accent: #ff4757;
    --green: #2ed573;
    --dark: #1a1a2e;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-500: #555555;
    --gray-700: #343a40;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.16);
    --radius: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--gray-700);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- 顶部通知条 ---------- */
.top-notice {
    background: linear-gradient(90deg, #fff3cd, #ffeaa7);
    border-bottom: 1px solid #ffd966;
    padding: 8px 0;
    text-align: center;
    position: relative;
    z-index: 100;
}

.notice-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.notice-text {
    font-size: 13px;
    color: #856404;
    font-weight: 500;
}

.notice-icon {
    font-size: 16px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

/* ---------- 导航栏 ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 99;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.logo-icon {
  width: 50px;
  height: auto;
  border-radius: 12px;
  animation: bolt 1.5s ease-in-out infinite;
}

@keyframes bolt {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    padding: 4px 0;
    transition: color .25s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all .3s;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-download {
    background: var(--primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 12px rgba(255,107,0,.35);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,0,.45);
}

/* ---------- Hero区域 ---------- */
.hero {
    background: linear-gradient(135deg, #fff8f0 0%, #fff3e6 30%, #ffe8d6 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,107,0,.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(24,144,255,.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 8px;
    background: rgba(255,107,0,.15);
    border-radius: 4px;
    z-index: -1;
}

.hero-desc {
    font-size: 17px;
    color: var(--gray-500);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all .3s;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255,107,0,.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,107,0,.45);
}

.btn-secondary {
    background: #fff;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 20px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 2px;
}

/* ---------- 手机模型 + 任务大厅UI ---------- */
.hero-visual {
    flex: 0 0 340px;
}

.hero-screenshot {
    width: 320px;
    height: 600px;
    margin: 0 auto;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 6px #1a1a2e, 0 0 0 8px #2a2a4a;
    animation: float 4s ease-in-out infinite;
    position: relative;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
}

/* 模拟手机顶部刘海 */
.hero-screenshot::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 22px;
    background: #1a1a2e;
    border-radius: 0 0 14px 14px;
    z-index: 10;
}

/* 手机状态栏 */
.phone-statusbar {
    height: 28px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    font-size: 9px;
    color: #333;
    flex-shrink: 0;
    padding-top: 4px;
}

.phone-carrier {
    font-weight: 500;
}

.phone-time {
    font-weight: 700;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.phone-icons {
    display: flex;
    gap: 3px;
    align-items: center;
}

.phone-signal {
    width: 12px;
    height: 9px;
    background: linear-gradient(
        to right,
        #333 0%, #333 25%,
        transparent 25%, transparent 30%,
        #333 30%, #333 50%,
        transparent 50%, transparent 55%,
        #333 55%, #333 75%,
        transparent 75%, transparent 80%,
        #333 80%, #333 100%
    );
    -webkit-mask: linear-gradient(to top, #333 60%, transparent 60%, transparent 80%, #333 80%, #333 100%);
}

.phone-battery {
    width: 18px;
    height: 9px;
    border: 1px solid #333;
    border-radius: 2px;
    position: relative;
}

.phone-battery::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    width: 14px;
    height: 5px;
    background: #2ed573;
    border-radius: 1px;
}

/* 手机顶部导航栏 */
.phone-navbar {
    height: 40px;
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.phone-nav-title {
    font-size: 15px;
    font-weight: 700;
}

.phone-nav-left,
.phone-nav-right {
    font-size: 11px;
    opacity: .9;
}

/* 标签页 */
.phone-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fff;
    padding: 0 8px;
    height: 36px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
    overflow: hidden;
}

.phone-tab {
    font-size: 11px;
    color: #666;
    padding: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.phone-tab.active {
    color: #ff6b00;
    font-weight: 700;
}

.phone-tab.active::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: #ff6b00;
    border-radius: 1px;
}

/* 任务列表 */
.phone-task-list {
    flex: 1;
    overflow-y: auto;
    background: #f5f5f5;
    padding: 6px 0;
}

.phone-task-list::-webkit-scrollbar {
    display: none;
}

.phone-task-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    margin: 4px 8px;
    padding: 8px;
    border-radius: 8px;
    transition: transform .25s;
}

.phone-task-item:hover {
    transform: scale(1.02);
}

.task-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    text-align: center;
    line-height: 1.1;
}

.task-body {
    flex: 1;
    min-width: 0;
}

.task-title {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-tags {
    display: flex;
    gap: 4px;
    margin-bottom: 3px;
}

.task-tag {
    font-size: 8px;
    color: #1890ff;
    background: #e8f4fd;
    padding: 1px 5px;
    border-radius: 3px;
    white-space: nowrap;
}

.task-meta {
    font-size: 8px;
    color: #999;
}

.task-reward {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    flex-shrink: 0;
}

.reward-coin {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffd700;
    color: #b8860b;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reward-num {
    font-size: 11px;
    font-weight: 700;
    color: #ff4757;
}

/* 手机底部导航 */
.phone-bottom-nav {
    height: 50px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid #eee;
    flex-shrink: 0;
    padding-bottom: 2px;
}

.phone-bnav-item {
    font-size: 10px;
    color: #999;
    text-align: center;
    line-height: 1.3;
}

.phone-bnav-item.active {
    color: #ff6b00;
}

.phone-bnav-item small {
    font-size: 8px;
}

.phone-bnav-center {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1a1a2e;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(255,140,0,.4);
    margin-top: -8px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ---------- 通用section ---------- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-title.left {
    text-align: left;
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle.white,
.section-title.white {
    color: rgba(255,255,255,.9);
}

/* ---------- 平台优势 ---------- */
.advantages {
    background: #ffffff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.advantage-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all .35s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transition: opacity .3s;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: rgba(255, 107, 0, 0.15);
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 32px;
    background: #f8f9fa;
    transition: all .3s;
}

.advantage-card:nth-child(1) .advantage-icon { background: #f0f2f5; }
.advantage-card:nth-child(2) .advantage-icon { background: #fff8e6; }
.advantage-card:nth-child(3) .advantage-icon { background: #e8f4fd; }
.advantage-card:nth-child(4) .advantage-icon { background: #f0f5ff; }
.advantage-card:nth-child(5) .advantage-icon { background: #f6ffed; }
.advantage-card:nth-child(6) .advantage-icon { background: #e6fffb; }

.advantage-card:hover .advantage-icon {
    transform: scale(1.15) rotate(5deg);
}

.advantage-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.advantage-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
}

/* ---------- 任务类型 ---------- */
.services-category {
    margin-bottom: 50px;
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px 20px;
    transition: all .3s;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(255,107,0,.1);
    transform: translateY(-4px);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.service-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ---------- 操作攻略 ---------- */
.guide {
    background: linear-gradient(135deg, #fafbff 0%, #ffffff 100%);
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.guide-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s;
}

.guide-card:hover {
    box-shadow: var(--shadow-md);
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.guide-badge {
    background: var(--primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.guide-badge.orange {
    background: var(--secondary);
}

.guide-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

.guide-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guide-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.guide-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.guide-list li strong {
    display: block;
    font-size: 15px;
    color: var(--dark);
    margin-bottom: 2px;
}

.guide-list li p {
    font-size: 13px;
    color: var(--gray-500);
}

/* ---------- 试玩专区 ---------- */
.playzone {
    background: var(--dark);
    position: relative;
}

.playzone .section-title,
.playzone .section-subtitle {
    color: rgba(255,255,255,.9);
}

.playzone-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.play-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: all .3s;
}

.play-card:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-6px);
}

.play-banner {
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.play-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.play-tag {
    display: inline-block;
    font-size: 11px;
    border: 1px solid rgba(255,107,0,.5);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 10px;
    margin: 0 3px 12px;
}

.play-reward {
    font-size: 15px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 16px;
}

.play-btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 10px 32px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    transition: all .3s;
}

.play-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* ---------- 关于我们 ---------- */
.about {
    background: #ffffff;
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
}

.about-desc {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-desc strong {
    color: var(--primary);
}

.about-info {
    margin-top: 28px;
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.info-item {
    display: flex;
    padding: 8px 0;
    font-size: 14px;
}

.info-label {
    font-weight: 600;
    color: var(--dark);
    min-width: 90px;
}

.about-visual {
    flex: 0 0 300px;
}

.about-card {
    background: linear-gradient(135deg, var(--primary), #ff8c00);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-stat {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.about-stat:last-child {
    border-bottom: none;
}

.big-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 4px;
}

.about-stat span:last-child {
    font-size: 14px;
    opacity: .85;
}

/* ---------- 下载按钮统一样式（用于footer链接等） ---------- */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--primary);
    color: #fff;
    padding: 14px 36px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    transition: all .3s;
    box-shadow: 0 6px 20px rgba(255,107,0,.35);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,107,0,.45);
}

/* ---------- 底部 ---------- */
.footer {
    background: #0f0f23;
    color: rgba(255,255,255,.6);
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    flex: 0 0 260px;
}

.footer-logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,.5);
    padding: 5px 0;
    transition: color .25s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,.08);
    margin-bottom: 24px;
}

.footer-bottom {
    text-align: center;
    padding-bottom: 30px;
}

.copyright-row {
    margin-bottom: 12px;
}

.copyright {
    font-size: 13px;
    color: rgba(255,255,255,.7);
}

.beian-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 28px;
    padding: 4px 0;
}

.beian-item {
    font-size: 12px;
    color: rgba(255,255,255,.4);
    padding: 2px 0;
    border-bottom: 1px dashed rgba(255,255,255,.08);
    transition: color .25s;
}

.beian-item:hover {
    color: rgba(255,255,255,.7);
}

.contact-row {
    margin-top: 6px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .playzone-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        flex-direction: column;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }

    .nav-menu {
        display: none;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .playzone-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 26px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .beian-row {
        flex-direction: column;
        gap: 4px;
    }
}

/* ---------- 滚动动画（纯CSS） ---------- */
@supports (animation-timeline: scroll()) {
    .advantage-card {
        animation: fadeInUp linear both;
        animation-timeline: scroll();
        animation-range: entry 10% cover 30%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- 平滑出现动画 ---------- */
.advantage-card:nth-child(1) { animation-delay: .1s; }
.advantage-card:nth-child(2) { animation-delay: .2s; }
.advantage-card:nth-child(3) { animation-delay: .3s; }
.advantage-card:nth-child(4) { animation-delay: .4s; }
.advantage-card:nth-child(5) { animation-delay: .5s; }
.advantage-card:nth-child(6) { animation-delay: .6s; }

/* 页面加载动画 */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.header {
    animation: slideDown .6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content {
    animation: fadeIn .8s ease-out .2s both;
}

.hero-visual {
    animation: fadeIn .8s ease-out .4s both;
}
