:root {
  color-scheme: dark;
  --bg: #06101d;
  --bg-deep: #030812;
  --text: #f5f7fb;
  --muted: #9aa9ba;
  --line: rgba(255,255,255,.13);
  --glass: rgba(14, 25, 42, .58);
  --glass-strong: rgba(14, 25, 42, .82);
  --cyan: #63f6d3;
  --blue: #6e8dff;
  --violet: #a66eff;
  --warm: #f8d585;
  --radius: 26px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: radial-gradient(circle at 50% -20%, #152c48 0, var(--bg) 35%, var(--bg-deep) 100%);
  color: var(--text); font-family: "Noto Sans SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
#aurora { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -3; opacity: .78; }
.noise { position: fixed; inset: 0; z-index: -2; opacity: .045; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.glass { background: var(--glass); border: 1px solid var(--line); box-shadow: 0 22px 80px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.07); backdrop-filter: blur(24px) saturate(135%); -webkit-backdrop-filter: blur(24px) saturate(135%); }
.topbar { position: fixed; top: 18px; left: 50%; z-index: 50; transform: translateX(-50%); width: min(1120px, calc(100% - 36px)); height: 64px; padding: 0 16px 0 20px; border-radius: 22px; display: flex; align-items: center; justify-content: space-between; transition: background .3s, transform .3s; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: .06em; }
.brand-mark { width: 27px; height: 24px; display: flex; align-items: end; gap: 3px; transform: skew(-14deg); }
.brand-mark i { display: block; width: 5px; border-radius: 8px; background: linear-gradient(to top, var(--blue), var(--cyan)); box-shadow: 0 0 12px color-mix(in srgb, var(--cyan) 70%, transparent); animation: equalize 1.7s ease-in-out infinite; }
.brand-mark i:nth-child(1) { height: 11px; animation-delay: -.3s; }.brand-mark i:nth-child(2) { height: 22px; animation-delay: -.8s; }.brand-mark i:nth-child(3) { height: 16px; animation-delay: -1.2s; }
@keyframes equalize { 50% { height: 7px; opacity: .65; } }
.desktop-nav { display: flex; gap: 36px; color: #cbd3df; font-size: 14px; }
.desktop-nav a { position: relative; transition: color .2s; }.desktop-nav a:hover { color: white; }.desktop-nav a:after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--cyan); transition: right .25s; }.desktop-nav a:hover:after { right: 0; }
.icon-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.06); cursor: pointer; font-size: 20px; transition: transform .25s, background .25s; }.icon-button:hover { transform: rotate(20deg); background: rgba(255,255,255,.13); }
main { width: min(1120px, calc(100% - 36px)); margin: auto; }
.hero { min-height: 760px; padding: 180px 0 90px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: rgba(6,16,29,.45); padding: 9px 14px; border-radius: 100px; color: #bdc9d6; font-size: 12px; letter-spacing: .08em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(99,246,211,.1), 0 0 14px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(99,246,211,0), 0 0 22px var(--cyan); } }
h1 { margin: 28px 0 20px; font-family: "DM Serif Display", "Songti SC", serif; font-size: clamp(62px, 9vw, 116px); line-height: .88; font-weight: 400; letter-spacing: -.045em; text-shadow: 0 4px 40px rgba(160,190,255,.16); }
h1 em { font-weight: 400; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.88); background: linear-gradient(90deg, #fff 0%, var(--cyan) 46%, #e5d8ff 90%); background-clip: text; -webkit-background-clip: text; }
.hero-copy { color: #aab7c8; max-width: 620px; line-height: 1.9; font-size: 16px; margin: 14px 0 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; }
.button { min-height: 52px; padding: 0 24px; border-radius: 16px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-weight: 600; cursor: pointer; transition: transform .2s, box-shadow .25s, background .25s; }
.button:hover { transform: translateY(-2px); }.button:active { transform: translateY(1px) scale(.98); }
.button.primary { color: #07111c; border: 0; background: linear-gradient(135deg, #fff, #d8fff4 45%, #95d9ff); box-shadow: 0 12px 40px rgba(101,211,234,.22); }
.button.ghost { background: rgba(255,255,255,.055); }
.signal-card { position: absolute; right: 3%; bottom: 95px; padding: 12px 16px; border-radius: 16px; display: flex; align-items: center; gap: 12px; color: #c9d3de; font-size: 12px; transform: rotate(-2deg); animation: float 5s ease-in-out infinite; }
.signal-label { font-size: 9px; letter-spacing: .18em; color: var(--cyan); }.signal-wave { height: 16px; display: flex; align-items: center; gap: 2px; }.signal-wave i { width: 2px; height: 6px; border-radius: 2px; background: var(--cyan); animation: wave .8s ease-in-out infinite alternate; }.signal-wave i:nth-child(2n) { animation-delay: -.3s; }.signal-wave i:nth-child(3n) { animation-delay: -.6s; }
@keyframes wave { to { height: 16px; } } @keyframes float { 50% { transform: translateY(-10px) rotate(1deg); } }
.section { padding: 78px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.kicker { color: var(--cyan); font-size: 10px; letter-spacing: .22em; font-weight: 700; }
h2 { font-family: "DM Serif Display", "Songti SC", serif; margin: 8px 0 0; font-size: clamp(36px, 5vw, 56px); line-height: 1; font-weight: 400; letter-spacing: -.025em; }
.text-button, .shuffle-button { border: 0; background: none; color: #b8c6d5; cursor: pointer; padding: 10px; }.text-button:hover, .shuffle-button:hover { color: white; }.text-button.loading span { display: inline-block; animation: spin .6s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
.section-index { font-family: "DM Serif Display", serif; font-size: 48px; color: rgba(255,255,255,.13); }
.filter-row { display: flex; gap: 8px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }.filter { padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255,255,255,.035); color: #9eacbc; cursor: pointer; white-space: nowrap; transition: .2s; }.filter.active { color: #06131d; background: var(--cyan); border-color: transparent; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card { min-height: 238px; padding: 24px; border-radius: var(--radius); display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .25s, border-color .25s, background .25s; }
.news-card:before { content: ""; position: absolute; width: 180px; height: 180px; left: -80px; top: -100px; background: radial-gradient(circle, color-mix(in srgb, var(--accent, var(--blue)) 30%, transparent), transparent 68%); pointer-events: none; }
.news-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent, var(--cyan)) 50%, transparent); background: rgba(20,34,54,.76); }
.news-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #8291a3; font-size: 11px; letter-spacing: .04em; }.news-source { color: var(--accent, var(--cyan)); font-weight: 700; }.news-card h3 { margin: 22px 0 10px; line-height: 1.45; font-size: 19px; font-weight: 600; }.news-card p { margin: 0; color: #8f9daf; font-size: 13px; line-height: 1.7; }.news-link { margin-top: auto; padding-top: 20px; color: #d8e1eb; font-size: 13px; }.news-link span { transition: margin .2s; }.news-card:hover .news-link span { margin-left: 6px; }
.skeleton { gap: 18px; }.skeleton div { height: 14px; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.11), rgba(255,255,255,.04)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }.skeleton div:nth-child(2) { height: 56px; }.skeleton div:nth-child(3) { width: 55%; } @keyframes shimmer { to { background-position: -200% 0; } }
.spark-card { min-height: 350px; padding: clamp(30px, 6vw, 70px); border-radius: 34px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.spark-card:after { content: ""; position: absolute; right: -12%; bottom: -70%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(165,108,255,.22), rgba(100,235,230,.08) 40%, transparent 68%); pointer-events: none; }
.spark-card.shuffling blockquote { animation: blurSwap .45s ease; } @keyframes blurSwap { 50% { filter: blur(10px); opacity: .2; transform: translateY(8px); } }
.spark-type { color: var(--warm); font-size: 12px; letter-spacing: .12em; }.spark-card blockquote { margin: 20px 0 42px; max-width: 820px; font-family: "DM Serif Display", "Songti SC", serif; font-size: clamp(28px, 4.7vw, 50px); line-height: 1.28; letter-spacing: -.02em; }
.spark-footer { display: flex; align-items: center; justify-content: space-between; color: #8f9eae; font-size: 13px; }.shuffle-button { border: 1px solid var(--line); padding: 11px 16px; border-radius: 13px; z-index: 2; }
.spark-orbit { position: absolute; right: 5%; top: 10%; width: 130px; height: 130px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; animation: spin 14s linear infinite; }.spark-orbit:before,.spark-orbit:after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); inset: 20px; }.spark-orbit:after { inset: 42px; }.spark-orbit span { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }.spark-orbit span:nth-child(1) { top: 14px; left: 18px; }.spark-orbit span:nth-child(2) { bottom: 0; left: 62px; background: var(--violet); }.spark-orbit span:nth-child(3) { right: 24px; top: 50px; background: var(--warm); }
.game-shell { padding: 14px; border-radius: 32px; }.game-hud { height: 55px; padding: 0 14px; display: flex; justify-content: space-between; align-items: center; color: #9cabbb; font-size: 13px; }.game-hud b { color: white; font-variant-numeric: tabular-nums; font-size: 18px; margin-left: 5px; }
.game-stage { height: min(54vw, 500px); min-height: 370px; border-radius: 22px; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(92,141,255,.14), transparent 36%), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px), rgba(0,6,15,.42); background-size: auto, 42px 42px, 42px 42px, auto; }
.game-stage:after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px rgba(0,0,0,.5); }
.game-intro, .game-result { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: rgba(4,11,22,.38); backdrop-filter: blur(6px); }.game-icon { font-size: 50px; color: var(--cyan); text-shadow: 0 0 30px var(--cyan); animation: pulseIcon 2s ease-in-out infinite; } @keyframes pulseIcon { 50% { transform: scale(1.18) rotate(15deg); } }.game-intro h3 { margin: 18px 0 4px; font-size: 24px; }.game-intro p { margin: 0 0 22px; color: #8e9bad; }.target { position: absolute; z-index: 2; display: none; width: 55px; height: 55px; border: 0; border-radius: 50%; cursor: crosshair; background: radial-gradient(circle at 38% 35%, white 0 6%, var(--cyan) 18%, #3a84ff 50%, rgba(86,119,255,.15) 70%); box-shadow: 0 0 12px #fff, 0 0 28px var(--cyan), 0 0 64px var(--blue); transition: left .11s ease-out, top .11s ease-out, transform .08s; }.target:active { transform: scale(.78); }.target:after,.target:before { content: ""; position: absolute; inset: -14px; border: 1px solid rgba(112,242,222,.45); border-radius: 50%; animation: targetRing 1.1s ease-out infinite; }.target:after { animation-delay: -.55s; } @keyframes targetRing { to { inset: -32px; opacity: 0; } }
.game-result[hidden] { display: none; }.game-result span { color: #9aa8b8; }.game-result strong { font-family: "DM Serif Display", serif; font-size: 100px; line-height: 1.1; color: var(--cyan); }.game-result p { color: #a4b0bf; margin: 0 0 22px; }
.breath-card { border-radius: 34px; min-height: 390px; padding: clamp(30px, 6vw, 70px); display: grid; grid-template-columns: 1.35fr .65fr; gap: 50px; align-items: center; overflow: hidden; }.breath-card p { color: #94a2b2; max-width: 570px; line-height: 1.8; margin: 20px 0 28px; }.breath-visual { width: 230px; height: 230px; margin: auto; position: relative; display: grid; place-items: center; }.breath-orb { position: absolute; width: 128px; height: 128px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--cyan) 16%, #638fff 48%, rgba(88,76,219,.35) 68%, transparent 70%); box-shadow: 0 0 70px rgba(90,212,247,.32); transition: transform 4s cubic-bezier(.45,.05,.55,.95); }.breath-orb span { font-size: 13px; text-shadow: 0 2px 10px #132446; }.breath-visual.inhale .breath-orb { transform: scale(1.45); }.breath-visual.hold .breath-orb { transform: scale(1.45); }.breath-visual.exhale .breath-orb { transform: scale(.84); }
.breath-visual svg { width: 100%; height: 100%; transform: rotate(-90deg); }.breath-visual circle { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 1; }.breath-visual circle:last-child { stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; filter: drop-shadow(0 0 5px var(--cyan)); }
footer { width: min(1120px, calc(100% - 36px)); margin: 50px auto 0; padding: 44px 0 120px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: #728092; font-size: 12px; }.footer-brand { font-size: 18px; color: white; font-weight: 700; }.footer-brand span { color: var(--cyan); }
.mobile-nav { display: none; }.toast { position: fixed; z-index: 80; left: 50%; bottom: 32px; transform: translate(-50%, 20px); padding: 12px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(7,15,27,.92); color: white; box-shadow: 0 16px 50px #0008; opacity: 0; pointer-events: none; transition: .25s; font-size: 13px; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }.reveal.visible { opacity: 1; transform: none; }
body.palette-alt { --cyan:#ffcf70; --blue:#ff6ca8; --violet:#9674ff; --warm:#71f5dc; }
@media (max-width: 820px) {
  .topbar { top: 10px; height: 58px; width: calc(100% - 20px); }.desktop-nav { display:none; }
  main { width: min(100% - 24px, 620px); }.hero { min-height: 720px; padding-top: 145px; }.hero-copy br { display: none; }.signal-card { right: 0; bottom: 70px; }.news-grid { grid-template-columns: 1fr; }.news-card { min-height: 205px; }.breath-card { grid-template-columns: 1fr; text-align: center; }.breath-card p { margin-left:auto; margin-right:auto; }.game-stage { height: 500px; }.mobile-nav { position: fixed; display: flex; z-index: 60; bottom: calc(10px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(390px, calc(100% - 20px)); height: 68px; border-radius: 22px; padding: 7px; justify-content: space-around; }.mobile-nav a { flex:1; display:flex; flex-direction:column; gap:2px; align-items:center; justify-content:center; color:#8593a3; font-size:10px; border-radius:15px; }.mobile-nav a span { font-size:19px; line-height:1; }.mobile-nav a.active { color:white; background:rgba(255,255,255,.07); }.toast { bottom: 92px; max-width: calc(100% - 34px); text-align:center; }
  footer { flex-direction: column; gap: 8px; padding-bottom: 125px; text-align: center; }
}
@media (max-width: 520px) {
  h1 { font-size: clamp(55px, 18vw, 78px); }.hero-actions { width: 100%; flex-direction: column; }.button { width: 100%; }.signal-card { bottom: 42px; }.section { padding: 58px 0; }.section-heading { align-items:center; }.section-index { font-size: 34px; }.spark-card { min-height: 400px; padding: 30px 24px; }.spark-card blockquote { font-size: 30px; margin-top: 15px; }.spark-orbit { opacity: .55; }.game-shell { padding: 8px; border-radius: 25px; }.game-stage { min-height: 440px; }.breath-card { padding: 42px 22px; }.breath-visual { width: 210px; height:210px; }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; } }
