/* ============================================================
   TRACKY HAND — Cinematic Game Spotlight Hero
   Two-column layout (Headline Left, Cinematic Artwork Right)
   with Bottom Featured Games Carousel & Hand Control Dock.
   Prefix: cs-
   ============================================================ */

/* ── Custom Properties ───────────────────────────────────────── */
:root {
  --cs-cyan:        #19d3ff;
  --cs-cyan-glow:   rgba(25, 211, 255, 0.55);
  --cs-cyan-dim:    rgba(25, 211, 255, 0.18);
  --cs-bg:          #02070f;
  --cs-panel:       rgba(4, 12, 28, 0.85);
  --cs-nav-h:       clamp(52px, 6.5vh, 64px);
  --cs-bottom-h:    clamp(70px, 9.5vh, 88px);
  --cs-transition:  600ms cubic-bezier(0.22, 1, 0.36, 1);
  --cs-display:     'Barlow Condensed', 'Barlow Semi Condensed', sans-serif;
}

/* ── STAGE — full-viewport hero wrapper ──────────────────────── */
.cs-stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--cs-bg);
  color: #fff;
  font-family: var(--font-ui, 'Barlow', sans-serif);
  overflow: hidden;
  isolation: isolate;
}

/* ── GLOBAL AMBIENT BACKGROUND ──────────────────────────────── */
.cs-stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 72% 50%, rgba(18, 90, 200, 0.20), transparent 70%),
    radial-gradient(ellipse 40% 35% at 20% 80%, rgba(255, 110, 20, 0.08), transparent 70%),
    #02070f;
  transition: background var(--cs-transition);
}

/* ── 1. TOP NAVIGATION ───────────────────────────────────────── */
.cs-nav {
  position: relative;
  z-index: 50;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--cs-nav-h);
  padding: 0 clamp(16px, 2.5vw, 40px);
  background: linear-gradient(180deg, rgba(2, 7, 15, 0.95) 0%, rgba(2, 7, 15, 0.6) 100%);
  border-bottom: 1px solid rgba(25, 211, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.cs-brand__mark {
  width: clamp(26px, 2.2vw, 36px);
  height: auto;
  color: var(--cs-cyan);
  filter: drop-shadow(0 0 8px var(--cs-cyan-glow));
  flex-shrink: 0;
}

.cs-brand__name {
  font-family: var(--cs-display);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: clamp(0.95rem, 1.3vw, 1.3rem);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.cs-topnav {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.4vw, 6px);
  margin-left: clamp(20px, 5vw, 80px);
}

.cs-topnav a {
  position: relative;
  text-decoration: none;
  color: rgba(225, 236, 252, 0.78);
  font-size: clamp(0.74rem, 0.92vw, 0.94rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.5em 0.95em;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.cs-topnav a:hover { color: #fff; background: rgba(25, 211, 255, 0.08); }

.cs-topnav a.is-active {
  color: #fff;
  border-color: rgba(25, 211, 255, 0.45);
  background: linear-gradient(180deg, rgba(10, 70, 140, 0.40), rgba(5, 25, 60, 0.50));
}

.cs-nav-right {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
}

.cs-iconbtn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 0;
  color: rgba(235, 244, 255, 0.85);
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.cs-iconbtn:hover { color: var(--cs-cyan); background: rgba(25, 211, 255, 0.08); }
.cs-iconbtn svg  { width: 18px; height: 18px; }
.cs-iconbtn__dot {
  position: absolute; top: 7px; right: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ff3b4e;
  box-shadow: 0 0 6px #ff3b4e;
}

/* Navbar Quick Camera Toggle Switch */
.cs-nav-cam {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 12px;
  background: rgba(14, 25, 45, 0.75);
  border: 1px solid rgba(25, 211, 255, 0.25);
  border-radius: 20px;
  color: rgba(225, 238, 255, 0.9);
  font-family: var(--cs-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}
.cs-nav-cam:hover {
  border-color: var(--cs-cyan);
  background: rgba(25, 211, 255, 0.12);
  color: #fff;
  box-shadow: 0 0 14px rgba(25, 211, 255, 0.2);
}
.cs-nav-cam__icon {
  width: 14px;
  height: 14px;
  color: var(--cs-cyan);
  transition: transform 0.25s ease;
}
.cs-nav-cam__switch {
  position: relative;
  width: 28px;
  height: 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  display: inline-block;
}
.cs-nav-cam__knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.cs-nav-cam.is-active,
.cs-nav-cam[aria-checked="true"] {
  border-color: var(--cs-cyan);
  background: rgba(25, 211, 255, 0.18);
  box-shadow: 0 0 16px rgba(25, 211, 255, 0.35);
}
.cs-nav-cam.is-active .cs-nav-cam__switch,
.cs-nav-cam[aria-checked="true"] .cs-nav-cam__switch {
  background: var(--cs-cyan);
  box-shadow: 0 0 10px rgba(25, 211, 255, 0.6);
}
.cs-nav-cam.is-active .cs-nav-cam__knob,
.cs-nav-cam[aria-checked="true"] .cs-nav-cam__knob {
  transform: translateX(12px);
  background: #02070f;
}

.cs-btn-intro {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.38em 0.85em;
  background: rgba(25, 211, 255, 0.08);
  border: 1px solid rgba(25, 211, 255, 0.30);
  border-radius: 6px;
  color: rgba(25, 211, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.cs-btn-intro:hover { background: rgba(25, 211, 255, 0.16); color: #fff; }

.cs-player-wrap {
  position: relative;
}

.cs-player {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 4px 8px;
  border-radius: 20px;
  transition: background 0.2s ease;
}
.cs-player:hover,
.cs-player:focus-visible {
  background: rgba(25, 211, 255, 0.08);
  outline: none;
}
.px-player__caret {
  width: 14px;
  height: 14px;
  color: rgba(220, 235, 255, 0.6);
  transition: transform 0.25s ease;
}
.cs-player.is-active .px-player__caret {
  transform: rotate(180deg);
  color: var(--cs-cyan);
}

.cs-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 210px;
  background: rgba(6, 14, 28, 0.96);
  border: 1px solid rgba(25, 211, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65), 0 0 20px rgba(25, 211, 255, 0.15);
  backdrop-filter: blur(16px);
  padding: 8px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: csDropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cs-user-dropdown[hidden] {
  display: none !important;
}
@keyframes csDropdownFadeIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cs-user-dropdown__header {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cs-user-dropdown__name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cs-user-dropdown__email {
  font-size: 0.72rem;
  color: rgba(220, 235, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cs-user-dropdown__divider {
  height: 1px;
  background: rgba(25, 211, 255, 0.12);
  margin: 4px 0;
}
.cs-user-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  color: rgba(225, 238, 255, 0.85);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  background: none;
  border: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}
.cs-user-dropdown__item:hover,
.cs-user-dropdown__item:focus-visible {
  background: rgba(25, 211, 255, 0.12);
  color: #fff;
  outline: none;
}
.cs-user-dropdown__item svg {
  width: 15px;
  height: 15px;
  color: var(--cs-cyan);
  flex-shrink: 0;
}
.cs-user-dropdown__logout {
  color: #ff6070;
}
.cs-user-dropdown__logout:hover,
.cs-user-dropdown__logout:focus-visible {
  background: rgba(255, 96, 112, 0.14);
  color: #ff7f8f;
}
.cs-user-dropdown__logout svg {
  color: #ff6070;
}
.cs-player__avatar, .top-nav__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(25, 211, 255, 0.5), rgba(10, 60, 140, 0.8));
  border: 1.5px solid var(--cs-cyan-glow);
  display: grid;
  place-items: center;
  font-family: var(--cs-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #fff;
}
.cs-player__meta { display: flex; flex-direction: column; gap: 1px; }
.cs-player__name { font-size: 0.82rem; font-weight: 600; line-height: 1; }
.cs-player__level { font-size: 0.66rem; color: var(--cs-cyan); font-weight: 500; line-height: 1; }

.cs-auth-group { display: flex; align-items: center; gap: 8px; }

.cs-hamburger, .hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: rgba(25, 211, 255, 0.08);
  border: 1px solid rgba(25, 211, 255, 0.35);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  color: #fff;
  transition: background 0.18s, border-color 0.18s;
}
.cs-hamburger:hover, .hamburger-btn:hover {
  background: rgba(25, 211, 255, 0.18);
  border-color: var(--cs-cyan);
}

/* ── 2. HERO MAIN BODY (TWO COLUMNS) ─────────────────────────── */
.cs-hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 0;
  align-items: stretch;
}

/* Left Content Column */
.cs-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 3vh, 48px) clamp(20px, 3.5vw, 60px);
  position: relative;
  z-index: 5;
}

.cs-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(10px, 1.4vh, 18px);
}
.cs-eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cs-cyan);
  box-shadow: 0 0 8px var(--cs-cyan);
  flex-shrink: 0;
  animation: cs-pulse 2s ease-in-out infinite;
}
.cs-eyebrow__text {
  font-family: var(--cs-display);
  font-size: clamp(0.68rem, 0.85vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--cs-cyan);
  text-transform: uppercase;
}

@keyframes cs-pulse {
  0%, 100% { box-shadow: 0 0 8px var(--cs-cyan); opacity: 1; }
  50%       { box-shadow: 0 0 18px var(--cs-cyan); opacity: 0.7; }
}

.cs-headline {
  font-family: var(--cs-display);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 clamp(10px, 1.6vh, 20px);
  font-size: clamp(2.4rem, 4.8vw, 5.6rem);
  perspective: 900px;
  user-select: none;
}
.cs-headline__line, .cs-headline__accent {
  display: block;
}
.cs-headline__accent {
  color: var(--cs-cyan);
  text-shadow: 0 0 40px rgba(25, 211, 255, 0.45);
}
.cs-word {
  display: inline-block;
  white-space: nowrap;
  margin-right: 0.22em;
}
.cs-word:last-child {
  margin-right: 0;
}
.cs-char {
  display: inline-block;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: text-shadow 0.25s ease;
}
.cs-char.is-accent {
  color: var(--cs-cyan);
  text-shadow: 0 0 35px rgba(25, 211, 255, 0.5);
}

.cs-lead {
  font-size: clamp(0.85rem, 1vw, 1.02rem);
  color: rgba(220, 232, 252, 0.75);
  line-height: 1.55;
  max-width: 38ch;
  margin: 0 0 clamp(16px, 2.5vh, 32px);
}

.cs-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: clamp(16px, 2.5vh, 30px);
}

.cs-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.72em 1.8em;
  background: linear-gradient(135deg, var(--cs-cyan) 0%, #0fb8e0 100%);
  color: #02070f;
  font-family: var(--cs-display);
  font-weight: 800;
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 0 20px rgba(25, 211, 255, 0.35);
  white-space: nowrap;
}
.cs-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(25, 211, 255, 0.6), 0 8px 20px rgba(0, 0, 0, 0.4);
}

.cs-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.68em 1.5em;
  background: rgba(25, 211, 255, 0.07);
  color: #fff;
  font-family: var(--cs-display);
  font-weight: 700;
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid rgba(25, 211, 255, 0.35);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
  white-space: nowrap;
}
.cs-btn-secondary:hover {
  background: rgba(25, 211, 255, 0.14);
  border-color: rgba(25, 211, 255, 0.65);
  transform: translateY(-2px);
}

.cs-cam-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(4, 12, 28, 0.78);
  border: 1px solid rgba(25, 211, 255, 0.18);
  border-radius: 10px;
  padding: 7px 14px;
  max-width: fit-content;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cs-cam-status__indicator {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.cs-cam-status[data-tone="ok"]   .cs-cam-status__indicator { background: #28e07a; box-shadow: 0 0 8px rgba(40, 224, 122, 0.6); }
.cs-cam-status[data-tone="busy"] .cs-cam-status__indicator { background: var(--cs-cyan); box-shadow: 0 0 8px var(--cs-cyan-glow); animation: cs-pulse-fast 1s ease-in-out infinite; }
.cs-cam-status[data-tone="warn"] .cs-cam-status__indicator { background: #ffb830; box-shadow: 0 0 8px rgba(255, 184, 48, 0.6); }
.cs-cam-status[data-tone="error"].cs-cam-status__indicator { background: #ff3b4e; box-shadow: 0 0 8px rgba(255, 59, 78, 0.6); }

@keyframes cs-pulse-fast { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.cs-cam-status__label {
  font-family: var(--cs-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(220, 232, 255, 0.85);
}

.cs-cam-status__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.28em 0.75em;
  background: rgba(25, 211, 255, 0.12);
  border: 1px solid rgba(25, 211, 255, 0.35);
  border-radius: 5px;
  color: var(--cs-cyan);
  font-family: var(--cs-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s;
  white-space: nowrap;
}
.cs-cam-status__btn:hover { background: rgba(25, 211, 255, 0.22); }

/* Right Artwork Column */
.cs-artwork-col {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cs-artwork-frame {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.cs-artwork-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--cs-transition),
    transform var(--cs-transition);
  transform: scale(1.04) translateX(20px);
  will-change: opacity, transform;
}

.cs-artwork-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateX(0);
  z-index: 2;
}

.cs-artwork-slide.is-leaving {
  opacity: 0;
  transform: scale(0.97) translateX(-20px);
  z-index: 1;
}

.cs-artwork-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Subtle blending gradients */
.cs-artwork-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(2, 7, 15, 0.90) 0%,
    rgba(2, 7, 15, 0.40) 20%,
    transparent 50%
  );
  z-index: 3;
  pointer-events: none;
}

.cs-artwork-frame::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(2, 7, 15, 0.85), transparent);
  z-index: 3;
  pointer-events: none;
}

/* Game title overlay in artwork */
.cs-artwork-meta {
  position: absolute;
  bottom: 20px;
  left: 28px;
  z-index: 5;
  pointer-events: none;
}

.cs-artwork-meta__game-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cs-cyan);
  text-transform: uppercase;
  margin-bottom: 2px;
  font-family: var(--cs-display);
}

.cs-artwork-meta__game-title {
  font-family: var(--cs-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 2.8vw, 3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
  transition: opacity 0.35s, transform 0.35s;
}

.cs-artwork-meta__genre {
  font-size: 0.8rem;
  color: rgba(220, 232, 255, 0.65);
  margin-top: 3px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ── 3. BOTTOM HERO DOCK (CAROUSEL + GESTURES) ────────────────── */
.cs-bottom-bar {
  position: relative;
  z-index: 20;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px clamp(16px, 2.5vw, 40px);
  background: linear-gradient(180deg, rgba(2, 7, 15, 0.85) 0%, rgba(2, 7, 15, 0.98) 100%);
  border-top: 1px solid rgba(25, 211, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Left Section: Featured Games Carousel */
.cs-carousel-section {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.cs-carousel-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cs-carousel-label {
  font-family: var(--cs-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cs-cyan);
  white-space: nowrap;
}

.cs-carousel-counter {
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 0.76rem;
  display: flex;
  align-items: center;
  gap: 3px;
}
.cs-carousel-counter__cur { color: var(--cs-cyan); font-weight: 700; }
.cs-carousel-counter__sep { color: rgba(255,255,255,0.3); }
.cs-carousel-counter__total { color: rgba(255,255,255,0.5); }

.cs-carousel-arrows {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cs-carousel-btn {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 6px;
  background: rgba(25, 211, 255, 0.08);
  border: 1px solid rgba(25, 211, 255, 0.25);
  color: var(--cs-cyan);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.cs-carousel-btn:hover { background: rgba(25, 211, 255, 0.20); color: #fff; border-color: var(--cs-cyan); }
.cs-carousel-btn svg  { width: 12px; height: 12px; }

/* Track with horizontal game thumbs */
.cs-carousel-track {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px;
}
.cs-carousel-track::-webkit-scrollbar { display: none; }

/* Individual game thumb */
.cs-thumb {
  flex-shrink: 0;
  width: clamp(96px, 8.5vw, 126px);
  height: clamp(52px, 5.8vh, 66px);
  cursor: pointer;
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(25, 211, 255, 0.15);
  position: relative;
  background: #081224;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
  padding: 0;
}

.cs-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(25, 211, 255, 0.55);
}

.cs-thumb.is-active {
  border-color: var(--cs-cyan);
  box-shadow: 0 0 16px rgba(25, 211, 255, 0.65), inset 0 0 8px rgba(25, 211, 255, 0.25);
  transform: translateY(-2px);
}

.cs-thumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cs-thumb__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2px 4px;
  background: linear-gradient(to top, rgba(2, 7, 15, 0.95) 0%, rgba(2, 7, 15, 0.6) 80%, transparent 100%);
  font-family: var(--cs-display);
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* Right Section: Hand Control Pill + Gestures */
.cs-dock-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Hand control bar inside bottom dock */
.cs-bottom-bar .hand-control-bar {
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  box-shadow: none !important;
  background: rgba(4, 12, 28, 0.85) !important;
  border: 1px solid rgba(25, 211, 255, 0.22) !important;
  border-radius: 999px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hand gesture badges */
.cs-gestures {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cs-gesture {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(220, 232, 255, 0.6);
  font-size: 0.68rem;
}
.cs-gesture svg { width: 16px; height: 16px; color: var(--cs-cyan); opacity: 0.85; flex-shrink: 0; }
.cs-gesture b { font-weight: 700; font-size: 0.72rem; color: #fff; display: block; line-height: 1; }
.cs-gesture small { display: block; font-size: 0.62rem; line-height: 1.2; color: rgba(220, 232, 255, 0.5); }

/* ── BELOW FOLD SECTIONS ─────────────────────────────────────── */
.cs-below, .px-below {
  position: relative;
  z-index: 2;
  background: #02070f;
}

/* Ensure reveal elements below fold are visible */
.cs-below .reveal,
.px-below .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* ── HAND CURSOR ─────────────────────────────────────────────── */
.hand-cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); display: none; }
.hand-cursor.is-visible { display: block; }
.hand-cursor__ring { position: relative; width: 44px; height: 44px; }
.hand-cursor__svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hand-cursor__track    { fill: none; stroke: rgba(25,211,255,0.20); stroke-width: 2.5; }
.hand-cursor__progress { fill: none; stroke: var(--cs-cyan); stroke-width: 2.5; stroke-linecap: round; transition: stroke-dashoffset 0.1s linear; }
.hand-cursor__dot { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--cs-cyan); box-shadow: 0 0 8px var(--cs-cyan); }

/* ── MOBILE DRAWER ───────────────────────────────────────────── */
.mobile-drawer-backdrop,
.cs-drawer-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 80;
  background: rgba(2, 7, 15, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.mobile-drawer-backdrop.open,
.cs-drawer-backdrop.open { display: block; }

.mobile-drawer,
.cs-drawer {
  position: fixed;
  top: 0; right: -340px;
  width: min(340px, 90vw);
  height: 100vh;
  height: 100svh;
  z-index: 90;
  background: rgba(4, 10, 22, 0.98);
  border-left: 1px solid rgba(25, 211, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open,
.cs-drawer.open { right: 0; }

.mobile-drawer__header,
.cs-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(25, 211, 255, 0.10);
}
.mobile-drawer__title,
.cs-drawer__title {
  font-family: var(--cs-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mobile-drawer__close,
.cs-drawer__close {
  background: none; border: 0; color: rgba(255,255,255,0.6); font-size: 1.2rem; cursor: pointer; padding: 4px; border-radius: 6px;
}
.mobile-drawer__close:hover,
.cs-drawer__close:hover { color: #fff; }

.mobile-drawer__nav,
.cs-drawer__nav { padding: 12px 0; flex: 1; }
.mobile-drawer__link,
.cs-drawer__link {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: rgba(220, 232, 255, 0.80);
  font-size: 0.92rem;
  font-weight: 500;
  border-left: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.mobile-drawer__link:hover, .mobile-drawer__link.active,
.cs-drawer__link:hover, .cs-drawer__link.active {
  background: rgba(25, 211, 255, 0.06);
  color: #fff;
  border-left-color: var(--cs-cyan);
}

.mobile-drawer__footer,
.cs-drawer__footer { padding: 20px; border-top: 1px solid rgba(25, 211, 255, 0.08); display: flex; flex-direction: column; gap: 12px; }

/* ── REDUCED MOTION ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .cs-artwork-slide { transition: opacity 0.3s; transform: none !important; }
  .cs-artwork-slide.is-leaving { transform: none !important; }
  .cs-eyebrow__dot { animation: none; }
  .cs-thumb { transition: border-color 0.2s; }
  .cs-thumb:hover { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════ */

/* ── Large Desktop (1600+) ─────────────────────────────────── */
@media (min-width: 1600px) {
  .cs-hero { grid-template-columns: 38% 62%; }
}

/* ── Desktop Medium (1200 - 1599) ──────────────────────────── */
@media (min-width: 1200px) and (max-width: 1599px) {
  .cs-hero { grid-template-columns: 42% 58%; }
}

/* ── Desktop Small / Tablets Landscape (1024 - 1199) ───────── */
@media (min-width: 1024px) and (max-width: 1199px) {
  .cs-hero { grid-template-columns: 44% 56%; }
  .cs-headline { font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
  .cs-gestures { display: none; }
}

/* ── Tablet Portrait (768 - 1023) ──────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  .cs-topnav { display: none; }
  .cs-hamburger, .hamburger-btn { display: flex; }

  .cs-hero {
    grid-template-columns: 48% 52%;
  }

  .cs-headline { font-size: clamp(2rem, 4.5vw, 3.2rem); }
  .cs-lead { font-size: 0.85rem; }
  .cs-gestures { display: none; }

  .cs-bottom-bar {
    padding: 10px 20px;
    gap: 12px;
  }
}

/* ── Mobile Portrait (< 768px) ─────────────────────────────── */
@media (max-width: 767px) {
  .cs-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 14px !important;
    height: 52px !important;
  }
  .cs-brand { gap: 8px; flex-shrink: 0; }
  .cs-brand__name { font-size: 1rem; }
  .cs-topnav { display: none !important; }
  .cs-auth-group { display: none !important; }
  .cs-nav-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
  }
  .cs-nav-right .cs-iconbtn { display: none !important; }
  .cs-btn-intro { display: none !important; }
  .cs-hamburger, .hamburger-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    background: rgba(25, 211, 255, 0.08) !important;
    border: 1px solid rgba(25, 211, 255, 0.35) !important;
    border-radius: 8px !important;
    color: #fff !important;
  }

  .cs-stage {
    min-height: auto;
    height: auto;
    overflow: visible;
  }

  .cs-hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .cs-content {
    order: 1;
    padding: 24px 20px 16px;
  }

  .cs-headline { font-size: clamp(2.2rem, 9.5vw, 3.2rem); }
  .cs-lead { font-size: 0.88rem; }

  .cs-artwork-col {
    order: 2;
    height: 56vw;
    min-height: 220px;
    max-height: 360px;
    flex-shrink: 0;
  }

  .cs-artwork-frame::before {
    background: linear-gradient(to right, rgba(2, 7, 15, 0.6) 0%, transparent 60%);
  }

  .cs-bottom-bar {
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px;
  }

  .cs-carousel-section {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .cs-carousel-meta {
    justify-content: space-between;
  }

  .cs-dock-right {
    justify-content: center;
  }

  .cs-gestures { display: none; }
}

@media (max-width: 480px) {
  .cs-nav-cam__label { display: none; }
  .cs-headline { font-size: clamp(1.75rem, 8.5vw, 2.3rem); }
}

/* Floating Toast Feedback */
.cs-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: rgba(6, 14, 28, 0.95);
  border: 1px solid var(--cs-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(25, 211, 255, 0.25);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  z-index: 9999;
  backdrop-filter: blur(12px);
  animation: csToastSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}
@keyframes csToastSlide {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

