/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; color: #e8e6ff; background: radial-gradient(1200px 800px at 80% -10%, #5f2bff22 0%, #140a2a 55%), linear-gradient(180deg, #0c071a 0%, #0a0718 100%); line-height: 1.6; }

:root {
  --purple-900: #0b0618;
  --purple-800: #140a2a;
  --purple-700: #1b0f36;
  --purple-600: #2a1453;
  --purple-500: #5f2bff;
  --purple-400: #8c6bff;
  --purple-300: #b3a5ff;
  --text-strong: #ffffff;
  --text: #e8e6ff;
  --text-dim: #b6b1d9;
  --accent: #7a5cff;
  --accent-2: #12d2ff;
  --card: #160d30cc;
  --card-strong: #1e1342cc;
  --border: #3a2b6a;
  --success: #19d38b;
}

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

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: linear-gradient(180deg, #0d0820 0%, rgba(13,8,32,0.6) 100%); -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-strong); font-weight: 700; letter-spacing: 0.3px; }
.brand .logo { width: 28px; height: 28px; border-radius: 8px; }
.brand img.logo { width: 28px; height: 28px; border-radius: 8px; display: block; }
.nav-links { display: flex; gap: 18px; }
.nav-links a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 10px; transition: all .2s ease; }
.nav-links a:hover { background: var(--purple-700); color: var(--text-strong); }
.nav-links a.active { background: var(--purple-500); color: var(--text-strong); box-shadow: 0 4px 12px #5f2bff60; }
.cta { padding: 8px 14px; border-radius: 12px; background: linear-gradient(135deg, var(--purple-500), #7f52ff); color: #fff; text-decoration: none; box-shadow: 0 10px 24px #5f2bff40; border: 1px solid #8b6cff66; }

/* Hero */
.hero { padding: 80px 0 40px; position: relative; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.15; margin-bottom: 16px; color: #fff; }
.hero p { color: var(--text-dim); font-size: 16px; margin-bottom: 22px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--purple-500)); color: #fff; text-decoration: none; border: 1px solid #8b6cff66; box-shadow: 0 10px 24px #5f2bff3a; }
.button.secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }

.hero-visual { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 18px; box-shadow: 0 20px 50px #00000050; }
.hero-visual .topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.hero-visual .topbar .title { font-size: 13px; color: var(--text-dim); }
.hero-visual .transport { display: flex; gap: 8px; }
.hero-visual .transport button { background: var(--card-strong); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 6px 10px; font-size: 12px; }

.wave { height: 120px; border-radius: 12px; background: linear-gradient(90deg, #8c6bff22 0%, #12d2ff22 50%, #8c6bff22 100%); border: 1px dashed #6d56cc66; position: relative; overflow: hidden; }
.wave::after { content: ""; position: absolute; left: -40%; top: 0; height: 100%; width: 40%; background: linear-gradient(90deg, transparent, #7a5cff22, transparent); animation: sweep 2.8s linear infinite; }
@keyframes sweep { 0% { left: -40%; } 100% { left: 100%; } }

/* Player progress */
.hero-visual .progress { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 12px; }
.hero-visual .progress .time { font-size: 12px; color: var(--text-dim); min-width: 40px; text-align: center; }
.hero-visual .progress input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: #ffffff20; outline: none; }
.hero-visual .progress input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--purple-500)); box-shadow: 0 2px 8px #5f2bff66; border: 0; margin-top: -4px; }
.hero-visual .progress input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--purple-500)); box-shadow: 0 2px 8px #5f2bff66; border: 0; }

.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.badge { background: var(--card-strong); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; color: var(--text); font-size: 12px; display: flex; align-items: center; gap: 8px; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 14px #19d38b88; }

/* Sections */
.section { padding: 48px 0; }
.section h2 { font-size: 28px; color: #fff; margin-bottom: 18px; }
.section p.lead { color: var(--text-dim); margin-bottom: 18px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px #00000055; }
.card h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 14px; }

/* Features Matrix */
.matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.matrix .feature { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.matrix .feature h4 { color: #fff; font-size: 16px; margin-bottom: 8px; }
.matrix .feature p { color: var(--text-dim); font-size: 13px; }

/* Hero Feature Cards */
.hero-feature { background: linear-gradient(135deg, var(--card-strong), var(--card)); border: 1px solid var(--border); border-radius: 16px; padding: 20px; position: relative; overflow: hidden; transition: all .3s ease; }
.hero-feature:hover { transform: translateY(-4px); box-shadow: 0 20px 40px #00000060; border-color: var(--purple-400); }
.hero-feature::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--purple-500), var(--accent-2)); }
.hero-feature .icon { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--purple-500), var(--accent-2)); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 18px; }
.hero-feature h3 { color: #fff; font-size: 18px; margin-bottom: 8px; font-weight: 600; }
.hero-feature p { color: var(--text-dim); font-size: 14px; line-height: 1.5; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 20px 0 28px; margin-top: 40px; color: var(--text-dim); }
.footer .links { display: flex; gap: 16px; justify-content: center; margin-bottom: 8px; }
.footer a { color: var(--text-dim); text-decoration: none; }
.footer a:hover { color: var(--text); }
.icp { display: flex; justify-content: center; align-items: center; }
.icp a { color: var(--text-dim); text-decoration: none; }
.icp a:hover { color: var(--text); }

/* Utilities */
.kicker { color: var(--accent-2); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.muted { color: var(--text-dim); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* Responsive */
@media (max-width: 960px) {
  .hero .grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .matrix { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { height: 60px; }
  .cards, .matrix { grid-template-columns: 1fr; }
  .badges { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
} 