:root {
  --bg-base: #07100D;
  --bg-elevated: #0C1915;
  --surface-card: #10221C;
  --surface-nav: rgba(7, 16, 13, 0.84);
  --accent-emerald: #10B981;
  --accent-mint: #34D399;
  --accent-vita: #00C2FF;
  --accent-pokeball: #E11D48;
  --text-primary: #ECFDF5;
  --text-secondary: #94B3A8;
  --text-muted: #5F7D72;
  --border-subtle: rgba(52, 211, 153, 0.14);
  --border-glow: rgba(0, 194, 255, 0.42);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background-color: var(--bg-base);
  background-image:
    radial-gradient(ellipse 75% 40% at 15% 0%, rgba(16, 185, 129, 0.12), transparent 65%),
    radial-gradient(ellipse 55% 35% at 85% 5%, rgba(0, 194, 255, 0.08), transparent 60%);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, nav { font-family: 'Space Grotesk', system-ui, sans-serif; }
code, pre { font-family: 'JetBrains Mono', monospace; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--surface-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-header {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background-color: var(--bg-base);
  background-image:
    radial-gradient(ellipse 68% 58% at 18% 12%, rgba(16, 185, 129, 0.16), transparent 68%),
    radial-gradient(ellipse 56% 52% at 86% 24%, rgba(0, 194, 255, 0.12), transparent 64%);
}

.hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(52, 211, 153, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 211, 153, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 92% 85% at 50% 42%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 92% 85% at 50% 42%, #000 35%, transparent 100%);
}

.hero-header > * { position: relative; z-index: 1; }

.brand-logo-compact { height: 60px; width: auto; display: block; object-fit: contain; }
.brand-logo-hero { height: clamp(190px, 24vw, 290px); width: auto; max-width: 100%; display: block; object-fit: contain; }

.vita-capture-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 960 / 544;
  background-color: #060D0B;
  background-image:
    linear-gradient(rgba(52, 211, 153, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 211, 153, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px dashed rgba(52, 211, 153, 0.28);
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.vita-capture-slot:not(:has(img))::after {
  content: "PS VITA · 960×544";
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 6px 12px;
  border: 1px solid rgba(0, 194, 255, 0.24);
  border-radius: 999px;
  background: rgba(7, 16, 13, 0.82);
}

.vita-capture-slot:has(img) {
  border-style: solid;
  border-color: var(--border-subtle);
  background-image: none;
}

.vita-capture-slot:has(img):hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
}

.vita-capture-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
