.bg-grid {
  background-image:
    linear-gradient(to right, rgba(30, 41, 59, .55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 41, 59, .55) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.glass { background: rgba(17, 24, 39, .82); border: 1px solid rgba(148, 163, 184, .16); }

.btn-glow {
  box-shadow: 0 10px 30px -8px rgba(213, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .15);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn-glow:hover, .btn-glow:focus-visible {
  box-shadow: 0 0 0 4px rgba(213, 0, 0, .18), 0 16px 44px -6px rgba(213, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .15);
  transform: translateY(-1px);
}
.btn-glow:focus-visible { outline: 2px solid #F8FAFC; outline-offset: 3px; }
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%);
  transform: translateX(-130%); animation: btnShine 4.5s ease-in-out 2s infinite;
}
@keyframes btnShine { 0%, 70% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }

.hero-bg {
  background:
    radial-gradient(ellipse 60% 50% at 88% 8%, #2A0508 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 120%, #111827 0%, transparent 60%),
    #07090F;
}
.smoke-band { position: absolute; inset: 0; background: linear-gradient(150deg, transparent 18%, rgba(213, 0, 0, .14) 42%, rgba(213, 0, 0, .05) 58%, transparent 75%); }
.smoke-source {
  position: absolute; right: -14%; top: -22%; width: 64vw; height: 64vw; max-width: 940px; max-height: 940px; border-radius: 50%;
  background: radial-gradient(circle closest-side, rgba(213, 0, 0, .5), rgba(213, 0, 0, .18) 45%, transparent 100%);
  animation: breathe 7s ease-in-out infinite; will-change: transform, opacity;
}
.puff {
  position: absolute; right: -35%; top: -12%; width: 75vw; height: 24vw; min-height: 180px; border-radius: 50%;
  background: radial-gradient(ellipse closest-side, rgba(255, 59, 59, .55), rgba(213, 0, 0, .22) 50%, transparent 100%);
  opacity: 0; animation: puff 18s linear infinite; will-change: transform, opacity;
}
.p2 { top: 2%; height: 18vw; animation-delay: -4.5s; animation-duration: 20s; }
.p3 { top: -22%; height: 28vw; animation-delay: -9s; animation-duration: 17s; }
.p4 { top: 10%; height: 16vw; animation-delay: -13.5s; animation-duration: 22s; }
.streak {
  position: absolute; right: -20%; top: 8%; width: 42vw; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 110, 110, .85), transparent); box-shadow: 0 0 10px rgba(255, 59, 59, .6);
  opacity: 0; animation: streak 7s linear infinite; will-change: transform, opacity;
}
.s2 { top: 22%; width: 30vw; animation-delay: -2.5s; animation-duration: 9s; }
.s3 { top: -4%; width: 36vw; height: 1px; animation-delay: -5s; animation-duration: 6s; }
@keyframes puff {
  0% { transform: translate3d(0, 0, 0) rotate(-30deg) scale(.75); opacity: 0; }
  15% { opacity: .9; } 75% { opacity: .55; }
  100% { transform: translate3d(-95vw, 55vw, 0) rotate(-30deg) scale(1.35); opacity: 0; }
}
@keyframes streak {
  0% { transform: translate3d(0, 0, 0) rotate(-30deg); opacity: 0; }
  15% { opacity: .7; } 70% { opacity: .4; }
  100% { transform: translate3d(-110vw, 64vw, 0) rotate(-30deg); opacity: 0; }
}
@keyframes breathe { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@media (max-width: 767px) { .p4, .s3 { display: none; } }
.hero-paused .smoke-source, .hero-paused .puff, .hero-paused .streak { animation-play-state: paused; }

@keyframes curtain { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
.hero-curtain { animation: curtain 1.2s ease .1s both; }
@keyframes wordIn { from { opacity: 0; transform: translateX(-40px); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
.word { display: inline-block; animation: wordIn 1s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(450ms + var(--i) * 90ms); }
.text-grad { background: linear-gradient(90deg, #FF3B3B, #D50000); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes fadeUp { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: none; } }
.hero-in { animation: fadeUp .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0ms); }

.live-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #FF3B3B; flex: none; }
.live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #FF3B3B; animation: ping 1.8s ease-out infinite; }

.js .reveal {
  opacity: 0; translate: 0 48px; filter: blur(8px);
  transition: opacity 1s cubic-bezier(.2, .7, .2, 1), translate 1s cubic-bezier(.2, .7, .2, 1), filter 1s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; translate: none; filter: none; }
[data-exit], #hero-copy, [data-parallax] { will-change: transform; }

.eyebrow { display: inline-flex; align-items: center; gap: .65rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; color: #FF4D4D; }
.eyebrow::before { content: ''; width: 1.5rem; height: 2px; border-radius: 2px; background: #D50000; }
.icon-chip {
  display: flex; flex: none; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .9rem;
  background: rgba(213, 0, 0, .12); border: 1px solid rgba(213, 0, 0, .35); color: #FF4D4D;
}

.ambient { position: relative; isolation: isolate; overflow: clip; }
.ambient::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 80vw; max-width: 900px; aspect-ratio: 1; max-height: 100%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(213, 0, 0, .11), transparent);
}
.glow-left::before { left: -35vw; top: 0; }
.glow-right::before { right: -35vw; top: 0; }

.bento-card { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease; }
.bento-card:hover { transform: translateY(-4px); border-color: rgba(213, 0, 0, .45); box-shadow: 0 26px 50px -20px rgba(0, 0, 0, .7), 0 0 40px -16px rgba(213, 0, 0, .45); }
[data-anim]:not(.live) *, [data-anim]:not(.live) *::before, [data-anim]:not(.live) *::after { animation-play-state: paused !important; }

@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.8); opacity: 0; } }

 

.js .tick { opacity: 0; transform: translateX(-12px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--t, 0) * 150ms + 200ms); }
.js .in-view .tick { opacity: 1; transform: none; }

#tl-fill { transform: scaleY(0); transform-origin: top; }
.tl-dot { transition: background-color .35s ease, border-color .35s ease, transform .35s ease, box-shadow .35s ease; }
.tl-step.passed .tl-dot { background: #D50000; border-color: #D50000; transform: scale(1.06); box-shadow: 0 0 20px -2px rgba(213, 0, 0, .7); }

.faq-item { transition: border-color .3s ease, background-color .3s ease; }
.faq-item.open { border-color: rgba(213, 0, 0, .45); }

.playing .play-cover { opacity: 0; pointer-events: none; }

.modal { opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.modal.open { opacity: 1; visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .reveal, .js .tick { opacity: 1; translate: none; transform: none; filter: none; transition: none; }
  
  .hero-curtain, .puff, .streak { display: none; }
  .bento-card, .bento-card:hover, .btn-glow, .btn-glow:hover { transition: none; transform: none; }
}
