@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/PlusJakartaSans-Latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/Geist-Latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #F9ECDF;
  --orange: #FF7F00;
  --yellow: #F4CF00;
  --magenta: #FF00EA;
  --crocus: #b5d5ff;
  --dark: #171717;
  --muted: #6B6560;
  --border: #ECE4D8;
}

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

body {
  background-color: var(--bg);
  color: var(--dark);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  width: 100vw;
  overflow: hidden;
  position: relative;
}

/* Top Marquee Ticker */
.ticker-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 38px;
  background-color: var(--yellow);
  color: var(--dark);
  font-family: 'Geist', sans-serif;
  overflow: hidden;
  z-index: 20;
  display: flex;
  align-items: center;
  user-select: none;
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ticker-slide 60s linear infinite;
}

.ticker-item {
  font-family: 'Geist', sans-serif;
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-right: 0.5rem;
}

@keyframes ticker-slide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* D3 Stage Background */
#d3-stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: all;
  display: block;
}

/* Center Hero */
.hero-center {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  padding: 2rem;
  pointer-events: none;
}

.center-logo {
  pointer-events: auto;
  width: clamp(280px, 36vw, 440px);
  max-width: 90vw;
  height: auto;
  display: block;
  user-select: none;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.03));
}

.btn-start {
  pointer-events: auto;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background-color: var(--yellow);
  color: var(--dark);
  font-family: 'Geist', sans-serif;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: 1px;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease, box-shadow 0.22s ease;
  user-select: none;
}

.btn-start:hover {
  background-color: var(--crocus);
  color: var(--dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(181, 213, 255, 0.45);
}

.btn-start:active {
  transform: translateY(0) scale(0.98);
}

.btn-start span {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.btn-start:hover span {
  transform: translateX(3px);
}

.hero-actions {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.hero-email {
  pointer-events: auto;
  cursor: pointer;
  font-family: 'Geist', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--dark);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.hero-email:hover {
  opacity: 1;
  color: var(--crocus);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Bottom Right Social Links */
.footer-social {
  position: fixed;
  bottom: 2rem;
  right: 2.5rem;
  z-index: 20;
  pointer-events: auto;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.social-links a {
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.social-links a:hover {
  color: var(--crocus);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .ticker-bar {
    height: 32px;
  }

  .ticker-item {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
  }

  .hero-center {
    gap: 1.75rem;
  }

  .center-logo {
    width: clamp(240px, 75vw, 340px);
  }

  .btn-start {
    font-size: 0.8rem;
    padding: 0.75rem 1.5rem;
  }

  .footer-social {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}