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

:root {
  --bg: #0a0a0f;
  --surface: #13131a;
  --accent: #e8ff47;
  --text: #f0f0f0;
  --muted: #555;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  height: 100vh;
  overflow: hidden;
  user-select: none;
}

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 40px;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 100;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--accent);
  margin-right: auto;
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-link {
  background: none;
  border: none;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-link.active { color: var(--accent); background: rgba(232,255,71,0.08); }

/* ── STAGE ───────────────────────────────────────── */
.stage {
  position: absolute;
  inset: 0;
  top: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1400px;
}

.stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.glow {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 200px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  transition: background 0.5s;
  pointer-events: none;
}

/* ── TRACK ───────────────────────────────────────── */
.track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

/* ── CARDS ───────────────────────────────────────── */
.card {
  position: absolute;
  width: 300px;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.55s ease,
              opacity 0.55s ease;
  will-change: transform;
  transform-origin: center center;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 28px;
}

.card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 60px 24px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.card.active .card-label {
  transform: translateY(0);
  opacity: 1;
}

.card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 2px;
  color: #fff;
}

.card-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
}

.card.active .card-badge {
  opacity: 1;
  transform: scale(1);
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
  border-radius: 16px;
}

/* ── DOTS ────────────────────────────────────────── */
.dots {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 50;
}

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}

.dot.active {
  width: 24px;
  border-radius: 3px;
  background: var(--accent);
}

/* ── ARROWS ──────────────────────────────────────── */
.arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 50;
}
.arrow:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.arrow.left { left: 24px; }
.arrow.right { right: 24px; }

/* ── HINT ────────────────────────────────────────── */
.hint {
  position: fixed;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 50;
  pointer-events: none;
  animation: pulse 2.5s infinite;
}

@keyframes pulse { 0%,100%{opacity:0.4} 50%{opacity:1} }
