:root {
  --bg: #080808;
  --surface: #080808;
  --surface-2: #101010;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f4f5;
  --muted: #9ca3af;
  --orange: #ff5c00;
  --orange-hover: #e65200;
  --wrap: 1160px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --ease: 0.22s ease;
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Offset for fixed header when clicking nav anchors */
  scroll-padding-top: 120px;
}

body.site-body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.site-body > main,
body.site-body > .site-footer {
  position: relative;
  z-index: 1;
}

/* Scrollbars (match admin) */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 92, 0, 0.55) rgba(255, 255, 255, 0.05);
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: rgba(255, 92, 0, 0.7);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
  border: 2px solid transparent;
  background-clip: padding-box;
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: var(--bg);
  border-radius: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin: 0 auto;
}

/* Fixed site-wide pattern (does not scroll) — soft, faded in the middle */
.site-pattern {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: var(--bg);
  /* Diagonal micro-hatch */
  background-image:
    repeating-linear-gradient(
      -32deg,
      transparent 0,
      transparent 11px,
      rgba(255, 255, 255, 0.5) 11px,
      rgba(255, 255, 255, 0.5) 12px
    ),
    repeating-linear-gradient(
      32deg,
      transparent 0,
      transparent 11px,
      rgba(255, 255, 255, 0.28) 11px,
      rgba(255, 255, 255, 0.28) 12px
    );
  background-attachment: fixed;
  background-repeat: repeat;
  opacity: 0.055;
  -webkit-mask-image: radial-gradient(ellipse 58% 52% at 50% 45%, transparent 18%, #000 78%);
  mask-image: radial-gradient(ellipse 58% 52% at 50% 45%, transparent 18%, #000 78%);
}

/* Film grain (graphic layer, not a color gradient) */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform var(--ease), background var(--ease), border-color var(--ease), color var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  border: 1px solid var(--orange);
}

.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
}

.btn-light {
  background: #fff;
  color: #0a0a0a;
  border: 1px solid #fff;
}

.btn-light:hover {
  background: #ececec;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

/* ===== Nav (fixed sticky header) ===== */
.site-nav {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 200;
  background: rgba(8, 8, 8, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--ease), border-color var(--ease), backdrop-filter var(--ease);
}

.site-nav.is-scrolled {
  background: rgba(8, 8, 8, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.site-brand {
  display: flex;
  align-items: center;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.site-brand img {
  display: block;
  height: 88px;
  width: auto;
  max-width: min(300px, 58vw);
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: left center;
}

.site-brand--foot img {
  height: 84px;
  width: auto;
  max-width: min(280px, 70vw);
}

.site-menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.site-menu a {
  position: relative;
}

.site-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.site-menu a:hover {
  color: #fff;
}

.site-menu a:hover::after {
  transform: scaleX(1);
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav-actions .btn {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.menu-btn {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  flex-shrink: 0;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--ease), border-color var(--ease);
}

.menu-btn:hover,
.menu-btn:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  outline: none;
}

.menu-btn span {
  position: absolute;
  left: 50%;
  display: block;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  border-radius: 2px;
  background: #fff;
  transition: transform var(--ease), opacity var(--ease), top var(--ease);
}

.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn span:nth-child(3) { top: 30px; }

.menu-btn.is-open span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

.menu-btn.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-btn.is-open span:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

/* ===== Hero (graphic stage — no photo) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px 0 64px;
  overflow: hidden;
  background: transparent;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  min-width: 0;
}

.hero-copy {
  min-width: 0;
  max-width: 560px;
  width: 100%;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}

.hero-kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5.2vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 14px;
  white-space: nowrap;
  max-width: 100%;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 12px;
  white-space: nowrap;
}

.hero-tagline em {
  font-style: normal;
  color: var(--orange);
}

.hero-lead {
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  font-weight: 500;
  color: var(--muted);
  max-width: 28rem;
  margin: 0 0 24px;
  line-height: 1.45;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.hero-actions .btn {
  min-height: 52px;
  padding: 0 22px;
}

/* Hero text entrance */
.hero-anim {
  opacity: 0;
  will-change: transform, opacity, filter;
}

.hero-anim--kicker {
  animation: heroRise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.hero-anim--brand {
  animation: heroBrandIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.hero-anim--tag {
  animation: heroRise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.hero-anim--lead {
  animation: heroRise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

.hero-anim--actions {
  animation: heroRise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.62s both;
}

.hero-tagline em {
  display: inline-block;
  animation: heroAccent 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroBrandIn {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.94);
    letter-spacing: 0.12em;
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: -0.04em;
    filter: blur(0);
  }
}

@keyframes heroAccent {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Kinetic graphic panel */
.hero-viz {
  position: relative;
  justify-self: end;
  width: min(100%, 400px);
  max-width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  min-width: 0;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-ring--outer {
  inset: 0;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
  animation: heroSpin 28s linear infinite;
}

.hero-ring--mid {
  inset: 12%;
  border-color: rgba(255, 92, 0, 0.45);
  animation: heroSpin 18s linear infinite reverse;
}

.hero-ring--core {
  inset: 28%;
  background: var(--bg);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 92, 0, 0.2);
}

.hero-cross::before,
.hero-cross::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.hero-cross::before {
  width: 1px;
  height: 72%;
  transform: translate(-50%, -50%);
}

.hero-cross::after {
  width: 72%;
  height: 1px;
  transform: translate(-50%, -50%);
}

.hero-viz-word {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
  user-select: none;
  white-space: nowrap;
  animation: heroPlayPulse 3.6s ease-in-out infinite;
}

.hero-viz-word-fill,
.hero-viz-word-stroke {
  grid-area: 1 / 1;
  font: inherit;
  letter-spacing: inherit;
}

.hero-viz-word-fill {
  color: var(--orange);
  opacity: 0.22;
  transform: translate(3px, 4px);
}

.hero-viz-word-stroke {
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  paint-order: stroke fill;
}

.hero-viz-orbit {
  position: absolute;
  left: 50%;
  bottom: 8%;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  max-width: 86%;
  transform: translateX(-50%);
}

.hero-viz-orbit span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

@keyframes heroPlayPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@keyframes heroSpin {
  to { transform: rotate(360deg); }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: bob 2.2s ease-in-out infinite;
}

.hero-scroll i {
  font-size: 0.8rem;
}

.hero-scroll:hover {
  color: #fff;
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

/* ===== Marquee (infinite game names) ===== */
.marquee {
  border: 0;
  background: transparent;
  overflow: hidden;
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  padding-right: 28px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.marquee-group .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ===== Sections ===== */
.section,
.hero {
  scroll-margin-top: 120px;
}

.section {
  padding: 100px 0;
  background: transparent;
  position: relative;
}

.section-alt {
  background: transparent;
  border: 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-head h2,
.visit-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-desc {
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 500;
  max-width: 28rem;
}

/* ===== Filters ===== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.filter:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.filter.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ===== Games ===== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.game {
  --i: 0;
  min-width: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease);
}

.game:hover {
  border-color: rgba(255, 92, 0, 0.5);
  transform: translateY(-6px);
}

.game-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  overflow: hidden;
}

.game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.game:hover .game-media img {
  transform: scale(1.06);
}

.game-index {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 40px;
  height: 28px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
}

.game-shine {
  position: absolute;
  inset: 0;
  background: rgba(255, 92, 0, 0);
  transition: background 0.35s ease;
  pointer-events: none;
}

.game:hover .game-shine {
  background: rgba(255, 92, 0, 0.08);
}

.game-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.28);
  background: var(--surface-2);
}

.game-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 16px 18px;
  border-top: 1px solid var(--line);
}

.game-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  transition: color var(--ease);
}

.game:hover .game-body h3 {
  color: var(--orange);
}

.game-body p {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.35;
}

.game-tag {
  display: inline-flex;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 92, 0, 0.35);
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 20px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 20px;
  background: transparent;
}

/* ===== Why / Experience ===== */
.why-head {
  margin-bottom: 40px;
}

.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
}

.why-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.why-frame {
  position: relative;
  flex: 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  min-height: 320px;
  background: var(--surface-2);
}

.why-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.why-visual:hover .why-frame img {
  transform: scale(1.04);
}

.why-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.why-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
}

.why-meta-item i {
  color: var(--orange);
  font-size: 0.85rem;
}

.why-meta-item--accent {
  border-color: rgba(255, 92, 0, 0.4);
  color: #fff;
}

.why-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.why-card {
  --i: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: transparent;
  min-width: 0;
  transition: border-color var(--ease), transform var(--ease);
}

.why-card:hover {
  border-color: rgba(255, 92, 0, 0.45);
  transform: translateY(-4px);
}

.why-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 92, 0, 0.35);
  display: grid;
  place-items: center;
  color: var(--orange);
  font-size: 1.05rem;
}

.why-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.why-card.reveal.is-in {
  transition-delay: calc(var(--i) * 0.08s);
}

/* ===== Visit ===== */
.visit {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  padding: 44px;
  border-radius: 28px;
  background: transparent;
  border: 1px solid var(--line);
  overflow: hidden;
}

.visit-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  right: -40px;
  top: -40px;
  background: var(--orange);
  opacity: 0.12;
  pointer-events: none;
}

.visit-copy {
  position: relative;
  z-index: 1;
}

.visit-copy h2 {
  margin-bottom: 12px;
}

.visit-copy .section-desc {
  margin-bottom: 26px;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.visit-meta {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  align-content: center;
}

.visit-card {
  padding: 18px;
  border-radius: 16px;
  background: transparent;
  border: 1px solid var(--line);
}

.visit-card dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.visit-card dt i {
  color: var(--orange);
}

.visit-card dd {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.visit-card a:hover {
  color: var(--orange);
}

/* ===== Footer ===== */
.site-footer {
  border: 0;
  padding: 40px 0 48px;
  background: transparent;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-footer-links a:hover {
  color: #fff;
}

.site-foot-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.site-copy {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
}

.site-crafted {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.site-crafted a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color var(--ease), border-color var(--ease);
}

.site-crafted a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ===== Reveal motion ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

.game.reveal.is-in {
  transition-delay: calc(var(--i) * 0.05s);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .why-frame {
    aspect-ratio: 16 / 10;
    max-height: 380px;
    min-height: 220px;
  }

  .why-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visit {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
    padding: 128px 0 56px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: stretch;
  }

  .hero-copy {
    max-width: none;
    order: 1;
  }

  .hero-viz {
    order: 2;
    justify-self: center;
    width: min(72vw, 320px);
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 104px;
  }

  .section,
  .hero {
    scroll-margin-top: 104px;
  }

  .site-nav-inner {
    grid-template-columns: 1fr auto;
    min-height: 84px;
    gap: 12px;
  }

  .site-brand img {
    height: 72px;
    max-width: min(240px, 68vw);
  }

  .site-menu {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    padding: 14px 12px;
    border-radius: 10px;
  }

  .site-menu a::after {
    display: none;
  }

  .site-menu a:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .site-nav-actions {
    gap: 8px;
  }

  .site-nav-actions .btn-ghost {
    display: none;
  }

  .site-nav-actions .btn-primary {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .hero {
    align-items: flex-start;
    padding: 120px 0 40px;
  }

  .hero-kicker {
    margin-bottom: 10px;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
  }

  .hero-kicker::before {
    width: 18px;
  }

  .hero-brand {
    font-size: clamp(1.7rem, 8.5vw, 2.4rem);
    margin-bottom: 10px;
  }

  .hero-tagline {
    font-size: clamp(0.92rem, 3.8vw, 1.1rem);
    margin-bottom: 8px;
  }

  .hero-lead {
    font-size: clamp(0.78rem, 3.2vw, 0.9rem);
    margin-bottom: 18px;
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-viz {
    width: min(78vw, 260px);
  }

  .hero-viz-word {
    font-size: clamp(2.4rem, 14vw, 3rem);
  }

  .hero-viz-word-fill {
    transform: translate(2px, 3px);
  }

  .hero-viz-word-stroke {
    -webkit-text-stroke-width: 1.5px;
  }

  .hero-viz-orbit {
    gap: 6px 10px;
    bottom: 6%;
  }

  .hero-viz-orbit span {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    padding: 36px 0 44px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 20px;
  }

  .site-brand--foot img {
    height: 88px;
    max-width: min(260px, 72vw);
  }

  .site-footer-links {
    justify-content: center;
    gap: 10px 16px;
  }

  .site-foot-meta {
    align-items: center;
    text-align: center;
  }

  .site-copy {
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 28px, var(--wrap));
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .game {
    border-radius: 14px;
  }

  .game-body {
    padding: 12px;
  }

  .game-body h3 {
    font-size: 0.95rem;
  }

  .game-body p {
    font-size: 0.75rem;
  }

  .game-tag {
    font-size: 0.62rem;
    padding: 3px 8px;
  }

  .why-features {
    gap: 10px;
  }

  .why-card {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .why-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .why-card h3 {
    font-size: 0.98rem;
  }

  .why-card p {
    font-size: 0.78rem;
  }

  .hero {
    align-items: flex-start;
    padding: 112px 0 36px;
  }

  .hero-brand {
    font-size: clamp(1.55rem, 7.5vw, 2rem);
  }

  .hero-tagline {
    font-size: clamp(0.85rem, 3.5vw, 0.98rem);
  }

  .hero-lead {
    font-size: clamp(0.7rem, 2.9vw, 0.8rem);
  }

  .hero-viz {
    width: min(68vw, 210px);
  }

  .hero-viz-word {
    font-size: clamp(1.9rem, 11vw, 2.4rem);
  }

  .hero-viz-orbit span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ring--outer,
  .hero-ring--mid,
  .hero-viz-word,
  .hero-scroll,
  .marquee-track,
  .reveal,
  .hero-anim,
  .hero-tagline em,
  .game,
  .game-media img,
  .btn {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .hero-anim {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
