:root {
  --bg: #07080d;
  --ink: #f6efe4;
  --muted: rgba(246, 239, 228, 0.62);
  --copper: #e39a45;
  --amber: #ffc36a;
  --line: rgba(255, 210, 140, 0.22);
  --glass: rgba(8, 9, 14, 0.42);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: Outfit, system-ui, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

#about,
#rise {
  scroll-margin-top: 8px;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #05060a url("assets/og.jpg") center / cover no-repeat;
}

.stage iframe {
  position: absolute;
  border: 0;
  width: 140%;
  height: 128%;
  left: -28%;
  top: -10%;
  pointer-events: none;
}

.mask-bl {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  width: min(52vw, 760px);
  height: 42vh;
  pointer-events: none;
  background:
    linear-gradient(90deg, #07080d 0%, #07080d 74%, rgba(7, 8, 13, 0.55) 88%, transparent 100%),
    linear-gradient(0deg, #07080d 0%, transparent 82%);
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 6, 10, 0.55) 0%, rgba(5, 6, 10, 0.05) 22%, rgba(5, 6, 10, 0.05) 58%, rgba(5, 6, 10, 0.72) 100%);
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  background: #07080d;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.boot img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 40px rgba(227, 154, 69, 0.35);
}

.boot span {
  font-family: Orbitron, sans-serif;
  letter-spacing: 0.42em;
  font-size: 13px;
  padding-left: 0.42em;
}

.boot.is-gone {
  opacity: 0;
  visibility: hidden;
}

.nav,
.hero,
.toast {
  position: relative;
  z-index: 2;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: linear-gradient(180deg, rgba(7, 8, 13, 0.72), rgba(7, 8, 13, 0));
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Orbitron, sans-serif;
  font-weight: 700;
  letter-spacing: 0.28em;
  font-size: 13px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 195, 106, 0.28);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ca-pill,
.x-btn,
.ca-box,
.btn {
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.ca-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
}

.ca-pill em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--amber);
}

.ca-pill code {
  font-family: Outfit, sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.x-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.x-btn:hover,
.ca-pill:hover,
.btn:hover,
.ca-box:hover {
  border-color: rgba(255, 195, 106, 0.55);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 20px 88px;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(920px, 96vw);
  height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(7, 8, 13, 0.72), rgba(7, 8, 13, 0.28) 58%, transparent 76%);
  pointer-events: none;
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 12px var(--copper);
  animation: pulse 1.8s ease-in-out infinite;
}

.wordmark {
  font-family: Orbitron, sans-serif;
  font-weight: 900;
  font-size: clamp(72px, 18vw, 180px);
  letter-spacing: 0.08em;
  line-height: 0.9;
  color: #ffe7c2;
  -webkit-text-fill-color: #ffe7c2;
  text-shadow:
    0 0 28px rgba(255, 179, 80, 0.45),
    0 18px 50px rgba(0, 0, 0, 0.55);
}

.wordmark span {
  display: inline-block;
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.wordmark span:nth-child(2) { animation-delay: 0.08s; }
.wordmark span:nth-child(3) { animation-delay: 0.16s; }
.wordmark span:nth-child(4) { animation-delay: 0.24s; }

.tagline {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 400;
}

.ca-box {
  margin-top: 34px;
  min-width: min(520px, 92vw);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.ca-label,
.ca-hint {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.ca-box code {
  font-family: Outfit, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cta {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: inherit;
  font-size: 16px;
  color: inherit;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, #ffd089, #d8882e);
  color: #1a1004;
  border-color: transparent;
}

.btn-ghost {
  color: var(--ink);
}

.btn.is-soon {
  opacity: 0.78;
  cursor: default;
}

.scroll-hint {
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  animation: bob 2.4s ease-in-out infinite;
}

.about {
  position: relative;
  z-index: 3;
  background: rgba(7, 8, 13, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.about-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 88px 22px 96px;
}

.about-kicker {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.about-kicker.reveal { --d: 0ms; }
.about h2.reveal { --d: 90ms; }
.about-lede.reveal { --d: 180ms; }

.about h2 {
  font-family: Orbitron, sans-serif;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #ffe7c2;
  max-width: 16ch;
}

.about-lede {
  margin-top: 20px;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

.about-next {
  display: inline-flex;
  margin-top: 48px;
  animation: none;
}

.about-next:hover {
  color: var(--amber);
}

.feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.feat {
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 210, 140, 0.04);
}

.feat:nth-child(1) { --d: 0ms; }
.feat:nth-child(2) { --d: 90ms; }
.feat:nth-child(3) { --d: 180ms; }
.feat:nth-child(4) { --d: 60ms; }
.feat:nth-child(5) { --d: 150ms; }
.feat:nth-child(6) { --d: 240ms; }

.feat.is-in {
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.feat.is-in:hover {
  transform: translate3d(0, -8px, 0);
  border-color: rgba(255, 195, 106, 0.5);
  background: rgba(255, 210, 140, 0.09);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.38);
}

.feat span {
  display: block;
  font-family: Orbitron, sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--amber);
  margin-bottom: 12px;
}

.feat h3 {
  font-size: 18px;
  font-weight: 650;
  margin-bottom: 8px;
}

.feat p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.finale {
  position: relative;
  z-index: 3;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 90% 62% at 50% 118%, rgba(227, 154, 69, 0.3), transparent 58%),
    rgba(7, 8, 13, 0.97);
  border-top: 1px solid var(--line);
}

.finale-sun {
  position: absolute;
  left: 50%;
  bottom: -38%;
  z-index: 0;
  width: min(920px, 150vw);
  height: min(920px, 150vw);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 210, 140, 0.42) 0%, rgba(227, 154, 69, 0.16) 36%, transparent 68%);
  transform: translate3d(-50%, 48px, 0) scale(0.84);
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.finale.is-in .finale-sun {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
  animation: sun-breathe 8s ease-in-out 1.2s infinite;
}

.finale-rays {
  position: absolute;
  inset: auto 0 -10%;
  height: 70%;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-conic-gradient(
      from 180deg at 50% 100%,
      rgba(255, 195, 106, 0.07) 0deg 6deg,
      transparent 6deg 18deg
    );
  mask-image: linear-gradient(180deg, transparent 0%, #000 48%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 48%, transparent 100%);
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 1.6s ease, transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.finale.is-in .finale-rays {
  opacity: 1;
  transform: none;
}

.finale-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 108px 22px 28px;
  text-align: center;
}

.finale-kicker {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.finale-kicker.reveal { --d: 0ms; }
.finale h2.reveal { --d: 100ms; }
.finale-lede.reveal { --d: 180ms; }
.finale-quote.reveal { --d: 80ms; }
.finale-cta.reveal { --d: 160ms; }
.finale-mark.reveal { --d: 220ms; }

.finale h2 {
  font-family: Orbitron, sans-serif;
  font-size: clamp(28px, 5.4vw, 56px);
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: #ffe7c2;
}

.finale-lede {
  margin: 22px auto 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

.finale-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 760px;
  margin: 48px auto 0;
}

.finale-stats .stat:nth-child(1) { --d: 0ms; }
.finale-stats .stat:nth-child(2) { --d: 110ms; }
.finale-stats .stat:nth-child(3) { --d: 220ms; }

.stat {
  padding: 22px 12px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 210, 140, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stat b {
  display: block;
  font-family: Orbitron, sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  color: #ffe7c2;
  letter-spacing: 0.04em;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.finale-quote {
  margin: 40px auto 0;
  max-width: 28ch;
  font-family: Orbitron, sans-serif;
  font-size: clamp(16px, 2.2vw, 22px);
  letter-spacing: 0.08em;
  line-height: 1.45;
  color: var(--amber);
  border: 0;
}

.finale-cta {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.finale-cta .btn {
  font-family: Outfit, system-ui, sans-serif;
}

.finale-mark {
  margin-top: 72px;
  font-family: Orbitron, sans-serif;
  font-weight: 900;
  font-size: clamp(72px, 20vw, 200px);
  letter-spacing: 0.08em;
  line-height: 0.82;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 195, 106, 0.28);
  user-select: none;
}

.foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 16px 40px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.foot a {
  color: var(--amber);
}

.foot a:hover {
  color: var(--ink);
}

.sep {
  opacity: 0.5;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(8, 9, 14, 0.78);
  border: 1px solid var(--line);
  font-size: 13px;
}

.toast[hidden] {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.finale-mark.reveal {
  transform: translate3d(0, 28px, 0) scale(0.94);
}

.finale-mark.reveal.is-in {
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%,
  100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

@keyframes bob {
  0%,
  100% { transform: translateY(0); opacity: 0.62; }
  50% { transform: translateY(8px); opacity: 1; }
}

@keyframes sun-breathe {
  0%,
  100% { transform: translate3d(-50%, 0, 0) scale(1); opacity: 1; }
  50% { transform: translate3d(-50%, -12px, 0) scale(1.05); opacity: 0.88; }
}

@media (max-width: 900px) {
  .feats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .mask-bl {
    display: none;
  }
  .ca-pill code {
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .wordmark {
    letter-spacing: 0.04em;
  }
  .hero {
    min-height: 100svh;
    padding-bottom: 88px;
  }
  .feats {
    grid-template-columns: 1fr;
  }
  .about-inner {
    padding-top: 64px;
    padding-bottom: 72px;
  }
  .finale-inner {
    padding-top: 80px;
  }
  .finale-stats {
    grid-template-columns: 1fr;
  }
  .finale-mark {
    margin-top: 48px;
  }
  .foot-sep-end {
    display: none;
  }
  .foot-back {
    flex-basis: 100%;
    text-align: center;
    margin-top: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .finale-sun,
  .finale-rays,
  .wordmark span,
  .scroll-hint,
  .dot {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
