/* ============================================
   CRCraft 官网样式表
   完整响应式多端自适应版本
   断点: 320px / 480px / 768px / 1024px / 1440px
   ============================================ */

/* ===== CSS 变量 ===== */
:root {
    /* 主题色 */
    --c-primary: #10b981;
    --c-primary-light: #34d399;
    --c-primary-dark: #059669;
    --c-secondary: #06b6d4;
    --c-accent: #f59e0b;
    
    /* 背景色 */
    --bg-base: #080c0a;
    --bg-elevated: #0f1512;
    --bg-surface: #141a17;
    
    /* 文字色 */
    --text-primary: #f0fdf4;
    --text-secondary: #a7f3d0;
    --text-muted: #6b7280;
    
    /* 边框色 */
    --border: #1e3a2f;
    
    /* 字体 */
    --font-display: 'Space Grotesk', 'Noto Sans SC', sans-serif;
    --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;
    
    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    /* 阴影 */
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 50px rgba(16, 185, 129, 0.25);
    
    /* 间距 - 响应式 */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 60px;
}

/* ===== 亮色主题 ===== */
[data-theme="light"] {
    --bg-base: #f0fdf4;
    --bg-elevated: #ffffff;
    --bg-surface: #ecfdf5;
    --text-primary: #022c22;
    --text-secondary: #065f46;
    --text-muted: #6b7280;
    --border: #d1fae5;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* ===== 彩色主题 ===== */
[data-theme="colorful"] {
    --c-primary: #8b5cf6;
    --c-primary-light: #a78bfa;
    --c-secondary: #ec4899;
    --c-accent: #f59e0b;
}

/* ===== 基础重置 ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { 
    scroll-behavior: smooth;
    font-size: 15px; /* 移动端基础字号 */
}

/* 平板及以上 - 增大字号 */
@media (min-width: 768px) {
    html { font-size: 16px; }
}

/* 桌面 - 更大字号 */
@media (min-width: 1024px) {
    html { font-size: 17px; }
}

/* 大屏桌面 */
@media (min-width: 1440px) {
    html { font-size: 18px; }
}

body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* 桌面端自定义光标 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 触摸设备 - 使用默认光标 */
@media (hover: none) and (pointer: coarse) {
    body { cursor: auto; }
    .cursor-dot, .cursor-ring, .cursor-trail, .floating-cubes { 
        display: none !important; 
    }
}

/* 小屏触摸设备 - 隐藏主题切换 */
@media (max-width: 767px) and (hover: none) {
    .theme-toggle { display: none !important; }
}

/* 选择文本样式 */
::selection {
    background: var(--c-primary);
    color: var(--bg-base);
}

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

/* ===== 滚动渐入动画 ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== 自定义光标 - 仅桌面端 ===== */
.cursor-dot, .cursor-ring {
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    border-radius: 50%;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--c-primary);
    transform: translate(-50%, -50%);
    transition: transform 0.1s, background 0.2s;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid var(--c-primary);
    transform: translate(-50%, -50%);
    opacity: 0.5;
    transition: all 0.15s ease-out;
}

.cursor-dot.hover { 
    transform: translate(-50%, -50%) scale(2.5); 
    background: var(--c-secondary); 
}

.cursor-ring.hover { 
    width: 60px; 
    height: 60px; 
    border-color: var(--c-secondary); 
    opacity: 1; 
}

.cursor-trail {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10000;
    overflow: hidden;
}

.trail-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--c-primary);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}

/* ===== 3D 浮动方块 - 仅桌面端 ===== */
.floating-cubes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.mc-cube {
    position: absolute;
    width: 50px;
    height: 50px;
    transform-style: preserve-3d;
    animation: cubeFloat 20s infinite ease-in-out;
}

.mc-cube::before, .mc-cube::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid var(--c-primary);
    background: rgba(16, 185, 129, 0.06);
    backface-visibility: visible;
}

.mc-cube::before { 
    transform: rotateY(45deg) rotateX(45deg); 
    animation: cubeSpin 10s linear infinite; 
}

.mc-cube::after { 
    transform: rotateY(-45deg) rotateX(-45deg); 
    animation: cubeSpin 10s linear infinite reverse; 
}

.cube-1 { top: 8%; left: 4%; }
.cube-2 { top: 55%; right: 6%; width: 35px; height: 35px; animation-delay: -7s; }
.cube-3 { bottom: 18%; left: 12%; width: 40px; height: 40px; animation-delay: -14s; }

@keyframes cubeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.25; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 0.45; }
}

@keyframes cubeSpin {
    to { transform: rotateY(405deg) rotateX(405deg); }
}

/* ===== 加载屏幕 ===== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-base);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 280px;
    padding: 20px;
}

/* 加载方块网格 - 居中 */
.preloader-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 32px;
    justify-items: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    width: fit-content; /* 根据内容自适应宽度 */
    margin-left: auto;
    margin-right: auto;
}

.preloader-blocks .block {
    width: 28px;
    height: 28px;
    background: var(--c-primary);
    border-radius: 6px;
    animation: blockPulse 1.2s infinite ease-in-out;
}

.preloader-blocks .block:nth-child(2) { animation-delay: 0.1s; }
.preloader-blocks .block:nth-child(3) { animation-delay: 0.2s; }
.preloader-blocks .block:nth-child(4) { animation-delay: 0.3s; }
.preloader-blocks .block:nth-child(5) { animation-delay: 0.4s; }
.preloader-blocks .block:nth-child(6) { animation-delay: 0.5s; }
.preloader-blocks .block:nth-child(7) { animation-delay: 0.6s; }
.preloader-blocks .block:nth-child(8) { animation-delay: 0.7s; }
.preloader-blocks .block:nth-child(9) { animation-delay: 0.8s; }

@keyframes blockPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.2); opacity: 1; }
}

.preloader-logo {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 28px;
}

@media (min-width: 480px) {
    .preloader-logo { font-size: 2.8rem; letter-spacing: 8px; }
}

.preloader-logo .logo-cr {
    color: var(--c-primary);
    text-shadow: 0 0 40px var(--c-primary);
    animation: logoGlow 2s infinite;
}

@keyframes logoGlow {
    0%, 100% { text-shadow: 0 0 20px var(--c-primary); }
    50% { text-shadow: 0 0 50px var(--c-primary), 0 0 80px var(--c-primary); }
}

.preloader-logo .logo-craft {
    color: var(--text-primary);
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    margin-bottom: 18px;
    overflow: hidden;
}

@media (min-width: 480px) {
    .preloader-bar { width: 240px; }
}

.preloader-bar .bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--c-primary), var(--c-secondary), var(--c-primary));
    background-size: 200% 100%;
    animation: barFill 2s ease-out forwards, barShine 1.5s ease infinite;
}

@keyframes barFill {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes barShine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.preloader-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    animation: textFade 1.5s ease infinite;
}

@media (min-width: 480px) {
    .preloader-text { font-size: 0.9rem; }
}

@keyframes textFade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ===== 背景效果 ===== */
.bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    animation: orbFloat 30s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--c-primary), transparent 70%);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--c-secondary), transparent 70%);
    top: 35%;
    right: -150px;
    animation-delay: -10s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--c-accent), transparent 70%);
    bottom: -150px;
    left: 20%;
    animation-delay: -20s;
}

/* 平板及以上 - 更大的光球 */
@media (min-width: 768px) {
    .orb-1 { width: 600px; height: 600px; }
    .orb-2 { width: 500px; height: 500px; }
    .orb-3 { width: 550px; height: 550px; }
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, 50px) scale(1.05); }
    50% { transform: translate(0, 80px) scale(1); }
    75% { transform: translate(-40px, 40px) scale(0.95); }
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(30, 58, 47, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 47, 0.2) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridScroll 50s linear infinite;
}

@keyframes gridScroll {
    to { transform: translateY(50px); }
}

.bg-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.025;
}

.bg-particles {
    position: absolute;
    inset: 0;
}

.bg-particles .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--c-primary);
    border-radius: 50%;
    opacity: 0.35;
    animation: particleDrift 25s infinite ease-in-out;
}

@keyframes particleDrift {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(25px, -35px); }
    50% { transform: translate(-15px, 25px); }
    75% { transform: translate(20px, 15px); }
}

.seasonal-decor {
    position: absolute;
    inset: 0;
}

.seasonal-decor .flake {
    position: absolute;
    opacity: 0.5;
    animation: flakeFall linear infinite;
}

@keyframes flakeFall {
    0% { transform: translateY(-50px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

/* ===== 主题切换按钮 ===== */
.theme-toggle {
    position: fixed;
    top: 90px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .theme-toggle { top: 100px; right: 20px; width: 46px; height: 46px; }
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    border-color: var(--c-primary);
    box-shadow: var(--shadow-glow);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: var(--text-secondary);
    transition: fill 0.3s;
}

@media (min-width: 768px) {
    .theme-toggle svg { width: 22px; height: 22px; }
}

.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ===== 导航栏 ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
    .nav { padding: 18px 0; }
}

.nav.scrolled {
    background: rgba(8, 12, 10, 0.85);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

@media (min-width: 768px) {
    .nav.scrolled { padding: 14px 0; }
}

[data-theme="light"] .nav.scrolled {
    background: rgba(240, 253, 244, 0.9);
}

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

@media (min-width: 480px) {
    .nav-inner { padding: 0 20px; }
}

@media (min-width: 768px) {
    .nav-inner { padding: 0 28px; }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 480px) {
    .nav-brand { gap: 10px; }
}

.brand-icon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
}

.brand-icon .icon-block {
    width: 8px;
    height: 8px;
    background: var(--c-primary);
    border-radius: 2px;
    transition: transform 0.3s;
}

@media (min-width: 480px) {
    .brand-icon .icon-block { width: 9px; height: 9px; }
}

.nav-brand:hover .icon-block {
    transform: scale(1.2);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 480px) {
    .brand-name { font-size: 1.2rem; }
}

@media (min-width: 768px) {
    .brand-name { font-size: 1.3rem; letter-spacing: 3px; }
}

.nav-links {
    display: none;
    gap: 4px;
}

@media (min-width: 768px) {
    .nav-links { display: flex; gap: 6px; }
}

@media (min-width: 1024px) {
    .nav-links { gap: 8px; }
}

.nav-link {
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    transition: all 0.3s;
    position: relative;
}

@media (min-width: 1024px) {
    .nav-link { padding: 10px 18px; font-size: 0.9rem; }
}

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

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

.nav-link.active::after {
    width: 20px;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (min-width: 480px) {
    .nav-actions { gap: 12px; }
}

@media (min-width: 768px) {
    .nav-actions { gap: 18px; }
}

.nav-status {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all 0.3s;
}

@media (min-width: 480px) {
    .nav-status { display: flex; }
}

@media (min-width: 768px) {
    .nav-status { gap: 10px; padding: 10px 16px; }
}

.nav-status:hover {
    border-color: var(--c-primary);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all 0.3s;
}

.status-dot.online {
    background: var(--c-primary);
    box-shadow: 0 0 12px var(--c-primary);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.nav-status .status-text {
    font-size: 0.75rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .nav-status .status-text { font-size: 0.85rem; }
}

.nav-menu-btn {
    display: flex;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

@media (min-width: 768px) {
    .nav-menu-btn { display: none; }
}

.nav-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-menu-btn.active span:nth-child(2) { opacity: 0; }
.nav-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 12, 10, 0.98);
    backdrop-filter: blur(25px);
    padding: 16px;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid var(--border);
}

[data-theme="light"] .nav-mobile {
    background: rgba(240, 253, 244, 0.98);
}

.nav-mobile.show { display: flex; }

.nav-mobile a {
    padding: 14px 16px;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all 0.2s;
    font-size: 0.95rem;
}

.nav-mobile a:hover { 
    background: var(--bg-elevated); 
    color: var(--text-primary); 
}

/* ===== Hero 首屏 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 14px 50px;
    position: relative;
    z-index: 1;
}

@media (min-width: 480px) {
    .hero { padding: 100px 18px 60px; }
}

@media (min-width: 768px) {
    .hero { padding: 110px 24px 70px; }
}

@media (min-width: 1024px) {
    .hero { padding: 120px 24px 80px; }
}

.hero-inner {
    max-width: 680px;
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-inner { max-width: 720px; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
    animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 480px) {
    .hero-badge { gap: 8px; padding: 8px 16px; margin-bottom: 20px; flex-wrap: nowrap; }
}

@media (min-width: 768px) {
    .hero-badge { gap: 10px; padding: 10px 22px; margin-bottom: 24px; }
}

.badge-icon { font-size: 0.9rem; }
@media (min-width: 480px) { .badge-icon { font-size: 1rem; } }

.hero-badge span { font-size: 0.75rem; color: var(--text-secondary); }
@media (min-width: 480px) { .hero-badge span { font-size: 0.85rem; } }

.badge-tag {
    padding: 3px 8px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--c-primary);
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

@media (min-width: 480px) {
    .badge-tag { padding: 4px 10px; font-size: 0.7rem; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 10vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

@media (min-width: 768px) {
    .hero-title { font-size: clamp(3rem, 10vw, 5rem); letter-spacing: 5px; }
}

.title-cr {
    color: var(--c-primary);
    text-shadow: 0 0 60px rgba(16, 185, 129, 0.6);
}

.title-craft { color: var(--text-primary); }

.title-cursor {
    font-weight: 300;
    color: var(--c-primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@media (min-width: 480px) {
    .hero-tags { gap: 14px; margin-bottom: 18px; }
}

.hero-tags span { font-size: 0.85rem; color: var(--text-secondary); }
@media (min-width: 480px) { .hero-tags span { font-size: 0.95rem; } }

.hero-tags .tag-dot { 
    width: 4px; 
    height: 4px; 
    background: var(--c-primary); 
    border-radius: 50%; 
}

.hero-tags .tag-highlight { color: var(--c-accent); font-weight: 600; }

.hero-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@media (min-width: 480px) {
    .hero-desc { font-size: 0.95rem; margin-bottom: 30px; }
}

@media (min-width: 768px) {
    .hero-desc { font-size: 1rem; margin-bottom: 36px; }
}

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

/* ===== 服务器状态卡片 ===== */
.server-card {
    position: relative;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

@media (min-width: 480px) {
    .server-card { margin-bottom: 30px; }
}

@media (min-width: 768px) {
    .server-card { margin-bottom: 36px; }
}

/* 呼吸光效边框 */
.server-card .card-glow {
    position: absolute;
    inset: -3px;
    background: conic-gradient(from 0deg, var(--c-primary), var(--c-secondary), var(--c-accent), var(--c-primary));
    border-radius: calc(var(--radius-lg) + 3px);
    z-index: -1;
    opacity: 0;
    animation: glowRotate 8s linear infinite, glowBreath 4s ease-in-out infinite;
    filter: blur(12px);
}

.server-card:hover .card-glow { opacity: 0.5; }

@keyframes glowRotate {
    to { transform: rotate(360deg); }
}

@keyframes glowBreath {
    0%, 100% { opacity: 0.25; filter: blur(12px); }
    50% { opacity: 0.5; filter: blur(20px); }
}

.card-inner {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
}

@media (min-width: 480px) {
    .card-inner { padding: 20px; }
}

@media (min-width: 768px) {
    .card-inner { padding: 24px; }
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

@media (min-width: 768px) {
    .card-head { margin-bottom: 18px; }
}

.head-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .head-status { gap: 10px; }
}

.status-led {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .status-led { width: 12px; height: 12px; }
}

.status-led.online {
    background: var(--c-primary);
    box-shadow: 0 0 20px var(--c-primary), 0 0 40px rgba(16, 185, 129, 0.3);
    animation: ledPulse 2s infinite;
}

.status-led.offline {
    background: #ef4444;
    box-shadow: 0 0 20px #ef4444;
}

@keyframes ledPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px var(--c-primary); }
    50% { transform: scale(1.15); box-shadow: 0 0 30px var(--c-primary), 0 0 50px rgba(16, 185, 129, 0.4); }
}

.head-status .status-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .head-status .status-text { font-size: 0.9rem; }
}

.head-status .status-text.online { color: var(--c-primary); }
.head-status .status-text.offline { color: #ef4444; }

.head-refresh {
    width: 34px;
    height: 34px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .head-refresh { width: 38px; height: 38px; }
}

.head-refresh:hover { 
    border-color: var(--c-primary); 
    transform: rotate(180deg);
}

.head-refresh.loading svg { animation: spin 1s linear infinite; }
.head-refresh.loading:hover { transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }

.head-refresh svg {
    width: 15px;
    height: 15px;
    fill: var(--text-secondary);
}

@media (min-width: 768px) {
    .head-refresh svg { width: 17px; height: 17px; }
}

/* 地址卡片 */
.card-address {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    flex-wrap: wrap;
}

@media (min-width: 480px) {
    .card-address { gap: 12px; padding: 14px; flex-wrap: nowrap; }
}

@media (min-width: 768px) {
    .card-address { gap: 14px; padding: 16px; margin-bottom: 14px; }
}

.card-address:hover {
    background: var(--bg-base);
    transform: scale(1.01);
    border-color: var(--border);
}

.address-icon {
    width: 36px;
    height: 36px;
    background: rgba(16, 185, 129, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .address-icon { width: 42px; height: 42px; }
}

.card-address:hover .address-icon {
    background: var(--c-primary);
}

.address-icon svg {
    width: 17px;
    height: 17px;
    fill: var(--c-primary);
    transition: fill 0.3s;
}

@media (min-width: 768px) {
    .address-icon svg { width: 20px; height: 20px; }
}

.card-address:hover .address-icon svg {
    fill: var(--bg-base);
}

.address-text {
    flex: 1;
    text-align: left;
    min-width: 0;
}

.text-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .text-label { font-size: 0.7rem; }
}

.text-value {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .text-value { font-size: 1rem; }
}

.address-copy {
    display: none;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--c-primary);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

@media (min-width: 480px) {
    .address-copy { display: flex; }
}

.address-copy svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

.card-address:hover .address-copy {
    background: var(--c-primary);
    color: var(--bg-base);
}

/* 统计数据 */
.card-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

@media (min-width: 480px) {
    .card-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}

@media (min-width: 768px) {
    .card-stats { gap: 10px; margin-bottom: 14px; }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--bg-base);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .stat-item { gap: 12px; padding: 12px; }
}

.stat-item:hover {
    background: var(--bg-surface);
}

.stat-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .stat-icon { width: 36px; height: 36px; }
}

.stat-icon svg { width: 15px; height: 15px; }
@media (min-width: 768px) { .stat-icon svg { width: 17px; height: 17px; } }

.icon-players { background: rgba(16, 185, 129, 0.12); }
.icon-players svg { fill: var(--c-primary); }
.icon-version { background: rgba(6, 182, 212, 0.12); }
.icon-version svg { fill: var(--c-secondary); }
.icon-ping { background: rgba(245, 158, 11, 0.12); }
.icon-ping svg { fill: var(--c-accent); }

.stat-data { text-align: left; }

.data-num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
}

@media (min-width: 768px) {
    .data-num { font-size: 0.95rem; }
}

.data-num span { color: var(--text-muted); }
.data-num .unit { font-size: 0.65rem; }

.data-label {
    display: block;
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-top: 1px;
}

@media (min-width: 768px) {
    .data-label { font-size: 0.65rem; }
}

/* 服务器信息 */
.card-info {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-base);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 480px) {
    .card-info { flex-direction: row; text-align: left; }
}

@media (min-width: 768px) {
    .card-info { gap: 14px; padding: 14px; margin-bottom: 14px; }
}

.info-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border);
}

@media (min-width: 768px) {
    .info-icon { width: 56px; height: 56px; }
}

.info-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

.info-icon .icon-placeholder svg {
    width: 24px;
    height: 24px;
    fill: var(--border);
}

@media (min-width: 768px) {
    .info-icon .icon-placeholder svg { width: 26px; height: 26px; }
}

.info-content { flex: 1; min-width: 0; }

.content-motd {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .content-motd { font-size: 0.85rem; margin-bottom: 10px; }
}

.content-players {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

@media (min-width: 480px) {
    .content-players { justify-content: flex-start; }
}

.players-label {
    font-size: 0.65rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .players-label { font-size: 0.7rem; }
}

.players-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.player-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-xl);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--c-primary-light);
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .player-badge { padding: 4px 10px; font-size: 0.75rem; gap: 5px; }
}

.player-badge:hover {
    background: rgba(16, 185, 129, 0.18);
    border-color: var(--c-primary);
}

.player-badge img {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    image-rendering: pixelated;
}

@media (min-width: 768px) {
    .player-badge img { width: 14px; height: 14px; }
}

.player-more {
    padding: 3px 8px;
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    font-size: 0.65rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .player-more { padding: 4px 10px; font-size: 0.7rem; }
}

.card-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .card-foot { gap: 8px; font-size: 0.8rem; }
}

.card-foot svg {
    width: 14px;
    height: 14px;
    fill: var(--c-secondary);
}

/* ===== Hero 按钮 ===== */
.hero-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@media (min-width: 480px) {
    .hero-actions { gap: 14px; }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    justify-content: center;
}

@media (min-width: 480px) {
    .btn { width: auto; padding: 14px 26px; font-size: 0.9rem; gap: 10px; }
}

@media (min-width: 768px) {
    .btn { padding: 16px 30px; }
}

.btn svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

@media (min-width: 480px) {
    .btn svg { width: 17px; height: 17px; }
}

.btn-primary {
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
    color: var(--bg-base);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

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

/* 涟漪效果 */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

/* ===== 通用 Section ===== */
.section {
    padding: 50px 14px;
    position: relative;
    z-index: 1;
}

@media (min-width: 480px) {
    .section { padding: 60px 18px; }
}

@media (min-width: 768px) {
    .section { padding: 70px 24px; }
}

@media (min-width: 1024px) {
    .section { padding: 90px 24px; }
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-head {
    text-align: center;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .section-head { margin-bottom: 44px; }
}

@media (min-width: 1024px) {
    .section-head { margin-bottom: 56px; }
}

.section-tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--c-primary);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

@media (min-width: 768px) {
    .section-tag { padding: 6px 16px; font-size: 0.7rem; letter-spacing: 3px; margin-bottom: 16px; }
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .section-title { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: 12px; }
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .section-subtitle { font-size: 0.95rem; }
}

/* ===== 关于我们 ===== */
.about-grid {
    display: grid;
    gap: 12px;
}

@media (min-width: 480px) {
    .about-grid { gap: 14px; }
}

@media (min-width: 768px) {
    .about-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

.about-card {
    padding: 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .about-card { padding: 26px; }
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-primary), var(--c-secondary));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.about-card:hover {
    border-color: var(--c-primary);
    transform: translateY(-6px);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card .card-emoji {
    font-size: 2.2rem;
    margin-bottom: 10px;
    display: block;
}

@media (min-width: 768px) {
    .about-card .card-emoji { font-size: 2.6rem; margin-bottom: 14px; }
}

.about-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .about-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
}

.about-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

@media (min-width: 768px) {
    .about-card p { font-size: 0.88rem; line-height: 1.6; }
}

/* ===== 服务器特色 ===== */
.features-grid {
    display: grid;
    gap: 10px;
}

@media (min-width: 480px) {
    .features-grid { gap: 12px; }
}

@media (min-width: 640px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

.feature-card {
    position: relative;
    padding: 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

@media (min-width: 768px) {
    .feature-card { padding: 22px; }
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(16, 185, 129, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    border-color: var(--c-primary);
}

.feature-card:hover::after { opacity: 1; }

.feature-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .feature-icon { font-size: 1.8rem; margin-bottom: 12px; }
}

.feature-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .feature-card h3 { font-size: 1rem; margin-bottom: 6px; }
}

.feature-card p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .feature-card p { font-size: 0.82rem; }
}

.feature-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    background: var(--c-accent);
    color: var(--bg-base);
    font-size: 0.55rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    z-index: 1;
}

@media (min-width: 768px) {
    .feature-badge { top: 12px; right: 12px; padding: 4px 10px; font-size: 0.6rem; }
}

/* ===== 加入服务器 ===== */
.join-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .join-steps { flex-direction: row; justify-content: center; gap: 20px; margin-bottom: 50px; }
}

.step {
    text-align: center;
    padding: 14px;
}

@media (min-width: 768px) {
    .step { padding: 18px; }
}

.step-num {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-primary);
    border: 3px solid var(--border);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

@media (min-width: 768px) {
    .step-num { width: 60px; height: 60px; font-size: 1.4rem; margin-bottom: 16px; }
}

.step-num::before {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.4s;
}

.step:hover .step-num {
    border-color: var(--c-primary);
    box-shadow: var(--shadow-glow);
}

.step:hover .step-num::before {
    border-color: rgba(16, 185, 129, 0.3);
}

.step h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
}

@media (min-width: 768px) {
    .step h3 { font-size: 1.05rem; margin-bottom: 6px; }
}

.step p {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .step p { font-size: 0.85rem; }
}

.step-line {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--border), var(--c-primary), var(--border));
    opacity: 0.5;
    display: none;
}

@media (min-width: 768px) {
    .step-line { display: block; width: 50px; }
}

.join-box {
    text-align: center;
    padding: 22px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .join-box { padding: 28px; }
}

.join-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.05), transparent 70%);
}

.box-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    position: relative;
}

@media (min-width: 768px) {
    .box-label { font-size: 0.9rem; margin-bottom: 16px; }
}

.box-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

@media (min-width: 480px) {
    .box-content { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

@media (min-width: 768px) {
    .box-content { gap: 14px; }
}

.box-address {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-primary);
    padding: 10px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .box-address { font-size: 1.2rem; padding: 12px 20px; }
}

.box-address:hover {
    background: var(--c-primary);
    color: var(--bg-base);
    border-color: var(--c-primary);
}

.box-copy {
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
    color: var(--bg-base);
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .box-copy { padding: 12px 22px; font-size: 0.9rem; }
}

.box-copy:hover { 
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .faq-item { margin-bottom: 10px; }
}

.faq-item:hover {
    border-color: rgba(16, 185, 129, 0.3);
}

.faq-q {
    padding: 14px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .faq-q { padding: 18px 22px; font-size: 0.95rem; }
}

.faq-q::after {
    content: '+';
    font-size: 1.1rem;
    color: var(--c-primary);
    transition: transform 0.3s;
}

@media (min-width: 768px) {
    .faq-q::after { font-size: 1.3rem; }
}

.faq-item.active .faq-q::after {
    transform: rotate(45deg);
}

.faq-q:hover { background: var(--bg-surface); }

.faq-a {
    padding: 0 16px 14px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: none;
    line-height: 1.55;
}

@media (min-width: 768px) {
    .faq-a { padding: 0 22px 18px; font-size: 0.88rem; line-height: 1.6; }
}

.faq-item.active .faq-a { display: block; }

/* ===== 页脚 ===== */
.footer {
    padding: 36px 14px;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    text-align: center;
}

@media (min-width: 768px) {
    .footer { padding: 44px 24px; }
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-brand {
    margin-bottom: 14px;
}

@media (min-width: 768px) {
    .footer-brand { margin-bottom: 18px; }
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

@media (min-width: 768px) {
    .brand-logo { gap: 10px; }
}

.logo-icon {
    width: 16px;
    height: 16px;
    background: var(--c-primary);
    border-radius: 3px;
}

@media (min-width: 768px) {
    .logo-icon { width: 18px; height: 18px; }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
}

@media (min-width: 768px) {
    .logo-text { font-size: 1.1rem; }
}

.footer-brand p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .footer-brand p { font-size: 0.85rem; }
}

.footer-copy p {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 3px;
}

@media (min-width: 768px) {
    .footer-copy p { font-size: 0.78rem; }
}

/* ===== Toast 提示 ===== */
.toast {
    position: fixed;
    bottom: 20px;
    left: 14px;
    right: 14px;
    padding: 12px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--c-primary);
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 0.85rem;
    box-shadow: var(--shadow), var(--shadow-glow);
    z-index: 10003;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

@media (min-width: 480px) {
    .toast {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(100px);
        padding: 14px 28px;
        width: auto;
        max-width: 380px;
    }
}

.toast.show {
    opacity: 1;
}

@media (min-width: 480px) {
    .toast.show {
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== 打印样式 ===== */
@media print {
    .nav, .theme-toggle, .cursor-dot, .cursor-ring, .cursor-trail, 
    .floating-cubes, .preloader, .bg-effects, .toast {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        page-break-inside: avoid;
    }
}
