:root {
  --bg: #080607;
  --panel: rgba(26, 11, 14, 0.76);
  --panel-strong: #16090c;
  --text: #f5eee9;
  --muted: #b9a8a3;
  --red: #b8152d;
  --red-bright: #ef2649;
  --red-dark: #5d0715;
  --gold: #d79c58;
  --border: rgba(255,255,255,.09);
  --shadow: 0 25px 80px rgba(0,0,0,.46);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(117, 10, 28, .15), transparent 32%),
    radial-gradient(circle at 90% 45%, rgba(132, 15, 24, .12), transparent 30%),
    var(--bg);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
  z-index: 99;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
#embers { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 80px);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: .3s ease;
}

.site-header.scrolled {
  background: rgba(8, 6, 7, .86);
  backdrop-filter: blur(18px);
  border-color: var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: .16em;
  font-weight: 800;
  font-size: 15px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--red-bright), var(--red-dark));
  border: 1px solid rgba(255,255,255,.17);
  box-shadow: 0 0 30px rgba(239, 38, 73, .22);
  font-family: "Pirata One", serif;
  font-size: 28px;
  clip-path: polygon(50% 0, 92% 20%, 84% 82%, 50% 100%, 16% 82%, 8% 20%);
}

.nav-links { display: flex; align-items: center; gap: 33px; }
.nav-links a {
  color: #d8cbc7;
  font-size: 13px;
  font-weight: 600;
  transition: .2s ease;
}
.nav-links a:hover { color: white; }
.nav-links .nav-cta {
  border: 1px solid rgba(239, 38, 73, .5);
  padding: 10px 17px;
  color: white;
  background: rgba(184, 21, 45, .12);
}

.menu-toggle { display: none; background: none; border: 0; padding: 7px; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: white; margin: 5px 0; }

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  padding: 120px clamp(24px, 8vw, 145px) 90px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,6,7,.1), rgba(8,6,7,.58)),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(255,255,255,.025) 120px),
    repeating-linear-gradient(0deg, transparent 0 119px, rgba(255,255,255,.018) 120px);
}

.hero-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  right: -120px;
  top: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 27, 57, .19), transparent 67%);
  filter: blur(14px);
}

.hero-content { position: relative; z-index: 4; max-width: 760px; }
.eyebrow, .kicker {
  color: var(--gold);
  letter-spacing: .25em;
  font-size: 11px;
  font-weight: 800;
}
.eyebrow { display: flex; align-items: center; gap: 14px; }
.eyebrow span { width: 33px; height: 1px; background: var(--gold); }

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 23px 0 24px;
  font-family: "Pirata One", Georgia, serif;
  font-weight: 400;
  font-size: clamp(58px, 7.3vw, 116px);
  line-height: .84;
  letter-spacing: .005em;
  text-shadow: 0 12px 45px rgba(0,0,0,.75);
}
h1 em { color: var(--red-bright); font-style: normal; }
.hero-content > p {
  color: var(--muted);
  max-width: 620px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.8;
}

.hero-actions { margin-top: 36px; display: flex; gap: 13px; align-items: stretch; flex-wrap: wrap; }
.hero-actions.centered { justify-content: center; }
.btn {
  min-height: 58px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 27px;
  color: white;
  background: transparent;
  cursor: pointer;
  transition: .25s ease;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
  transition: transform .6s ease;
}
.btn:hover::after { transform: translateX(110%) skewX(-20deg); }
.btn-primary {
  gap: 13px;
  border-color: rgba(255,78,103,.38);
  background: linear-gradient(135deg, #be1732, #720b1c);
  box-shadow: 0 14px 45px rgba(184,21,45,.28);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 19px 55px rgba(184,21,45,.4); }
.btn-secondary { background: rgba(255,255,255,.035); backdrop-filter: blur(8px); }
.btn-secondary:hover { background: rgba(255,255,255,.09); transform: translateY(-3px); }
.button-icon { font-size: 17px; }
.btn small, .btn strong { display: block; text-align: left; }
.btn small { font-size: 9px; letter-spacing: .18em; opacity: .72; }
.btn strong { margin-top: 3px; font-size: 13px; }

.hero-note {
  margin-top: 19px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #91827e;
  font-size: 12px;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #59db88; box-shadow: 0 0 16px #59db88;
}

.portal-wrap {
  min-height: 610px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 3;
}
.portal {
  width: clamp(260px, 30vw, 440px);
  aspect-ratio: .68;
  position: relative;
  border-radius: 46% 46% 4% 4% / 30% 30% 4% 4%;
  padding: 25px;
  background:
    linear-gradient(120deg, #28171a, #050304 38%, #49111d 65%, #11080a);
  box-shadow:
    0 0 0 2px #401019,
    0 0 0 13px #11080a,
    0 0 70px rgba(220,26,54,.24),
    inset 0 0 50px #000;
  animation: portalFloat 6s ease-in-out infinite;
}
.portal::before, .portal::after {
  content: "";
  position: absolute;
  width: 43px;
  height: 95%;
  bottom: -14px;
  background: linear-gradient(#3a151a, #090405);
  z-index: -1;
}
.portal::before { left: -45px; transform: skewY(-7deg); }
.portal::after { right: -45px; transform: skewY(7deg); }
.portal-inner {
  width: 100%; height: 100%;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(255,111,112,.35), transparent 24%),
    repeating-linear-gradient(165deg, rgba(255,68,90,.11) 0 5px, transparent 5px 18px),
    radial-gradient(ellipse, #a10e28 0%, #4f0918 40%, #17050a 74%);
  box-shadow: inset 0 0 65px #ff2348, inset 0 0 120px #160308;
  overflow: hidden;
  animation: portalPulse 3.3s ease-in-out infinite;
}
.portal-core {
  position: absolute;
  inset: 20% 23%;
  border-radius: 50%;
  border: 1px solid rgba(255,146,155,.16);
  box-shadow: 0 0 80px rgba(255,30,66,.4), inset 0 0 80px rgba(255,30,66,.2);
}
.portal-rune {
  position: absolute;
  color: rgba(229,70,88,.5);
  font-size: 36px;
  text-shadow: 0 0 25px #e02543;
  animation: runePulse 2.5s ease-in-out infinite alternate;
}
.rune-one { left: 5%; top: 23%; }
.rune-two { right: 4%; bottom: 26%; animation-delay: -1s; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 23px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  color: #766966; font-size: 9px; letter-spacing: .22em; z-index: 4;
}
.scroll-hint i { width: 1px; height: 28px; background: linear-gradient(var(--red-bright), transparent); }

.section { padding: 125px clamp(24px, 8vw, 145px); position: relative; z-index: 2; }
.section-heading { max-width: 660px; margin-bottom: 58px; }
.section-heading h2, .status-copy h2, .cta-content h2 {
  margin: 13px 0 16px;
  font-family: "Pirata One", serif;
  font-size: clamp(43px, 5vw, 70px);
  font-weight: 400;
}
.section-heading p { color: var(--muted); line-height: 1.8; font-size: 16px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  min-height: 340px;
  position: relative;
  padding: 34px 28px;
  border: 1px solid var(--border);
  background: linear-gradient(155deg, rgba(33,15,18,.8), rgba(13,8,9,.84));
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: .3s ease;
}
.feature-card::before {
  content: ""; position: absolute; inset: auto 0 0;
  height: 2px; background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
  opacity: 0; transition: .3s ease;
}
.feature-card:hover { transform: translateY(-8px); border-color: rgba(239,38,73,.28); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { color: var(--red-bright); font-size: 28px; margin-bottom: 65px; }
.feature-number { position: absolute; top: 25px; right: 25px; color: rgba(255,255,255,.12); font-size: 12px; }
.feature-card h3 { font-family: "Pirata One", serif; font-size: 33px; font-weight: 400; margin-bottom: 12px; }
.feature-card p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.feature-tag { position: absolute; bottom: 27px; color: var(--gold); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }

.status-section { padding: 25px clamp(24px, 8vw, 145px) 90px; position: relative; z-index: 2; }
.status-card {
  padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 55px;
  background:
    radial-gradient(circle at 5% 50%, rgba(188,23,48,.13), transparent 32%),
    linear-gradient(120deg, #16090c, #0d0809);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: var(--shadow);
}
.status-copy h2 { font-size: 48px; margin-bottom: 8px; }
.status-copy p { color: var(--muted); margin-bottom: 12px; }
.text-button { padding: 0; border: 0; background: none; color: var(--red-bright); cursor: pointer; font-size: 12px; }
.status-data { display: flex; align-items: center; gap: 27px; }
.status-data > div:not(.status-divider):not(.status-orb) { min-width: 85px; }
.status-label { display: block; color: #8e7e79; letter-spacing: .17em; font-size: 8px; margin-bottom: 7px; }
.status-data strong { font-size: 14px; }
.status-divider { width: 1px; height: 45px; background: var(--border); }
.status-orb { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #59464a; }
.status-orb span { width: 15px; height: 15px; border-radius: 50%; background: #88777b; }
.status-orb.online { border-color: rgba(70,214,124,.35); box-shadow: 0 0 30px rgba(70,214,124,.11); }
.status-orb.online span { background: #52d987; box-shadow: 0 0 16px #52d987; }
.status-orb.offline span { background: #e14d60; box-shadow: 0 0 16px rgba(225,77,96,.65); }

.journey { background: linear-gradient(180deg, transparent, rgba(97,7,20,.06), transparent); }
.steps { max-width: 980px; margin-left: auto; }
.step {
  display: grid; grid-template-columns: 85px 1fr;
  border-top: 1px solid var(--border);
  padding: 35px 0;
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step > span { color: var(--red-bright); font-family: "Pirata One", serif; font-size: 25px; }
.step h3 { margin-bottom: 8px; font-size: 19px; }
.step p { color: var(--muted); line-height: 1.7; font-size: 14px; max-width: 610px; }

.quote-section {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 80px 24px;
  position: relative;
  z-index: 2;
  background:
    linear-gradient(rgba(8,6,7,.75), rgba(8,6,7,.88)),
    radial-gradient(ellipse at center, #6d0a1c, #100508 65%);
}
.quote { text-align: center; }
.quote > span { font-family: Georgia, serif; color: var(--red-bright); font-size: 70px; line-height: .5; }
.quote p { font-family: "Pirata One", serif; font-size: clamp(38px, 5vw, 69px); line-height: 1.08; }
.quote small { color: var(--gold); letter-spacing: .23em; font-size: 9px; }

.faq-list { max-width: 860px; margin-left: auto; }
details { border-top: 1px solid var(--border); padding: 25px 0; }
details:last-child { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; list-style: none; font-weight: 700; display: flex; justify-content: space-between; }
summary::after { content: "+"; color: var(--red-bright); font-size: 20px; }
details[open] summary::after { content: "−"; }
details p { margin: 17px 30px 0 0; color: var(--muted); line-height: 1.75; font-size: 14px; }

.cta-section {
  padding: 130px 24px;
  text-align: center;
  position: relative; z-index: 2;
  background: radial-gradient(circle at 50% 100%, rgba(180,17,43,.21), transparent 50%);
}
.cta-content { max-width: 810px; margin: auto; }
.cta-content > p { max-width: 610px; margin: 0 auto; color: var(--muted); line-height: 1.75; }

footer {
  min-height: 115px;
  padding: 30px clamp(24px, 8vw, 145px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  border-top: 1px solid var(--border);
  position: relative; z-index: 2;
  background: #060405;
}
.footer-brand .brand-mark { width: 32px; height: 32px; font-size: 23px; }
footer p { margin: 0; color: #746864; font-size: 10px; }
.footer-links { display: flex; gap: 23px; color: #a89691; font-size: 11px; }

.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 25px);
  padding: 12px 18px;
  background: #f2e9e4; color: #19090c;
  border-radius: 4px; font-size: 12px; font-weight: 700;
  opacity: 0; pointer-events: none; transition: .25s ease;
  z-index: 200;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes portalFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-13px)} }
@keyframes portalPulse { 0%,100%{filter:brightness(.85)} 50%{filter:brightness(1.2)} }
@keyframes runePulse { from{opacity:.25;transform:scale(.92)} to{opacity:.8;transform:scale(1.08)} }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 145px; }
  .hero-content { margin: auto; }
  .eyebrow, .hero-note { justify-content: center; }
  .hero-actions { justify-content: center; }
  .portal-wrap { min-height: 430px; margin-top: 30px; }
  .portal { width: 265px; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .status-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .site-header { height: 68px; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; width: 100%;
    padding: 24px;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8,6,7,.97); border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; }
  .nav-links .nav-cta { margin-top: 9px; text-align: center; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero-content > p { font-size: 15px; }
  .btn { width: 100%; }
  .portal-wrap { min-height: 370px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 300px; }
  .status-card { padding: 32px 24px; }
  .status-data { width: 100%; flex-wrap: wrap; gap: 20px; }
  .status-divider { display: none; }
  .status-orb { width: 45px; height: 45px; }
  .section { padding-top: 90px; padding-bottom: 90px; }
  .step { grid-template-columns: 52px 1fr; }
  footer { flex-direction: column; text-align: center; }
}
