/* ============================================
   OBSESSED — style.css
   ============================================ */

:root {
  --furnace: #0C0A09;
  --molten: #FF6B18;
  --bone: #F2EDE8;
  --charred: #6B6560;
  --smolder: #171412;
  --dark-footer: #080706;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', sans-serif;
  background: var(--furnace);
  color: var(--bone);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(255,107,24,0.3);
  color: var(--bone);
}

/* ── NOISE OVERLAY ── */
.noise {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
}

/* ── CURSOR GLOW ── */
.cursor-glow {
  position: fixed;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,24,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  display: none;
}
@media (hover: hover) {
  .cursor-glow { display: block; }
}

/* ── EMBER PARTICLES ── */
.embers {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9997;
  overflow: hidden;
}
.ember {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: var(--molten);
  box-shadow: 0 0 8px rgba(255,107,24,0.4);
  opacity: 0;
  animation: ember-rise linear infinite;
}
.ember:nth-child(1)  { left: 5%;  width: 3px; height: 3px; animation-duration: 14s; animation-delay: 0s;    opacity: 0.35; }
.ember:nth-child(2)  { left: 12%; width: 4px; height: 4px; animation-duration: 18s; animation-delay: 2s;    opacity: 0.4;  }
.ember:nth-child(3)  { left: 20%; width: 3px; height: 3px; animation-duration: 12s; animation-delay: 4s;    opacity: 0.3;  }
.ember:nth-child(4)  { left: 28%; width: 5px; height: 5px; animation-duration: 16s; animation-delay: 1s;    opacity: 0.5;  }
.ember:nth-child(5)  { left: 35%; width: 4px; height: 4px; animation-duration: 20s; animation-delay: 3s;    opacity: 0.35; }
.ember:nth-child(6)  { left: 43%; width: 3px; height: 3px; animation-duration: 15s; animation-delay: 5s;    opacity: 0.45; }
.ember:nth-child(7)  { left: 50%; width: 6px; height: 6px; animation-duration: 13s; animation-delay: 0.5s;  opacity: 0.3;  }
.ember:nth-child(8)  { left: 58%; width: 4px; height: 4px; animation-duration: 17s; animation-delay: 2.5s;  opacity: 0.5;  }
.ember:nth-child(9)  { left: 65%; width: 3px; height: 3px; animation-duration: 19s; animation-delay: 4.5s;  opacity: 0.4;  }
.ember:nth-child(10) { left: 72%; width: 5px; height: 5px; animation-duration: 11s; animation-delay: 1.5s;  opacity: 0.35; }
.ember:nth-child(11) { left: 78%; width: 4px; height: 4px; animation-duration: 16s; animation-delay: 3.5s;  opacity: 0.6;  }
.ember:nth-child(12) { left: 85%; width: 3px; height: 3px; animation-duration: 14s; animation-delay: 0.8s;  opacity: 0.3;  }
.ember:nth-child(13) { left: 90%; width: 5px; height: 5px; animation-duration: 18s; animation-delay: 2.2s;  opacity: 0.45; }
.ember:nth-child(14) { left: 95%; width: 4px; height: 4px; animation-duration: 12s; animation-delay: 4.2s;  opacity: 0.35; }
.ember:nth-child(15) { left: 8%;  width: 3px; height: 3px; animation-duration: 20s; animation-delay: 5.5s;  opacity: 0.5;  }

@keyframes ember-rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: var(--ember-op, 0.4); }
  90%  { opacity: var(--ember-op, 0.4); }
  100% { transform: translateY(-110vh) translateX(calc(sin(var(--i,1)) * 40px)); opacity: 0; }
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--smolder);
  border: 1px solid rgba(255,107,24,0.2);
  color: var(--molten);
  font-family: 'Noto Sans Mono', monospace;
  font-size: 13px;
  padding: 10px 24px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 10000;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 56px;
  background: rgba(12,10,9,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,107,24,0.06);
}
.nav-logo {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  color: var(--molten);
  text-decoration: none;
  font-weight: 700;
}
.nav-ca {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px;
  color: var(--charred);
  cursor: pointer;
  transition: color 0.2s;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-ca:hover { color: var(--bone); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-twitter {
  color: var(--bone);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.nav-twitter:hover { color: var(--molten); }
.nav-buy {
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
  color: var(--molten);
  text-decoration: none;
  border: 1px solid var(--molten);
  padding: 6px 18px;
  transition: background 0.2s;
}
.nav-buy:hover { background: rgba(255,107,24,0.1); }

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 58vh;
  overflow: hidden;
}
.hero-video {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(12,10,9,0.6);
  z-index: -1;
}
.hero-content {
  text-align: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title {
  line-height: 1;
}
.hero-title-top {
  display: block;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(64px, 12vw, 140px);
  font-weight: 900;
  color: var(--bone);
  letter-spacing: -2px;
}
.hero-title-bottom {
  display: block;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(64px, 12vw, 140px);
  font-weight: 900;
  color: var(--molten);
  letter-spacing: -2px;
  text-shadow: 0 0 40px rgba(255,107,24,0.25);
}
.hero-scramble {
  margin-top: 32px;
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 17px;
  color: var(--charred);
  min-height: 26px;
}
.hero-buy-btn {
  display: inline-block;
  margin-top: 40px;
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--furnace);
  background: var(--molten);
  padding: 14px 36px;
  border-radius: 0;
  text-decoration: none;
  transition: filter 0.2s, box-shadow 0.2s;
}
.hero-buy-btn:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 24px rgba(255,107,24,0.2);
}

/* Sound button */
.sound-btn {
  position: absolute;
  bottom: 80px;
  right: 32px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(23,20,18,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--charred);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  color: var(--charred);
  transition: border-color 0.2s;
}
.sound-btn:hover { border-color: var(--molten); }
.sound-icon { font-size: 14px; }
.sound-text { font-family: 'Figtree', sans-serif; font-size: 11px; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Figtree', sans-serif;
  font-size: 10px;
  color: var(--charred);
  letter-spacing: 3px;
  z-index: 10;
  transition: opacity 0.5s;
}
.scroll-hint.hidden { opacity: 0; }

/* ── SECTIONS COMMON ── */
.section { position: relative; }
.section-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-tag {
  display: block;
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
  color: var(--molten);
  letter-spacing: 6px;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--bone);
  margin-bottom: 32px;
  line-height: 1.2;
}

/* ── II — THE TRUTH ── */
.truth {
  background: var(--furnace);
  padding: 100px 0;
}
.truth-text p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--bone);
  margin-bottom: 24px;
}
.truth-highlight {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px;
  color: var(--molten);
  border-left: 3px solid var(--molten);
  padding-left: 24px;
  margin: 40px 0;
  line-height: 1.4;
}

/* ── III — THE LADDER ── */
.ladder {
  background: var(--smolder);
  padding: 80px 0;
  overflow: hidden;
}
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 0;
}
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to top, var(--charred), var(--molten));
}
.timeline-level {
  position: relative;
  margin-bottom: 80px;
  display: flex;
  align-items: flex-start;
}
.timeline-level:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  border-radius: 50%;
  z-index: 2;
}
.dot-1 {
  width: 12px; height: 12px;
  background: var(--charred);
  border: 1px solid var(--charred);
}
.dot-2 {
  width: 12px; height: 12px;
  background: rgba(255,107,24,0.4);
}
.dot-3 {
  width: 16px; height: 16px;
  background: var(--molten);
  box-shadow: 0 0 16px rgba(255,107,24,0.4);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 16px rgba(255,107,24,0.4); }
  50% { box-shadow: 0 0 28px rgba(255,107,24,0.7); }
}

.timeline-content {
  width: 45%;
}
.timeline-content.right { margin-left: 55%; }
.timeline-content.left  { margin-right: 55%; text-align: right; }
.timeline-content.left .level-card { margin-left: auto; }
.timeline-content.left .progress-bar { margin-left: auto; }

.level-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px;
  color: var(--bone);
  margin-bottom: 4px;
}
.level-name-muted { color: var(--charred); }
.level-name-orange {
  font-size: 28px;
  color: var(--molten);
}
.level-quote {
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  color: var(--charred);
  margin-bottom: 16px;
}
.level-quote-orange { color: var(--molten); }
.level-card {
  background: var(--smolder);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 24px;
  margin-bottom: 16px;
}
.level-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--bone);
}
.level-card-accent {
  border: none;
  border-left: 2px solid var(--molten);
  background: rgba(255,107,24,0.03);
}

/* Progress bars */
.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.progress-muted { background: var(--charred); }
.progress-white { background: var(--bone); }
.progress-orange {
  background: var(--molten);
  box-shadow: 0 0 8px rgba(255,107,24,0.4);
}

/* Ladder flash */
.ladder-flash {
  position: absolute;
  inset: 0;
  background: rgba(255,107,24,0.06);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.ladder-flash.active {
  opacity: 1;
}

/* ── IV — THE EVIDENCE ── */
.evidence {
  background: var(--furnace);
  padding: 80px 0;
}

/* Evidence single video */
.evidence-video-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}
.evidence-video-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,107,24,0.08);
  cursor: pointer;
  transition: border-color 0.3s;
}
.evidence-video-box:hover {
  border-color: rgba(255,107,24,0.3);
}
.evidence-video-box video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.evidence-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12,10,9,0.4);
  border: none;
  color: var(--bone);
  cursor: pointer;
  transition: background 0.3s, opacity 0.3s;
}
.evidence-play-btn:hover {
  background: rgba(12,10,9,0.25);
}
.evidence-play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ── V — THE SIGNS ── */
.signs {
  background: var(--smolder);
  padding: 80px 0;
}
.signs-list { max-width: 780px; }
.sign-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sign-row.visible {
  opacity: 1;
  transform: translateX(0);
}
.sign-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 32px;
  color: var(--molten);
  opacity: 0.3;
  flex-shrink: 0;
  width: 48px;
}
.sign-text {
  font-family: 'Figtree', sans-serif;
  font-size: 17px;
  color: var(--bone);
  line-height: 1.5;
}

/* ── VI — BIG QUOTE ── */
.bigquote {
  background: var(--furnace);
  padding: 120px 0;
}
.bigquote-text {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  color: var(--bone);
  line-height: 1.2;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.3em;
}
.bq-word {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.bq-word.visible {
  opacity: 1;
  transform: translateY(0);
}
.bq-accent {
  color: var(--molten);
  text-shadow: 0 0 30px rgba(255,107,24,0.3);
}

/* ── VII — HOW TO BUY ── */
.howtobuy {
  background: var(--furnace);
  padding: 80px 0;
}
.buy-steps {
  margin-top: 40px;
}
.buy-step {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0 20px 24px;
  border-left: 1px solid rgba(255,107,24,0.1);
}
.buy-step-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--molten);
  opacity: 0.25;
  flex-shrink: 0;
  line-height: 1;
}
.buy-step-text {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  color: var(--bone);
  line-height: 1.6;
}
.buy-step-text strong {
  color: var(--bone);
  font-weight: 600;
}

/* ── VIII — SCROLL WORDS ── */
.scroll-words {
  background: var(--furnace);
}
.scroll-word {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.scroll-word span {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(80px, 18vw, 200px);
  font-weight: 900;
  color: var(--bone);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sw-left span { transform: translateX(-80px); }
.sw-right span { transform: translateX(80px); }
.scroll-word.visible span {
  opacity: 1;
  transform: translateX(0);
}
.sw-accent span {
  color: var(--molten);
  text-shadow: 0 0 40px rgba(255,107,24,0.3);
}

/* ── FOOTER ── */
.footer {
  background: var(--dark-footer);
  padding: 48px 24px;
  text-align: center;
}
.footer-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  color: var(--bone);
  margin-bottom: 16px;
  animation: footer-glow 3s ease-in-out infinite;
}
@keyframes footer-glow {
  0%, 100% { text-shadow: 0 0 8px rgba(255,107,24,0); }
  50% { text-shadow: 0 0 16px rgba(255,107,24,0.15); }
}
.footer-ca {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px;
  color: var(--charred);
  cursor: pointer;
  transition: color 0.2s;
}
.footer-ca:hover { color: var(--bone); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-ca { display: none; }
  .hero-title-top, .hero-title-bottom { letter-spacing: -1px; }

  .section-title { font-size: 28px; }

  .timeline-line { left: 20px; }
  .timeline-dot { left: 20px; }
  .timeline-content,
  .timeline-content.right,
  .timeline-content.left {
    width: calc(100% - 52px);
    margin-left: 52px;
    margin-right: 0;
    text-align: left;
  }
  .timeline-content.left .level-card,
  .timeline-content.left .progress-bar { margin-left: 0; }

  .truth-highlight { font-size: 18px; }

  .video-slot { width: 200px; height: 355px; }

  .sign-num { font-size: 24px; width: 36px; }
  .sign-text { font-size: 15px; }

  .bigquote-text { gap: 0 0.25em; }

  .buy-step-num { font-size: 36px; }
}

@media (max-width: 480px) {
  .nav { padding: 0 16px; }
  .hero-scramble { font-size: 14px; padding: 0 16px; }
  .section-inner { padding: 0 16px; }
  .truth-text p { font-size: 16px; }
  .level-card p { font-size: 14px; }
  .video-gallery-track { padding: 0 16px 12px; }
  .video-slot { width: 180px; height: 320px; }
}
