:root {
  --bg: #0a0d1a;
  --bg-2: #11152a;
  --card: #151a33;
  --line: rgba(255, 255, 255, .09);
  --text: #eef1ff;
  --muted: #9aa3c7;
  --cyan: #7df9ff;
  --violet: #7a5cff;
  --gold: #ffcf6b;
  --radius: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

/* header */
header.top {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(10, 13, 26, .72);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
nav { display: flex; align-items: center; gap: 22px; font-size: .95rem; color: var(--muted); }
nav a:hover { color: var(--text); }
.lang {
  border: 1px solid var(--line); background: transparent; color: var(--text);
  border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .85rem; cursor: pointer;
}
.lang:hover { border-color: var(--cyan); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 110px 0 96px; text-align: center; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(125,249,255,.16), rgba(122,92,255,.16));
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}
.hero::before { width: 520px; height: 520px; left: -140px; top: -120px; transform: rotate(-12deg); }
.hero::after { width: 420px; height: 420px; right: -120px; bottom: -150px; transform: rotate(18deg); }
.hero .wrap { position: relative; z-index: 1; }
.hero img.mark { width: min(260px, 62vw); height: auto; margin-bottom: 22px; filter: drop-shadow(0 0 34px rgba(125,249,255,.35)); }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.1; letter-spacing: -.02em; }
.hero h1 span {
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { max-width: 620px; margin: 20px auto 32px; color: var(--muted); font-size: 1.1rem; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 600;
  background: linear-gradient(90deg, var(--cyan), var(--violet)); color: #07091a;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(122,92,255,.35); }

/* sections */
section { padding: 84px 0; }
section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.eyebrow { color: var(--cyan); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 8px 0 14px; letter-spacing: -.01em; }
.lead { color: var(--muted); max-width: 640px; }

/* games */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; margin-top: 40px; }
.card {
  position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(125,249,255,.45); }
.card .gicon { width: 72px; height: 72px; border-radius: 16px; display: block; box-shadow: 0 6px 22px rgba(0,0,0,.45); }
.card .glyph { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; color: #07091a; }
.g1 { background: linear-gradient(135deg, #7df9ff, #4aa8ff); }
.g2 { background: linear-gradient(135deg, #ffcf6b, #ff7a59); }
.g3 { background: linear-gradient(135deg, #b79cff, #ff7ad9); }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); font-size: .96rem; flex: 1; }
.badge {
  align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(255,207,107,.4); padding: 4px 10px; border-radius: 999px;
}
.card a.link { color: var(--cyan); font-size: .9rem; }
.card a.link:hover { text-decoration: underline; }

/* about / contact */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; align-items: start; }
.facts { list-style: none; display: grid; gap: 14px; }
.facts li { padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; color: var(--muted); }
.facts b { color: var(--text); }
.mail { display: inline-block; margin-top: 18px; font-size: 1.15rem; font-weight: 600; color: var(--cyan); }
.mail:hover { text-decoration: underline; }

footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  nav a.hide-sm { display: none; }
  .hero { padding: 76px 0 68px; }
  section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* screenshots */
.shots { display: flex; gap: 16px; margin-top: 36px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.shots img { flex: 0 0 auto; width: 230px; height: auto; aspect-ratio: 9 / 16; border-radius: 18px; border: 1px solid var(--line); background: var(--card); scroll-snap-align: start; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 8px; }
@media (max-width: 640px) { .shots img { width: 62vw; max-width: 240px; } }
.shots.wide img { aspect-ratio: 824 / 1600; width: 214px; }
@media (max-width: 640px) { .shots.wide img { width: 56vw; max-width: 220px; } }
