/* ==========================================================================
   Peak Pool — Neon synthwave billiards landing page
   Palette: deep black + electric magenta + cyan + gold glow
   Layout: ball-rail sidebar + diagonal shards + horizontal journey
   ========================================================================== */

:root {
  --bg-void: #000000;
  --bg-deep: #0f0f23;
  --bg-panel: #12121f;
  --bg-felt: #0d3d26;
  --magenta: #ff2d95;
  --magenta-dim: #c41d72;
  --cyan: #00f0ff;
  --cyan-dim: #00a8b8;
  --gold: #ffd700;
  --gold-mid: #ffc107;
  --gold-dark: #b8860b;
  --purple: #7c3aed;
  --text-primary: #e2e8f0;
  --text-muted: #94a3b8;
  --glow-magenta: 0 0 20px rgba(255, 45, 149, 0.6), 0 0 60px rgba(255, 45, 149, 0.25);
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.6), 0 0 60px rgba(0, 240, 255, 0.25);
  --glow-gold: 0 0 20px rgba(255, 215, 0, 0.55), 0 0 50px rgba(255, 193, 7, 0.3);
  --font-display: "Russo One", system-ui, sans-serif;
  --font-body: "Chakra Petch", system-ui, sans-serif;
  --rail-width: 72px;
  --header-height: 72px;
  --z-rail: 90;
  --z-header: 100;
  --z-drawer: 200;
  --z-modal: 400;
  --radius-shard: 4px;
  --transition: 200ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-void);
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 999;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--bg-void);
  font-weight: 600;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

/* Ambient background */
.neon-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.neon-atmosphere__leak {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}

.neon-atmosphere__leak--magenta {
  top: -10%;
  left: -5%;
  width: 50vw;
  height: 50vw;
  background: var(--magenta);
}

.neon-atmosphere__leak--cyan {
  bottom: -15%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: var(--cyan);
}

.neon-atmosphere__halftone {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle, var(--purple) 1px, transparent 1px);
  background-size: 12px 12px;
}

.neon-atmosphere__grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(var(--cyan) 1px, transparent 1px),
    linear-gradient(90deg, var(--cyan) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: center top;
}

/* Ball-rail sidebar */
.ball-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-width);
  z-index: var(--z-rail);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0;
  background: rgba(15, 15, 35, 0.85);
  border-right: 1px solid rgba(255, 45, 149, 0.2);
  backdrop-filter: blur(12px);
}

.ball-rail__brand {
  margin-bottom: 2rem;
  transition: transform var(--transition);
}

.ball-rail__brand:hover {
  transform: scale(1.08);
}

.ball-rail__logo {
  border-radius: 10px;
  box-shadow: var(--glow-gold);
}

.ball-rail__nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.ball-rail__ball {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #2a2a3e, #12121f);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.ball-rail__ball:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: scale(1.1);
}

.ball-rail__ball.is-active {
  border-color: var(--magenta);
  box-shadow: var(--glow-magenta);
}

.ball-rail__ball--cta {
  background: radial-gradient(circle at 30% 30%, var(--gold-mid), var(--gold-dark));
  border-color: var(--gold);
}

.ball-rail__ball--cta:hover {
  box-shadow: var(--glow-gold);
}

.ball-rail__number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-primary);
}

.ball-rail__progress {
  width: 4px;
  height: 80px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.ball-rail__progress-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--magenta), var(--cyan));
  border-radius: 2px;
  transition: height 150ms ease-out;
}

/* Shard header */
.shard-header {
  position: fixed;
  top: 0;
  left: var(--rail-width);
  right: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.shard-header.is-scrolled {
  background: rgba(15, 15, 35, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 45, 149, 0.3);
}

.shard-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem 0 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
}

.shard-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.shard-header__icon {
  border-radius: 8px;
  box-shadow: var(--glow-gold);
}

.shard-header__name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.shard-header__name strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.shard-header__name small {
  font-size: 0.7rem;
  color: var(--magenta);
  font-style: italic;
  letter-spacing: 0.08em;
}

.shard-header__nav {
  display: none;
  gap: 2rem;
}

.shard-header__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.shard-header__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width var(--transition);
}

.shard-header__link:hover {
  color: var(--cyan);
}

.shard-header__link:hover::after {
  width: 100%;
}

.shard-header__cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, var(--gold-mid), var(--gold-dark));
  color: var(--bg-void);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 4px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: box-shadow var(--transition), transform var(--transition);
}

.shard-header__cta:hover {
  box-shadow: var(--glow-gold);
  transform: translateY(-1px);
}

.shard-header__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.shard-header__toggle span {
  display: block;
  height: 2px;
  background: var(--cyan);
  transition: transform var(--transition), opacity var(--transition);
}

.shard-header__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.shard-header__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.shard-header__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  pointer-events: none;
  visibility: hidden;
}

.mobile-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 250ms ease;
}

.mobile-drawer.is-open .mobile-drawer__backdrop {
  opacity: 1;
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: var(--bg-deep);
  border-left: 2px solid var(--magenta);
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateX(100%);
  transition: transform 300ms ease-out;
  box-shadow: -10px 0 40px rgba(255, 45, 149, 0.15);
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: color var(--transition);
}

.mobile-drawer__close:hover {
  color: var(--magenta);
}

.mobile-drawer__link {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color var(--transition), padding-left var(--transition);
}

.mobile-drawer__link:hover {
  color: var(--cyan);
  padding-left: 0.5rem;
}

.mobile-drawer__cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--magenta), var(--magenta-dim));
  color: white;
  font-weight: 700;
  border-radius: 4px;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: box-shadow var(--transition);
}

.mobile-drawer__cta:hover {
  box-shadow: var(--glow-magenta);
}

/* Main content offset */
main {
  position: relative;
  z-index: 1;
  margin-left: var(--rail-width);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border-radius: 4px;
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-mid));
  color: var(--bg-void);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.btn--gold:hover {
  box-shadow: var(--glow-gold);
  transform: translateY(-2px);
}

.btn--cyan {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.btn--cyan:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn:focus-visible,
.shard-header__cta:focus-visible,
.ball-rail__ball:focus-visible,
.shard-header__link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* Section shared */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.75rem;
}

.section-tag--cyan { color: var(--cyan); }
.section-tag--gold { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.section-title--slant {
  font-style: italic;
  transform: skewX(-4deg);
  text-shadow: var(--glow-magenta);
}

.section-desc {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 2rem) 2rem 4rem;
  overflow: hidden;
}

.hero__shards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__shard {
  position: absolute;
  background: linear-gradient(135deg, var(--magenta), transparent);
  opacity: 0.15;
}

.hero__shard--1 {
  top: 10%;
  right: 5%;
  width: 200px;
  height: 300px;
  clip-path: polygon(50% 0, 100% 30%, 70% 100%, 0 70%);
  background: linear-gradient(135deg, var(--cyan), transparent);
}

.hero__shard--2 {
  bottom: 15%;
  left: 10%;
  width: 150px;
  height: 200px;
  clip-path: polygon(0 0, 100% 20%, 80% 100%, 20% 80%);
}

.hero__shard--3 {
  top: 30%;
  left: 30%;
  width: 100px;
  height: 120px;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: linear-gradient(135deg, var(--gold), transparent);
  opacity: 0.1;
}

.hero__shard--4 {
  bottom: 30%;
  right: 25%;
  width: 180px;
  height: 100px;
  clip-path: polygon(0 30%, 100% 0, 100% 70%, 0 100%);
  background: linear-gradient(135deg, var(--purple), transparent);
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}

.hero__title {
  margin: 0 0 1.5rem;
  line-height: 0.95;
}

.hero__title-gold {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  color: var(--gold);
  text-shadow:
    0 0 10px rgba(255, 215, 0, 0.8),
    0 0 40px rgba(255, 193, 7, 0.5),
    0 4px 0 var(--gold-dark),
    0 8px 20px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.06em;
}

.hero__title-neon {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  font-style: italic;
  color: var(--magenta);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  text-shadow: var(--glow-magenta);
}

.hero__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 0 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero banner — landscape key art at native aspect ratio (1024×535) */
.hero__visual {
  display: flex;
  justify-content: center;
}

.hero-banner {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.hero-banner__glow {
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.25), transparent 70%);
  animation: pulse-glow 4s ease-in-out infinite;
}

.hero-banner__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 130%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(0, 240, 255, 0.3);
  border-radius: 50%;
  animation: ring-expand 3s ease-out infinite;
}

.hero-banner__frame {
  position: relative;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 0 0 2px var(--magenta),
    0 0 40px rgba(255, 45, 149, 0.4),
    0 25px 60px rgba(0, 0, 0, 0.6);
  background: var(--bg-panel);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  z-index: 1;
}

.hero-banner__frame img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-banner__cue {
  position: absolute;
  bottom: -10px;
  right: -30px;
  width: 120px;
  height: 8px;
  background: linear-gradient(90deg, #8b6914, #d4a853, #f5e6a3);
  border-radius: 4px;
  transform: rotate(-25deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes ring-expand {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

/* Journey horizontal strip */
.journey {
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.journey__header {
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
}

.journey__track-wrap {
  overflow-x: auto;
  padding: 0 2rem;
  scroll-snap-type: x mandatory;
  scroll-padding: 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--magenta) transparent;
}

.journey__track-wrap::-webkit-scrollbar {
  height: 6px;
}

.journey__track-wrap::-webkit-scrollbar-thumb {
  background: var(--magenta);
  border-radius: 3px;
}

.journey__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  margin-inline: auto;
  padding: 1rem 0 2rem;
}

.journey-card {
  flex: 0 0 min(340px, 85vw);
  scroll-snap-align: start;
  padding: 2rem;
  background: rgba(18, 18, 31, 0.8);
  border: 1px solid rgba(255, 45, 149, 0.25);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  backdrop-filter: blur(8px);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.journey-card:hover {
  border-color: var(--magenta);
  box-shadow: var(--glow-magenta);
  transform: translateY(-4px);
}

.journey-card--accent {
  border-color: rgba(0, 240, 255, 0.35);
}

.journey-card--accent:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.journey-card--gold {
  border-color: rgba(255, 215, 0, 0.35);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(18, 18, 31, 0.9));
}

.journey-card--gold:hover {
  border-color: var(--gold);
  box-shadow: var(--glow-gold);
}

.journey-card__ball {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  background: radial-gradient(circle at 30% 30%, #3a3a50, #1a1a2e);
  border: 2px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.25rem;
}

.journey-card--gold .journey-card__ball {
  background: radial-gradient(circle at 30% 30%, var(--gold-mid), var(--gold-dark));
  color: var(--bg-void);
  border-color: var(--gold);
}

.journey-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.journey-card__text {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.journey__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  opacity: 0.6;
}

/* Features bento */
.features {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features__header {
  margin-bottom: 3rem;
}

.features__bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.feature-shard {
  padding: 2rem;
  background: rgba(18, 18, 31, 0.75);
  border: 1px solid rgba(0, 240, 255, 0.2);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  backdrop-filter: blur(8px);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.feature-shard:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.feature-shard__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  background: rgba(255, 45, 149, 0.15);
  border: 1px solid var(--magenta);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  color: var(--magenta);
}

.feature-shard__icon--cyan {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
}

.feature-shard__icon--gold {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.feature-shard__icon--magenta {
  background: rgba(255, 45, 149, 0.15);
  border-color: var(--magenta);
  color: var(--magenta);
}

.feature-shard__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}

.feature-shard__text {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.feature-shard__stats {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 4px;
}

.stat-pill__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}

.stat-pill__label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Gallery — 5-shot phone rack showcase */
.gallery {
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.gallery__header {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  padding: 0 2rem;
}

.shots-rack {
  position: relative;
}

.shots-rack__toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 0 2rem;
}

.shots-rack__arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--cyan);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: border-color var(--transition), box-shadow var(--transition), color var(--transition);
}

.shots-rack__arrow:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.shots-rack__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.shots-rack__dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shots-rack__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 45, 149, 0.5);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.shots-rack__dot:hover {
  border-color: var(--magenta);
}

.shots-rack__dot.is-active {
  background: var(--magenta);
  box-shadow: var(--glow-magenta);
  transform: scale(1.15);
}

.shots-rack__viewport {
  overflow-x: auto;
  padding: 0 2rem 1rem;
  scroll-snap-type: x mandatory;
  scroll-padding: 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) transparent;
}

.shots-rack__viewport::-webkit-scrollbar {
  height: 6px;
}

.shots-rack__viewport::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 3px;
}

.shots-rack__stage {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  width: max-content;
  margin-inline: auto;
  padding: 1rem 0 2rem;
}

.shot-phone {
  position: relative;
  flex: 0 0 200px;
  margin: 0;
  scroll-snap-align: center;
  transition: transform 350ms ease, opacity 350ms ease;
}

.shot-phone__ball {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #3a3a50, #1a1a2e);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.shot-phone--featured .shot-phone__ball {
  background: radial-gradient(circle at 30% 30%, var(--gold-mid), var(--gold-dark));
  color: var(--bg-void);
  border-color: var(--gold);
}

.shot-phone__bezel {
  border-radius: 28px;
  padding: 7px;
  background: linear-gradient(160deg, #1e1e32, #0a0a14);
  border: 2px solid rgba(255, 45, 149, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.shot-phone:hover .shot-phone__bezel,
.shot-phone.is-active .shot-phone__bezel {
  border-color: var(--magenta);
  box-shadow: var(--glow-magenta);
}

.shot-phone--featured .shot-phone__bezel {
  border-color: rgba(0, 240, 255, 0.45);
}

.shot-phone--featured:hover .shot-phone__bezel,
.shot-phone--featured.is-active .shot-phone__bezel {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.shot-phone__bezel img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

.shot-phone__label {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

.shot-phone:hover .shot-phone__label,
.shot-phone.is-active .shot-phone__label {
  color: var(--cyan);
}

.shot-phone--featured .shot-phone__label {
  color: var(--gold);
}

.shots-rack__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* Desktop fan layout — all 5 phones visible */
@media (min-width: 1100px) {
  .shots-rack__viewport {
    overflow-x: visible;
    padding-bottom: 0;
  }

  .shots-rack__stage {
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
  }

  .shot-phone {
    flex: 0 0 190px;
  }

  .shots-rack__toolbar {
    display: none;
  }

  .shot-phone:nth-child(1) { transform: translateY(36px); }
  .shot-phone:nth-child(2) { transform: translateY(18px); }
  .shot-phone:nth-child(3) { transform: translateY(0) scale(1.08); z-index: 2; }
  .shot-phone:nth-child(4) { transform: translateY(18px); }
  .shot-phone:nth-child(5) { transform: translateY(36px); }

  .shot-phone--featured {
    flex: 0 0 210px;
  }

  .shot-phone:nth-child(1):hover { transform: translateY(28px) scale(1.03); z-index: 3; }
  .shot-phone:nth-child(2):hover { transform: translateY(10px) scale(1.03); z-index: 3; }
  .shot-phone:nth-child(3):hover { transform: translateY(-8px) scale(1.12); z-index: 3; }
  .shot-phone:nth-child(4):hover { transform: translateY(10px) scale(1.03); z-index: 3; }
  .shot-phone:nth-child(5):hover { transform: translateY(28px) scale(1.03); z-index: 3; }

  .shots-rack__hint {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .shot-phone {
    flex: 0 0 220px;
  }
}

/* Download */
.download {
  position: relative;
  padding: 6rem 2rem;
  text-align: center;
  overflow: hidden;
}

.download__felt {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, var(--bg-felt) 0%, var(--bg-void) 70%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(0, 0, 0, 0.15) 20px,
      rgba(0, 0, 0, 0.15) 40px
    );
  opacity: 0.5;
}

.download__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.neon-sign {
  margin-bottom: 1.5rem;
}

.neon-sign__flicker {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: var(--magenta);
  text-shadow: var(--glow-magenta);
  animation: neon-flicker 5s ease-in-out infinite;
}

.download__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin: 0 0 1rem;
  color: var(--gold);
  text-shadow: var(--glow-gold);
}

.download__desc {
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.download__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@keyframes neon-flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.7; }
  94% { opacity: 1; }
  96% { opacity: 0.8; }
  97% { opacity: 1; }
}

/* Footer */
.site-footer {
  margin-left: var(--rail-width);
  padding: 3rem 2rem;
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 45, 149, 0.15);
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer__brand img {
  border-radius: 10px;
}

.site-footer__brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--gold);
}

.site-footer__brand span {
  font-size: 0.8rem;
  color: var(--magenta);
  font-style: italic;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.site-footer__links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.site-footer__links a:hover {
  color: var(--cyan);
}

.site-footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  opacity: 0.7;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  pointer-events: none;
  visibility: hidden;
}

.modal.is-open {
  pointer-events: auto;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: opacity 250ms ease;
}

.modal.is-open .modal__backdrop {
  opacity: 1;
}

.modal__panel {
  position: relative;
  width: min(420px, 100%);
  padding: 2.5rem 2rem;
  background: var(--bg-deep);
  border: 2px solid var(--magenta);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  text-align: center;
  box-shadow: var(--glow-magenta);
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: transform 300ms ease-out, opacity 300ms ease-out;
}

.modal.is-open .modal__panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: color var(--transition);
}

.modal__close:hover {
  color: var(--magenta);
}

.modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  color: var(--gold);
}

.modal__text {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

/* Lucide icon sizing */
[data-lucide] {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.hero__eyebrow [data-lucide] {
  width: 16px;
  height: 16px;
}

/* Responsive */
@media (min-width: 768px) {
  .hero__layout {
    grid-template-columns: 1fr 1fr;
  }

  .features__bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
  }

  .feature-shard--wide {
    grid-column: span 2;
  }

  .feature-shard--tall {
    grid-row: span 2;
  }

  .shots-rack__hint {
    display: none;
  }

  .shard-header__nav {
    display: flex;
  }

  .shard-header__cta {
    display: inline-flex;
  }

  .shard-header__toggle {
    display: none;
  }

  .journey__hint {
    display: none;
  }
}

@media (min-width: 1024px) {
  .features__bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }

  .feature-shard--wide {
    grid-column: span 2;
  }

  .feature-shard--tall {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 767px) {
  :root {
    --rail-width: 0px;
  }

  .ball-rail {
    display: none;
  }

  main {
    margin-left: 0;
  }

  .shard-header {
    left: 0;
  }

  .hero {
    padding-top: calc(var(--header-height) + 1.5rem);
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero__scroll-hint {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero-banner {
    max-width: 100%;
  }

  .site-footer {
    margin-left: 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-banner__glow,
  .hero-banner__ring,
  .neon-sign__flicker {
    animation: none;
  }
}
