@import url('https://fonts.googleapis.com/css2?family=Butcherman&family=Special+Elite&display=swap');

:root {
  --cherry: #35000c;
  --cherry-2: #52000e;
  --blood: #aa001c;
  --blood-hi: #ff153b;
  --bone: #dbc7a3;
  --bone-hi: #f3e7cf;
  --cyan: #5de9ff;
  --cyan-2: #0aa9ff;
  --ink: #070307;
  --panel: rgba(11, 2, 8, 0.76);
  --line: rgba(230, 197, 157, 0.22);
  --glow: 0 0 32px rgba(58, 214, 255, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--cherry); }
body {
  margin: 0;
  color: var(--bone-hi);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 15, 54, .08), transparent 26%),
    radial-gradient(circle at 90% 72%, rgba(0, 185, 255, .05), transparent 24%),
    linear-gradient(180deg, #280008 0%, var(--cherry) 45%, #210006 100%);
  font-family: 'Special Elite', ui-monospace, Menlo, Consolas, monospace;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: -20%;
  z-index: -3;
  opacity: .2;
  background: repeating-radial-gradient(circle at center, rgba(0,0,0,.92) 0 10px, rgba(100,0,20,.4) 11px 26px);
  animation: rotateVoid 34s linear infinite;
  transform-origin: center;
}
body::after {
  content: '';
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 1px, transparent 1px 4px),
    radial-gradient(circle, transparent 48%, rgba(0,0,0,.55) 100%);
  mix-blend-mode: screen;
}

@keyframes rotateVoid { to { transform: rotate(360deg) scale(1.03); } }
@keyframes pulseEye { 50% { box-shadow: 0 0 60px rgba(65, 220, 255, .42); } }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes spiral { to { transform: rotate(-360deg) scale(1.03); } }
@keyframes flicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1 } 20%, 24%, 55% { opacity: .72 } }
@keyframes dropPop { 0% { opacity: 0; transform: translateY(20px) scale(.25) rotate(-12deg) } 12% { opacity: 1; transform: translateY(0) scale(1.06) rotate(5deg) } 82% { opacity: 1 } 100% { opacity: 0; transform: translateY(-28px) scale(.92) rotate(12deg) } }

::selection { background: var(--cyan); color: #160006; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(35, 0, 8, .95), rgba(35, 0, 8, .70));
  border-bottom: 1px solid rgba(255, 35, 72, .28);
}
.nav-inner { min-height: 76px; display: flex; align-items: center; gap: 22px; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.coin {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: repeating-radial-gradient(circle, var(--cyan) 0 3px, #0a2440 4px 7px);
  border: 2px solid var(--bone);
  color: white; box-shadow: var(--glow), inset 0 0 18px #031018;
  font-weight: 900; font-size: 11px; text-shadow: 0 2px 8px #000;
  animation: spiral 13s linear infinite;
}
.brand-text { font-family: 'Butcherman', fantasy; font-size: clamp(18px, 2vw, 28px); letter-spacing: .06em; color: var(--bone); text-shadow: 2px 2px 0 #600012, 0 0 18px rgba(255, 40, 70, .24); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { text-decoration: none; font-size: 13px; padding: 10px 12px; border: 1px solid transparent; border-radius: 12px; color: #eddcc0; transition: .18s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: rgba(93, 233, 255, .45); color: white; box-shadow: 0 0 20px rgba(93, 233, 255, .12); background: rgba(93,233,255,.055); }

.hero { position: relative; min-height: calc(100vh - 76px); display: grid; align-items: center; padding: 64px 0 86px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 12px; color: var(--cyan); margin-bottom: 14px; }
h1, h2, h3 { font-family: 'Butcherman', fantasy; font-weight: 400; margin: 0; line-height: .94; letter-spacing: .035em; }
h1 { font-size: clamp(64px, 9vw, 128px); text-shadow: 4px 4px 0 #650013, 0 0 34px rgba(255, 20, 55, .2); animation: flicker 8s infinite; }
h2 { font-size: clamp(46px, 6vw, 80px); text-shadow: 3px 3px 0 #650013; }
h3 { font-size: clamp(28px, 3.2vw, 42px); }
.lead { font-size: clamp(17px, 2vw, 22px); line-height: 1.55; color: #d8c7ae; max-width: 700px; }
.ticker-line { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 28px 0; }
.ticker {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px;
  color: #001c22; background: linear-gradient(180deg, #9ff5ff, #31c9ed); font-weight: 900;
  box-shadow: 0 0 28px rgba(42, 215, 255, .32), inset 0 1px 0 rgba(255,255,255,.7);
  transform: rotate(-1.5deg);
}
.tiny-note { color: #9f8e80; font-size: 12px; max-width: 460px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 18px; border: 1px solid rgba(230,197,157,.3); border-radius: 10px;
  background: rgba(9,2,7,.74); text-decoration: none; color: var(--bone-hi); cursor: pointer;
  font-weight: 800; letter-spacing: .04em; box-shadow: 0 7px 24px rgba(0,0,0,.28); transition: .16s ease;
}
.btn:hover { transform: translateY(-2px) rotate(-.35deg); border-color: rgba(93,233,255,.65); box-shadow: var(--glow); }
.btn.primary { background: linear-gradient(180deg, #b50022, #690012); border-color: #e44761; }
.btn.cyan { color: #001a20; background: linear-gradient(180deg, #8eefff, #27bdda); border-color: #a7f4ff; }
.btn-icon { width: 18px; height: 18px; display: inline-grid; place-items: center; font-size: 16px; }

.art-card { position: relative; border-radius: 30px 14px 34px 12px; overflow: hidden; border: 1px solid rgba(230,197,157,.25); background: #100307; box-shadow: 0 24px 80px rgba(0,0,0,.45), 0 0 60px rgba(120,0,25,.28); animation: float 7s ease-in-out infinite; }
.art-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.art-card::before { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 60px rgba(0,0,0,.55); pointer-events: none; }
.art-card::after { content: ''; position: absolute; width: 56%; aspect-ratio: 1; border-radius: 50%; right: -20%; top: -18%; background: repeating-radial-gradient(circle, transparent 0 8px, rgba(54,223,255,.17) 9px 13px); filter: blur(.2px); animation: spiral 13s linear infinite; mix-blend-mode: screen; }

.hypno-orb { width: min(76vw, 780px); aspect-ratio: 1; position: fixed; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: -2; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(0,0,0,.82) 0deg 14deg, rgba(118,0,24,.45) 15deg 29deg); mask-image: radial-gradient(circle, black 0 58%, transparent 72%); opacity: .30; animation: spiral 31s linear infinite; }

.section { padding: 90px 0; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.section-head p { max-width: 600px; color: #bba991; line-height: 1.55; margin: 0; }
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card { background: linear-gradient(180deg, rgba(22,3,10,.9), rgba(11,2,7,.78)); border: 1px solid var(--line); border-radius: 22px 8px 22px 8px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 16px 46px rgba(0,0,0,.22); position: relative; overflow: hidden; }
.card::after { content: ''; position: absolute; inset: auto -20% -70% 35%; height: 180px; background: radial-gradient(ellipse, rgba(57,213,255,.08), transparent 70%); pointer-events: none; }
.card p, .card li { color: #cbb9a2; line-height: 1.62; }
.card strong { color: var(--bone-hi); }

.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.stat { padding: 20px; border: 1px solid var(--line); border-radius: 18px 6px 18px 6px; background: rgba(9,2,7,.66); }
.stat b { display: block; color: var(--cyan); font-family: 'Butcherman', fantasy; font-size: 30px; letter-spacing: .06em; }
.stat span { color: #a99580; font-size: 12px; }

.page-hero { padding: 70px 0 40px; }
.page-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: center; }
.page-grid .art-card { max-width: 520px; }
.kicker { color: var(--cyan); text-transform: uppercase; letter-spacing: .22em; font-size: 12px; }

.lore-copy { font-size: clamp(18px,2vw,22px); line-height: 1.75; color: #d7c6ad; }
.lore-copy:first-letter { font-family: 'Butcherman'; float:left; font-size: 74px; line-height:.8; margin: 8px 10px 0 0; color: var(--cyan); text-shadow: 0 0 24px rgba(67,227,255,.28); }

.roadmap { position: relative; margin-top: 25px; }
.road-step { display: grid; grid-template-columns: 74px 1fr; gap: 20px; align-items: start; margin-bottom: 20px; }
.road-num { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--cyan); display: grid; place-items: center; font-family: 'Butcherman'; font-size: 28px; color: var(--cyan); background: #16030a; box-shadow: 0 0 24px rgba(76,224,255,.15); }
.road-step .card { padding: 22px 26px; }

.chart-shell { background: #080307; border: 1px solid rgba(93,233,255,.23); border-radius: 20px; overflow: hidden; box-shadow: var(--glow); }
.chart-shell iframe { display:block; width:100%; height: 610px; border:0; background:#09060a; }
.chart-caption { padding: 12px 16px; font-size: 12px; color: #978575; border-top:1px solid var(--line); }

.game-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 26px; align-items: start; }
.game-frame { background: #090306; border: 1px solid rgba(255, 45, 72, .32); border-radius: 24px 8px 24px 8px; padding: 14px; box-shadow: 0 0 55px rgba(165,0,35,.22); }
#snakeGame { display:block; width:100%; aspect-ratio:1; background: radial-gradient(circle at center, #16030a, #060104 72%); border-radius: 16px 5px 16px 5px; image-rendering: pixelated; }
.game-status { display:flex; justify-content:space-between; gap:10px; color:#bba78f; font-size:13px; margin-top:10px; padding:0 4px; }
.game-status b { color: var(--cyan); }

.social-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.social-bar a { flex: 1 1 150px; }

.blood-sticker {
  position: fixed; z-index: 150; width: 76px; height: 96px; pointer-events: none; opacity: 0;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.45));
  animation: dropPop 4.2s ease forwards;
}
.blood-sticker::before {
  content:''; position:absolute; width:62px; height:62px; left:7px; bottom:6px;
  background: radial-gradient(circle at 38% 30%, #ff2447 0 8%, #c70024 35%, #750011 76%);
  border-radius: 52% 48% 58% 42% / 63% 50% 50% 37%;
  transform: rotate(45deg); border:3px solid rgba(255,168,181,.38); box-shadow: inset -10px -12px 18px rgba(40,0,6,.3), 0 0 30px rgba(255,20,60,.25);
}
.blood-sticker::after { content:'HYPNO'; position:absolute; left:9px; bottom:32px; width:58px; text-align:center; transform: rotate(-6deg); color:#fff0e9; font-family:'Butcherman'; font-size:12px; letter-spacing:.08em; text-shadow:1px 1px 0 #4a000a; }

.footer { border-top: 1px solid rgba(230,197,157,.12); padding: 34px 0 50px; color: #806e61; font-size: 12px; }
.footer-row { display:flex; justify-content:space-between; gap:24px; align-items:center; flex-wrap:wrap; }

.sigil { display:inline-block; width:18px; aspect-ratio:1; border-radius:50%; background:repeating-radial-gradient(circle, var(--cyan) 0 2px, transparent 3px 5px); box-shadow: 0 0 10px rgba(93,233,255,.4); vertical-align:-3px; margin-right:7px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(230,197,157,.18), transparent); margin: 18px 0; }

@media (max-width: 900px) {
  .nav-inner { align-items:flex-start; padding:12px 0; flex-direction:column; }
  .nav-links { justify-content:flex-start; }
  .hero { min-height:auto; padding-top:48px; }
  .hero-grid, .page-grid, .game-layout { grid-template-columns: 1fr; }
  .page-grid .art-card { order:-1; max-width: 620px; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .grid.three { grid-template-columns:1fr; }
}
@media (max-width: 620px) {
  .shell { width:min(100% - 22px, 1180px); }
  .nav-links a { padding:8px 9px; }
  h1 { font-size: clamp(52px, 17vw, 86px); }
  .grid.two { grid-template-columns: 1fr; }
  .chart-shell iframe { height: 500px; }
  .section { padding: 62px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  body::before, .hypno-orb { animation: none !important; }
}
