/* ---------- Tokens ---------- */
:root {
  --pink: #ff2a8e;
  --cyan: #18e8ff;
  --bg: #0a0014;
  --fg: #f0e9ff;
  --fg-dim: #b9b0d9;

  --glow-pink: 0 0 6px rgba(255, 42, 142, 0.85),
               0 0 18px rgba(255, 42, 142, 0.55),
               0 0 36px rgba(255, 42, 142, 0.3);
  --glow-cyan: 0 0 6px rgba(24, 232, 255, 0.85),
               0 0 18px rgba(24, 232, 255, 0.55),
               0 0 36px rgba(24, 232, 255, 0.3);

  --ff-display: "Monoton", system-ui, sans-serif;
  --ff-mono: "Space Mono", ui-monospace, monospace;
  --ff-body: "Space Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: clip; }
a { color: inherit; text-decoration: none; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 56px 20px 80px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 720px) {
  body { font-size: 18px; }
  .page { padding: 96px 24px; }
}

/* ---------- Scanlines overlay ---------- */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: overlay;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding-bottom: 64px;
  margin-bottom: 40px;
}

.title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 14vw, 6rem);
  letter-spacing: 0.04em;
  line-height: 1;
  margin: 0;
  background: linear-gradient(90deg, var(--pink) 0%, var(--pink) 45%, var(--cyan) 55%, var(--cyan) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 42, 142, 0.55))
          drop-shadow(0 0 28px rgba(24, 232, 255, 0.4));
}

.tagline {
  font-family: var(--ff-mono);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-size: 0.78rem;
  margin: 20px 0 0;
}

.tagline .amp {
  color: var(--pink);
  text-shadow: var(--glow-pink);
  font-weight: 700;
  margin: 0 0.25em;
}

@media (min-width: 720px) {
  .tagline { font-size: 0.95rem; }
}

/* ---------- Grid horizon ---------- */
.grid-horizon {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 200vw;
  height: 120px;
  transform: translateX(-50%) perspective(240px) rotateX(58deg);
  transform-origin: bottom center;
  background:
    repeating-linear-gradient(
      to right,
      transparent 0 calc(5% - 1px),
      rgba(24, 232, 255, 0.55) calc(5% - 1px) 5%
    ),
    repeating-linear-gradient(
      to bottom,
      transparent 0 calc(20px - 1px),
      rgba(24, 232, 255, 0.55) calc(20px - 1px) 20px
    );
  mask-image: linear-gradient(to bottom, transparent 0%, black 35%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 35%, black 100%);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .grid-horizon { animation: gridScroll 2.4s linear infinite; }
  @keyframes gridScroll {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 0 0, 0 20px; }
  }
}

/* ---------- Branch cards ---------- */
.branches {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 56px;
}

@media (min-width: 720px) {
  .branches { flex-direction: row; gap: 20px; }
  .card { flex: 1; }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 26px;
  border-radius: 8px;
  border: 1px solid currentColor;
  position: relative;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
  background: rgba(255, 255, 255, 0.015);
}

.card.pink {
  color: var(--pink);
  box-shadow: 0 0 12px rgba(255, 42, 142, 0.25), inset 0 0 24px rgba(255, 42, 142, 0.08);
}

.card.pink:hover,
.card.pink:focus-visible {
  background: rgba(255, 42, 142, 0.08);
  box-shadow: 0 0 22px rgba(255, 42, 142, 0.55), inset 0 0 28px rgba(255, 42, 142, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.card.cyan {
  color: var(--cyan);
  opacity: 0.55;
  box-shadow: 0 0 10px rgba(24, 232, 255, 0.15), inset 0 0 22px rgba(24, 232, 255, 0.06);
  cursor: default;
}

.card-tag {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  opacity: 0.75;
}

.card-title {
  font-family: var(--ff-mono);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px currentColor;
}

@media (min-width: 720px) {
  .card-title { font-size: 1.55rem; }
}

.card-meta {
  margin-top: 6px;
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
}

.card.coming-soon .card-meta {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cyan);
  opacity: 0.85;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  text-align: center;
  color: var(--fg-dim);
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  opacity: 0.6;
}
