:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #9eafbd;
  --panel: #102332;
  --line: rgba(255, 255, 255, 0.11);
  --cyan: #57e4df;
  --lime: #c8ff5b;
  --orange: #ff9e44;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 10%, rgba(87, 228, 223, 0.11), transparent 27rem),
    radial-gradient(circle at 10% 70%, rgba(200, 255, 91, 0.08), transparent 25rem),
    #081421;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(87, 228, 223, 0.08), 0 0 30px rgba(87, 228, 223, 0.2);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--cyan);
}

.brand-mark::before { width: 100%; height: 2px; }
.brand-mark::after { width: 10px; aspect-ratio: 1; border-radius: 50%; }

.brand strong,
.brand small { display: block; line-height: 1; }
.brand strong { font-size: 1.05rem; letter-spacing: 0.01em; }
.brand small { margin-top: 5px; color: var(--cyan); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.status i { width: 8px; aspect-ratio: 1; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); }

.hero {
  padding: clamp(76px, 11vw, 138px) 0 clamp(76px, 9vw, 110px);
  max-width: 870px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 8.8vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

h1 span { color: transparent; -webkit-text-stroke: 1.5px rgba(247, 251, 255, 0.48); }

.hero-copy {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 23px;
  border-radius: 12px;
  color: #07141c;
  background: var(--lime);
  box-shadow: 0 14px 40px rgba(200, 255, 91, 0.14);
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-action:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(200, 255, 91, 0.22); }
.primary-action:focus-visible, .game-card a:focus-visible, .brand:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }

.catalog { padding: 70px 0 96px; border-top: 1px solid var(--line); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.04em; }
.section-heading > p { max-width: 300px; margin-bottom: 4px; color: var(--muted); text-align: right; }

.game-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); gap: 22px; }

.game-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(16, 35, 50, 0.74);
  box-shadow: var(--shadow);
}

.game-card a { display: block; height: 100%; color: inherit; text-decoration: none; }

.game-art {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  background: linear-gradient(135deg, #153344, #0c1c29 65%);
}

.game-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 95%);
}

.orb { position: absolute; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; filter: saturate(1.2); }
.orb-one { width: 250px; height: 250px; top: 28px; right: 12%; background: rgba(87, 228, 223, .12); box-shadow: 0 0 80px rgba(87, 228, 223, .16); }
.orb-two { width: 110px; height: 110px; left: 9%; bottom: 22px; background: rgba(255, 158, 68, .18); }
.orb-three { width: 56px; height: 56px; right: 8%; bottom: 28px; background: rgba(200, 255, 91, .15); }

.versus { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; transform: rotate(-5deg); }
.versus b { font-size: clamp(5rem, 12vw, 9rem); line-height: 1; letter-spacing: -.09em; text-shadow: 0 16px 30px rgba(0,0,0,.35); }
.versus em { position: absolute; padding: 8px 12px; border-radius: 8px; color: #07141c; background: var(--orange); font-size: .85rem; font-style: normal; font-weight: 950; transform: rotate(8deg); }

.card-badge { position: absolute; z-index: 2; top: 22px; left: 22px; padding: 8px 12px; border: 1px solid rgba(200, 255, 91, .4); border-radius: 999px; color: var(--lime); background: rgba(8, 20, 33, .65); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

.game-info { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 26px 0; }
.game-info p { margin-bottom: 7px; color: var(--cyan); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.game-info h3 { margin-bottom: 0; font-size: 1.65rem; letter-spacing: -.03em; }
.play-icon { width: 44px; aspect-ratio: 1; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #07141c; background: var(--lime); font-size: 1.35rem; transition: transform 160ms ease; }
.game-card a:hover .play-icon { transform: translateX(3px); }
.game-description { padding: 13px 26px 26px; margin-bottom: 0; color: var(--muted); line-height: 1.6; }

.upcoming { box-shadow: none; }
.upcoming-art { min-height: 180px; display: grid; place-items: center; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(135deg, rgba(255,255,255,.02), rgba(255,255,255,.02) 10px, transparent 10px, transparent 20px); }
.upcoming-art span { width: 62px; aspect-ratio: 1; display: grid; place-items: center; border: 1px dashed rgba(255,255,255,.28); border-radius: 50%; color: var(--muted); font-size: 1.8rem; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 27px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
footer span:first-child { color: var(--ink); font-weight: 800; }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 28px, 1180px); }
  .site-header { height: 76px; }
  .status { display: none; }
  .hero { padding: 72px 0 76px; }
  h1 { font-size: clamp(3rem, 17vw, 5rem); line-height: .94; }
  .hero-copy { line-height: 1.62; }
  .primary-action { width: 100%; }
  .catalog { padding-top: 56px; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .section-heading > p { text-align: left; }
  .game-grid { grid-template-columns: 1fr; }
  .game-art { min-height: 250px; }
  .upcoming-art { min-height: 130px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
