/* Color system */
:root {
  --bg: #0a0a0a;
  --bg-elev: #0f0f10;
  --text: #e6e6ea;
  --muted: #9a9aa3;
  --blood: #d3003f;
  --crimson: #7a001e;
  --bone: #f1efe6;
  --accent: #9a0000;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(10,10,10,0.9), rgba(10,10,10,0.6) 60%, rgba(10,10,10,0));
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo { width: 34px; height: 34px; border-radius: 8px; }
.brand-name { font-weight: 800; letter-spacing: 0.1em; color: var(--text); }
.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  transition: color .2s ease;
}
.nav a:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative;
  padding: 112px 0 86px;
  overflow: hidden;
}
.hero .container.hero-inner { position: relative; z-index: 1; }
.hero::before {
  /* Subtle grain */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 600px at 70% -10%, rgba(211,0,63,0.18), transparent 60%),
              radial-gradient(900px 460px at 10% 10%, rgba(122,0,30,0.18), transparent 60%),
              radial-gradient(600px 400px at 90% 60%, rgba(154,0,0,0.16), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-inner { text-align: center; position: relative; }
.hero-title { display: inline-grid; grid-auto-flow: column; align-items: center; gap: 12px; }
.hero-side { width: clamp(38px, 6vw, 72px); height: clamp(38px, 6vw, 72px); border-radius: 14px; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.6)); }
.hero-side.left { transform: rotate(-4deg); }
.hero-side.right { transform: rotate(4deg); }
.hero-bg { position: absolute; inset: -20% -10% -10% -10%; z-index: -1; filter: blur(48px); }
.bg-orb { position: absolute; border-radius: 50%; opacity: 0.5; }
.orb-1 { width: 40vw; height: 40vw; background: #33000e; left: -10%; top: -6%; }
.orb-2 { width: 46vw; height: 46vw; background: #19000a; right: -18%; top: -16%; }
.orb-3 { width: 42vw; height: 42vw; background: #200008; left: 10%; bottom: -20%; }

.glitch {
  font-family: Creepster, Inter, system-ui;
  font-size: clamp(42px, 8.2vw, 140px);
  line-height: 0.88;
  letter-spacing: 0.04em;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 28px rgba(211,0,63,0.45), 0 0 8px rgba(154,0,0,0.35);
  animation: jitter 1.2s infinite steps(2) alternate;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.glitch::before { color: rgba(211,0,63,0.9); transform: translate(3px, 0); mix-blend-mode: lighten; animation: shift 2.4s infinite cubic-bezier(.2,.8,.2,1); filter: blur(.2px); }
.glitch::after { color: rgba(154,0,0,0.9); transform: translate(-3px, 0); mix-blend-mode: lighten; animation: shift 2s infinite cubic-bezier(.2,.8,.2,1) reverse; filter: blur(.2px); }
@keyframes shift {
  0% { transform: translate(0,0); }
  8% { transform: translate(3px,-2px); }
  16% { transform: translate(-3px,2px); }
  24% { transform: translate(4px,0); }
  32% { transform: translate(-4px,0); }
  40% { transform: translate(5px,-2px); }
  50% { transform: translate(-5px,2px); }
  62% { transform: translate(2px,-1px); }
  74% { transform: translate(-2px,1px); }
  86% { transform: translate(1px,0); }
  100% { transform: translate(0,0); }
}
@keyframes jitter {
  0% { transform: translate3d(0,0,0) skewX(0deg); opacity: 1; }
  20% { transform: translate3d(-0.5px,0.4px,0) skewX(0.2deg); opacity: 0.98; }
  40% { transform: translate3d(0.7px,-0.6px,0) skewX(-0.2deg); opacity: 1; }
  60% { transform: translate3d(-0.6px,0.5px,0) skewX(0.3deg); opacity: 0.99; }
  80% { transform: translate3d(0.5px,-0.4px,0) skewX(-0.2deg); opacity: 1; }
  100% { transform: translate3d(0,0,0) skewX(0deg); opacity: 1; }
}

.subtitle { color: var(--muted); margin: 16px auto 28px; max-width: 720px; }
.cta { display: flex; justify-content: center; gap: 14px; }
.btn { padding: 12px 18px; border-radius: 12px; border: 1px solid #222; text-decoration: none; transition: all .2s ease; }
.btn-primary { background: linear-gradient(180deg, #2a000b, #120007); color: var(--bone); border-color: #400016; box-shadow: inset 0 0 0 1px rgba(211,0,63,0.35), 0 10px 30px rgba(211,0,63,0.2); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(211,0,63,0.55), 0 18px 36px rgba(211,0,63,0.28); }
.btn-ghost { background: #0f0f10; color: var(--text); border-color: #222; }
.btn-ghost:hover { border-color: #444; }

.socials { margin-top: 16px; display: flex; gap: 16px; justify-content: center; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: #e9e9ee; border: 1px solid #bdbdc7; text-decoration: none; transition: transform .15s ease, box-shadow .2s ease; }
.social:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,0.25); }
.social svg { width: 18px; height: 18px; display: block; fill: #111; }

/* Sections */
.section { padding: 86px 0; }
.section-title { font-family: Creepster, Inter, system-ui; letter-spacing: 0.06em; font-size: clamp(26px, 4.2vw, 52px); margin: 0 0 22px; text-shadow: 0 0 16px rgba(154,0,0,0.35); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.span-3 { grid-column: 1 / -1; }

.feature-list { margin: 14px 0 0; padding-left: 18px; color: var(--muted); }
.feature-list.badges li { list-style: none; margin-left: 0; }
.lead { color: #cfcfd6; font-size: 15px; }
.lore-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; color: var(--muted); margin-top: 10px; }
.lore-quote { margin: 16px 0 0; padding: 12px 14px; border-left: 3px solid rgba(211,0,63,0.35); color: #d8d8de; background: linear-gradient(180deg, #0f0f10, #0a0a0a); border-radius: 8px; }
.about-card { background: linear-gradient(180deg, #0f0f10, #0a0a0a); border: 1px solid #18181a; border-radius: 16px; padding: 24px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 0 60px rgba(211,0,63,0.05); }
.about-logo { width: 120px; height: 120px; border-radius: 20px; display: block; margin: 0 auto 12px; }
.sigil-copy { color: var(--muted); }

.token-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.token-card { background: #0f0f10; border: 1px solid #1c1c20; border-radius: 14px; padding: 18px; text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,0.45); }
.metric { font-size: 28px; font-weight: 800; letter-spacing: 0.02em; color: var(--bone); }
.label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; margin-top: 6px; }
.disclaimer { color: var(--muted); margin-top: 12px; font-size: 12px; }

.roadmap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.phase { background: linear-gradient(180deg, #0f0f10, #0a0a0a); border: 1px solid #18181a; border-radius: 16px; padding: 18px; box-shadow: 0 14px 44px rgba(0,0,0,0.45); }
.phase-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.phase-badge { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; background: radial-gradient(circle at 40% 35%, #2a000b, #120007); box-shadow: inset 0 0 0 1px rgba(211,0,63,0.3), 0 8px 20px rgba(211,0,63,0.18); font-size: 16px; }
.roadmap-list h3 { margin: 0; font-size: 18px; }
.phase-points { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }

.how-step { background: #0f0f10; border: 1px solid #1c1c20; border-radius: 14px; padding: 18px; box-shadow: 0 12px 40px rgba(0,0,0,0.45); }
.step-emoji { font-size: 22px; display: inline-block; margin-bottom: 6px; }

.faq .faq-list { display: grid; gap: 12px; }
.faq details { background: #0f0f10; border: 1px solid #1c1c20; border-radius: 12px; padding: 12px 16px; }
.faq summary { cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] { border-color: #2a2a30; box-shadow: inset 0 0 0 1px rgba(211,0,63,0.15); }
.faq p { color: var(--muted); margin: 10px 0 4px; }

/* Footer */
.site-footer { padding: 36px 0 52px; border-top: 1px solid #161617; background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0) 60%); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo { width: 28px; height: 28px; border-radius: 8px; }
.footer-name { font-weight: 700; letter-spacing: 0.08em; }
.footer-links a { margin-left: 14px; text-decoration: none; }
.footer-links .social { width: 32px; height: 32px; background: #e9e9ee; border: 1px solid #bdbdc7; }
.footer-links .social svg { width: 16px; height: 16px; fill: #111; }
.copyright { color: #6b6b73; font-size: 12px; }

/* Custom cursor */
#cursor-core, #cursor-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 100; mix-blend-mode: difference; }
#cursor-core { width: 6px; height: 6px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }
#cursor-ring { width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.65); transform: translate(-50%, -50%); transition: width .2s ease, height .2s ease, border-color .2s ease; }
button, a, summary { cursor: none; }
body { cursor: none; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; }
  .token-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .lore-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav { display: none; }
  .token-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-side { display: none; }
}


