:root {
  --bg: #0a0a0c;
  --chrome: #0f0f13;
  --card: #141419;
  --panel: #1c1c23;
  --text: #f2f0f7;
  --muted: #9b98a8;
  --primary: #7c5cff;
  --primary-2: #9a80ff;
  --online: #3ddc84;
  --warn: #ffb547;
  --danger: #ff5c7a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; }
body { min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden; }
a { color: inherit; }
#sky { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; }
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px max(16px, 4vw); background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: Rajdhani, sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .3em; }
.mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 22%; background: linear-gradient(145deg, #9B7FFF 0%, #6A4BEA 55%, #4F33C9 100%); }
.mark svg { width: 100%; height: 100%; }
nav { display: flex; align-items: center; gap: 14px; }
nav a:not(.button) { color: var(--muted); text-decoration: none; font-size: 14px; }
nav a:not(.button):hover { color: var(--text); }
select { background: var(--panel); color: var(--text); border: 0; border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 12px; padding: 14px 26px; background: var(--primary); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; box-shadow: 0 10px 40px -12px var(--primary); font-size: 16px; }
.button:hover { transform: translateY(-2px); background: var(--primary-2); }
.button.small { padding: 8px 14px; font-size: 13px; border-radius: 9px; }
.button.ghost { background: var(--panel); box-shadow: none; }
.button.ghost:hover { background: #262630; }
main { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 max(16px, 4vw) 64px; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 72px 0 56px; }
.hero h1 { font-family: Rajdhani, sans-serif; font-size: clamp(40px, 6vw, 76px); line-height: .95; margin: 0 0 20px; text-transform: uppercase; letter-spacing: .02em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--primary-2), #c6b6ff, var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% 0; } }
.hero p { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.version { color: var(--muted); font-size: 13px; }
.window { position: relative; border-radius: 18px; background: linear-gradient(160deg, #1c1630, var(--card)); padding: 14px; box-shadow: 0 40px 120px -40px var(--primary); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-.4deg); } }
.window .dots { display: flex; gap: 6px; margin-bottom: 12px; }
.window .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--panel); }
.window .row { display: flex; gap: 12px; }
.window .side { display: flex; flex-direction: column; gap: 10px; }
.window .side i { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #3b2a8c, #7c5cff); opacity: .8; }
.window .side i:nth-child(2) { background: linear-gradient(135deg, #1d5f45, #3ddc84); }
.window .side i:nth-child(3) { background: linear-gradient(135deg, #6b3b12, #ffb547); }
.window .page { flex: 1; border-radius: 12px; min-height: 260px; padding: 18px; background: radial-gradient(circle at 70% 20%, #4b33b8 0, transparent 55%), var(--chrome); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.window .page b { font-family: Rajdhani, sans-serif; font-size: 34px; text-transform: uppercase; }
.window .page .play { align-self: flex-start; padding: 10px 26px; border-radius: 10px; background: var(--primary); font-weight: 700; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 64px; }
.feature { background: color-mix(in srgb, var(--card) 85%, transparent); border-radius: 18px; padding: 24px; transition: transform .25s, background .25s; }
.feature:hover { transform: translateY(-4px); background: var(--panel); }
.feature .icon { font-size: 26px; }
.feature h3 { margin: 12px 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }
h2.section { font-family: Rajdhani, sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--primary-2); font-size: 15px; margin: 0 0 16px; }
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.news article { background: var(--card); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.news img { width: 100%; height: 160px; object-fit: cover; }
.news .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.news time { color: var(--primary-2); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.news h3 { margin: 0; font-family: Rajdhani, sans-serif; font-size: 22px; text-transform: uppercase; }
.news p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }
.game { padding: 56px 0; display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.game .cover { border-radius: 22px; overflow: hidden; position: relative; min-height: 340px; background: radial-gradient(circle at 30% 20%, #4b33b8, var(--card) 70%); display: flex; align-items: flex-end; padding: 28px; }
.game .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.game .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg), transparent 65%); }
.game .cover > div { position: relative; z-index: 1; }
.game h1 { font-family: Rajdhani, sans-serif; font-size: clamp(36px, 5vw, 60px); margin: 6px 0; text-transform: uppercase; }
.game .kind { color: var(--primary-2); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; font-weight: 600; }
.game .desc { color: var(--muted); line-height: 1.6; margin: 18px 0 0; }
.panel { background: var(--card); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.stat { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
.stat b { color: var(--text); font-weight: 600; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--muted); }
.dot.on { background: var(--online); box-shadow: 0 0 12px var(--online); }
.dot.maint { background: var(--warn); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { background: var(--panel); border-radius: 999px; padding: 4px 10px; font-size: 12px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.state { text-align: center; padding: 120px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.state .big { font-size: 56px; }
.state h1 { font-family: Rajdhani, sans-serif; text-transform: uppercase; font-size: 36px; margin: 0; }
.state p { color: var(--muted); max-width: 32em; line-height: 1.6; margin: 0; }
.link-button { background: none; border: 0; color: var(--primary-2); cursor: pointer; font: inherit; font-size: 14px; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.foot { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; padding: 24px max(16px, 4vw); color: var(--muted); font-size: 13px; }
.foot a { color: var(--muted); margin-right: 14px; text-decoration: none; }
.foot a:hover { color: var(--text); }
.reveal { opacity: 0; transform: translateY(18px); animation: reveal .7s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes reveal { to { opacity: 1; transform: none; } }
.skeleton { background: linear-gradient(90deg, var(--card), var(--panel), var(--card)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 18px; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 860px) {
  .hero, .game { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .art { display: none; }
  nav a:not(.button) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
