* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #080c16;
    color: #eef2f8;
    min-height: 100vh;
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}
.glow-orb.g1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.15), transparent 70%);
    animation: orbFloat1 8s ease-in-out infinite;
}
.glow-orb.g2 {
    width: 300px;
    height: 300px;
    bottom: 100px;
    left: -50px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12), transparent 70%);
    animation: orbFloat2 10s ease-in-out infinite;
}
@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-60px, 40px) scale(1.1); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -30px) scale(1.15); }
}

.app {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    width: 100%;
    padding: 20px 20px 40px;
    margin: 0 auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    flex-wrap: wrap;
    gap: 10px;
    opacity: 0;
    transform: translateY(-20px);
    animation: navIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes navIn {
    to { opacity: 1; transform: translateY(0); }
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.brand-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #00c8ff, #7c3aed);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.brand-icon:hover {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 0 30px rgba(0, 200, 255, 0.2);
}
.brand-icon svg {
    width: 17px;
    height: 17px;
    stroke: #fff;
    stroke-width: 2.5;
    fill: none;
}
.brand-name {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
}
.brand-name span {
    background: linear-gradient(135deg, #00c8ff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.brand-badge {
    font-size: 9px;
    font-weight: 600;
    color: #00c8ff;
    background: rgba(0, 200, 255, 0.08);
    padding: 2px 10px;
    border-radius: 20px;
    border: 1px solid rgba(0, 200, 255, 0.08);
    animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #00c8ff, #7c3aed);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover {
    color: #fff;
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-cta {
    background: linear-gradient(135deg, #00c8ff, #7c3aed);
    color: #fff !important;
    padding: 6px 18px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 12px;
    box-shadow: 0 4px 16px rgba(0, 200, 255, 0.1);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.nav-cta::after {
    display: none !important;
}
.nav-cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0, 200, 255, 0.25);
}

/* ===== Hero ===== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 0 8px;
    text-align: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 200, 255, 0.06);
    border: 1px solid rgba(0, 200, 255, 0.08);
    padding: 3px 14px 3px 10px;
    border-radius: 40px;
    font-size: 11px;
    font-weight: 500;
    color: #5dd9ff;
    opacity: 0;
    transform: translateY(10px);
}
.hero-badge.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-badge .dot {
    width: 5px;
    height: 5px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    animation: dot-blink 1.6s infinite;
}
@keyframes dot-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(0.7); }
}

.hero-title {
    font-size: clamp(30px, 4.2vw, 50px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
}
.hero-title.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-title .grad {
    background: linear-gradient(135deg, #00c8ff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-title .fps-big {
    display: inline-block;
    font-size: clamp(36px, 5vw, 58px);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fps-glow 2.4s ease-in-out infinite;
}
@keyframes fps-glow {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.05); filter: brightness(1.15); }
}

.hero-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    max-width: 480px;
    opacity: 0;
    transform: translateY(12px);
}
.hero-sub.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s 0.1s ease, transform 0.6s 0.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    background: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.08);
    padding: 3px 16px 3px 14px;
    border-radius: 40px;
    font-weight: 600;
    color: #fbbf24;
    font-size: 13px;
    opacity: 0;
    transform: translateY(10px);
}
.hero-price.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s 0.2s ease, transform 0.6s 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-price .num {
    font-size: 24px;
    font-weight: 800;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
}
.hero-btns.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s 0.3s ease, transform 0.6s 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary {
    background: linear-gradient(135deg, #00c8ff, #7c3aed);
    border: none;
    padding: 10px 32px;
    border-radius: 60px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 200, 255, 0.12);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 36px rgba(0, 200, 255, 0.25);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 28px;
    border-radius: 60px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.hero-demo {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    width: 100%;
    padding: 8px 0 4px;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}
.hero-demo.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.8s 0.2s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.phone-wrapper {
    width: 440px;
    height: 250px;
    position: relative;
}
.phone-body {
    width: 100%;
    height: 100%;
    background: rgba(12, 18, 28, 0.88);
    border-radius: 30px;
    padding: 8px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    position: relative;
    transform-style: preserve-3d;
}
.phone-camera {
    position: absolute;
    top: 10px;
    left: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #1a2a44, #0a1220);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 20;
}

.screen {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    background: #0d1520;
}
#gameCanvas {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 22px;
}

/* 状态栏 */
.status-overlay {
    position: absolute;
    top: 6px;
    left: 34px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.35);
    z-index: 10;
    pointer-events: none;
    font-weight: 500;
    letter-spacing: 0.2px;
}
.status-overlay .left {
    display: flex;
    align-items: center;
    gap: 4px;
}
.status-overlay .left svg {
    width: 10px;
    height: 10px;
    fill: rgba(255, 255, 255, 0.15);
}
.status-overlay .right {
    display: flex;
    align-items: center;
    gap: 4px;
}
.status-overlay .right .battery {
    width: 14px;
    height: 7px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    padding: 1px;
    display: flex;
    align-items: center;
}
.status-overlay .right .battery .fill {
    height: 100%;
    width: 72%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 1px;
}

/* FPS 角标 */
.fps-corner {
    position: absolute;
    bottom: 10px;
    right: 12px;
    z-index: 10;
    pointer-events: none;
    font-size: 17px;
    font-weight: 800;
    background: linear-gradient(135deg, #4ade80, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 40px rgba(74, 222, 128, 0.08);
    animation: fpsPulse 2s ease-in-out infinite;
}
@keyframes fpsPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 芯片标签 */
.chip-label {
    position: absolute;
    bottom: 10px;
    left: 12px;
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 8px 2px 5px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
    transition: all 0.4s ease;
}
.chip-label svg {
    width: 15px;
    height: 15px;
}
.chip-label span {
    font-size: 8px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}
.chip-label span em {
    font-style: normal;
    color: #4ade80;
    transition: color 0.4s ease;
}

/* 平台标签 */
.platform-tag {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
    padding: 1px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: all 0.6s ease;
}