
:root {
  --pink: #e6007e;
  --blue: #009fe3;
  --teal: #27cfc3;
  --grad: linear-gradient(135deg, #e6007e 0%, #009fe3 100%);
  --dark: #0d0d0d;
  --dark-700: #111111;
  --dark-600: #1a1a1a;
  --dark-500: #242424;
  --dark-400: #2e2e2e;
  --grey-500: #676767;
  --grey-400: #888888;
  --grey-100: #e0e0e0;
  --white: #ffffff;
  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-serif:   'EB Garamond', Georgia, serif;  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 4px;
  --radius-lg: 16px;
  --grid-max: 2000px;
  --grid-margin: clamp(24px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--grey-100);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   STAT TICKER — horizontal marquee
   ═══════════════════════════════════════════════════════════ */

.stat-ticker {
  width: 100%;
  background: var(--dark);
  padding: 20px 0;
  border-top: 1px solid var(--dark-400);
  border-bottom: 1px solid var(--dark-400);
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.stat-ticker__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Edge fade masks (~60px) */
.stat-ticker__viewport::before,
.stat-ticker__viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.stat-ticker__viewport::before {
  left: 0;
  background: linear-gradient(to right, var(--dark) 0%, transparent 100%);
}

.stat-ticker__viewport::after {
  right: 0;
  background: linear-gradient(to left, var(--dark) 0%, transparent 100%);
}

.stat-ticker__marquee {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: stat-ticker-scroll 40s linear infinite;
  will-change: transform;
}

.stat-ticker__viewport:hover .stat-ticker__marquee {
  animation-play-state: paused;
}

@keyframes stat-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.stat-ticker__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
  list-style: none;
}

.stat-ticker__divider {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin: 0 clamp(20px, 3vw, 36px);
  border-radius: 50%;
  background: var(--grad);
  align-self: center;
}

.stat-ticker__stat {
  flex-shrink: 0;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
  padding: 4px 0;
  transition: transform 0.35s var(--ease-out);
  transform-origin: center center;
}

.stat-ticker__viewport:hover .stat-ticker__stat:hover {
  transform: scale(1.05);
}

.stat-ticker__value {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.stat-ticker__label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.2;
  color: var(--grey-400);
}

@media (prefers-reduced-motion: reduce) {
  .stat-ticker__marquee {
    animation: none;
    transform: translateX(0);
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 16px;
  }
  .stat-ticker__list[aria-hidden="true"] {
    display: none;
  }
  .stat-ticker__list {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    row-gap: 16px;
  }
  .stat-ticker__stat {
    transition: none;
  }
  .stat-ticker__viewport:hover .stat-ticker__stat:hover {
    transform: none;
  }
}

