:root {
  --ink: #f8f7ff;
  --muted: #b8b3cf;
  --night: #0b071c;
  --night-soft: #120a2f;
  --panel: #1a1041;
  --violet: #7c5cff;
  --pink: #ff4fa3;
  --yellow: #ffe45e;
  --cyan: #41e6ff;
  --green: #43e09d;
  --orange: #ff8b45;
  --line: rgba(255, 255, 255, .12);
  --max: 1180px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(124, 92, 255, .19), transparent 23rem),
    var(--night);
  font-family: Inter, ui-rounded, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
a { color: inherit; }
.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  padding: .75rem 1rem; border-radius: .75rem; background: white; color: var(--night);
}
.skip-link:focus { top: 1rem; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 7, 28, .86); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(calc(100% - 2rem), var(--max)); min-height: 76px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; line-height: 1; }
.brand-mark {
  width: 42px; height: 32px; border-radius: 10px; background: var(--violet);
  display: flex; align-items: center; justify-content: space-around; color: white;
  box-shadow: 0 8px 24px rgba(124, 92, 255, .35); transform: rotate(-3deg);
}
.brand-dpad { font-size: 1.4rem; font-weight: 900; }
.brand-buttons { color: var(--yellow); letter-spacing: 1px; transform: rotate(-35deg); }
.brand-copy { display: flex; flex-direction: column; gap: .1rem; font-weight: 900; letter-spacing: -.04em; }
.brand-name { font-size: 1.02rem; }
.brand-accent { color: var(--pink); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: .4rem; }
.main-nav a {
  padding: .65rem .85rem; color: var(--muted); text-decoration: none;
  font-size: .92rem; font-weight: 700; border-radius: .75rem;
}
.main-nav a:hover, .main-nav a:focus-visible { color: white; background: rgba(255,255,255,.08); }

main { overflow: hidden; }
.hero {
  width: min(calc(100% - 2rem), var(--max)); min-height: 510px; margin: 2rem auto 1rem;
  padding: clamp(2.2rem, 7vw, 5.5rem); border: 1px solid rgba(255,255,255,.13);
  border-radius: clamp(1.5rem, 4vw, 3.25rem); position: relative; isolation: isolate;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 2rem;
  background:
    linear-gradient(135deg, rgba(124,92,255,.35), rgba(26,16,65,.8) 45%, rgba(255,79,163,.18)),
    var(--night-soft);
  box-shadow: var(--shadow);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 36px 36px; mask-image: linear-gradient(to right, black, transparent 80%);
}
.hero-content { position: relative; z-index: 2; }
.eyebrow, .section-kicker {
  margin: 0 0 .8rem; color: var(--cyan); font-size: .82rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow span { color: var(--green); text-shadow: 0 0 14px var(--green); }
h1, h2 { margin: 0; line-height: .98; letter-spacing: -.055em; }
h1 { max-width: 720px; font-size: clamp(3.3rem, 8.5vw, 7.2rem); }
h1 span { color: var(--yellow); }
.hero-text { max-width: 580px; margin: 1.5rem 0 2rem; color: #d3cee8; font-size: clamp(1rem, 2vw, 1.2rem); }
.primary-button {
  display: inline-flex; align-items: center; gap: .8rem; min-height: 52px; padding: .78rem 1.15rem;
  border-radius: 1rem; text-decoration: none; background: var(--pink); color: white;
  font-weight: 900; box-shadow: 0 12px 30px rgba(255, 79, 163, .3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255, 79, 163, .4); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; }
.hero-orb-one { width: 150px; height: 150px; background: rgba(65,230,255,.15); right: 16%; top: 8%; }
.hero-orb-two { width: 90px; height: 90px; background: rgba(255,228,94,.14); right: 6%; bottom: 12%; }
.hero-phone {
  align-self: center; justify-self: center; width: min(100%, 365px); margin: -2.5rem 0;
  position: relative; z-index: 1; filter: drop-shadow(0 30px 34px rgba(0,0,0,.45));
}
.hero-phone::after {
  content: ""; position: absolute; inset: 12% 4% 5%; z-index: -1; border-radius: 50%;
  background: rgba(124,92,255,.35); filter: blur(40px);
}
.hero-phone img {
  display: block; width: 100%; height: auto; transform: rotate(2deg);
}

.ad-space {
  width: min(calc(100% - 2rem), 970px); min-height: 118px; margin: 2.5rem auto;
  border: 1px dashed rgba(255,255,255,.25); border-radius: 1.1rem;
  display: grid; place-items: center; position: relative; color: #8f8aa7;
  background: rgba(255,255,255,.025); text-align: center;
}
.ad-label { position: absolute; top: .45rem; font-size: .69rem; letter-spacing: .16em; text-transform: uppercase; }
.ad-placeholder { padding: 2.25rem 1rem 1.2rem; font-size: .9rem; }
.games-section { width: min(calc(100% - 2rem), var(--max)); margin: 5rem auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.6rem; }
.section-heading h2, .about-section h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.section-heading > p { margin: 0 0 .35rem; color: var(--muted); }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.game-card {
  min-width: 0; padding: .8rem; border: 1px solid var(--line); border-radius: 1.45rem;
  display: grid; grid-template-columns: 82px 1fr auto; align-items: center; gap: 1rem;
  color: white; text-decoration: none; background: rgba(255,255,255,.055);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.game-card:hover, .game-card:focus-visible { transform: translateY(-4px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.28); }
.game-art { min-width: 82px; height: 82px; display: grid; place-items: center; border-radius: 1rem; font-size: 2.2rem; color: #120a2f; }
.game-violet .game-art { background: linear-gradient(145deg, #9f8bff, #7658fa); }
.game-orange .game-art { background: linear-gradient(145deg, #ffb06f, #ff7b38); }
.game-cyan .game-art { background: linear-gradient(145deg, #7bf2ff, #2bcddd); }
.game-pink .game-art { background: linear-gradient(145deg, #ff80bd, #e9368a); }
.game-yellow .game-art { background: linear-gradient(145deg, #fff18a, #f4c92f); }
.game-green .game-art { background: linear-gradient(145deg, #7af2bb, #31c887); }
.game-info { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.game-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.02rem; }
.game-info small { margin-top: .25rem; color: var(--muted); font-size: .78rem; }
.play-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.09); font-size: .72rem; }
.coming-row { margin-top: 1rem; display: grid; grid-template-columns: repeat(6, 1fr); gap: .7rem; }
.coming-row a {
  min-height: 122px; padding: .9rem; border: 1px solid var(--line); border-radius: 1rem;
  display: flex; flex-direction: column; justify-content: space-between; text-decoration: none;
  background: rgba(255,255,255,.025); color: var(--muted);
}
.coming-row a:hover, .coming-row a:focus-visible { border-color: var(--violet); color: white; }
.coming-row span { font: 800 .75rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--violet); }
.coming-row strong { font-size: .88rem; }
.coming-row small { font-size: .72rem; color: #77728e; }
.ad-space-bottom { margin-top: 4rem; }
.about-section {
  width: min(calc(100% - 2rem), var(--max)); margin: 5rem auto;
  padding: clamp(2rem, 6vw, 4.5rem); border-radius: 2rem;
  background: linear-gradient(120deg, rgba(255,79,163,.14), rgba(124,92,255,.14)); border: 1px solid var(--line);
}
.about-section p:last-child { max-width: 760px; margin: 1.5rem 0 0; color: #cbc6df; font-size: 1.05rem; }
.site-footer {
  width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 2.4rem 0 2.8rem;
  border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem;
  color: var(--muted); font-size: .88rem;
}
.footer-brand { color: white; text-decoration: none; font-size: 1.08rem; font-weight: 900; }
.footer-brand span { color: var(--pink); }
.site-footer p { margin: .2rem 0 0; }
.site-footer nav { display: flex; gap: 1.25rem; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: white; }
.copyright { text-align: right; }
.toast {
  position: fixed; left: 50%; bottom: 1.3rem; z-index: 50; max-width: calc(100% - 2rem);
  padding: .85rem 1rem; border-radius: .9rem; background: white; color: var(--night); font-weight: 700;
  box-shadow: 0 18px 50px rgba(0,0,0,.4); transform: translate(-50%, 150%); opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-phone { position: absolute; right: -3rem; bottom: -5rem; width: 285px; opacity: .25; }
  .hero-content { max-width: 720px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .coming-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .header-inner { min-height: 68px; }
  .main-nav a:not(:first-child) { display: none; }
  .hero { margin-top: 1rem; padding: 2.2rem 1.35rem 2.5rem; border-radius: 1.6rem; }
  .hero-phone { width: 230px; right: -4rem; bottom: -4rem; opacity: .22; }
  .hero-text { max-width: 90%; }
  .section-heading { align-items: start; flex-direction: column; gap: .45rem; }
  .game-grid { grid-template-columns: 1fr; }
  .coming-row { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr; gap: 1.2rem; }
  .copyright { text-align: left; }
}
@media (max-width: 390px) {
  .brand-name { font-size: .92rem; }
  .game-card { grid-template-columns: 70px 1fr auto; gap: .75rem; }
  .game-art { min-width: 70px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
