/* Base */
:root {
  --ink: #f7f4ff;
  --muted: #cfc9ff;
  --accent: #a98cff;
  --accent-2: #6aa7ff;
  --bg-deep: #050512;
  --glass: rgba(10,10,30,.55);
  --glass-border: rgba(170,170,255,.25);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--ink);
  background: radial-gradient(1000px 600px at 50% 30%, #0b0b2a, #04040f 60%, #02020a 100%);
  overflow-x: hidden;
}

/* Spiral canvas lives behind everything */
#spiral {
  position: fixed;
  inset: 0;
  width: 100vw; height: 100vh;
  z-index: -1;
}

/* Layout */
.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.container.narrow { max-width: 760px; }

.hero {
  text-align: center;
  margin-bottom: 18px;
}
.hero .emblem {
  width: 140px; height: 140px; object-fit: cover; border-radius: 50%;
  box-shadow: 0 0 35px rgba(255,255,255,.15), 0 0 90px rgba(130,90,255,.22);
}
.hero.small .emblem { width: 110px; height: 110px; }
.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  margin: 14px 0 4px;
  letter-spacing: .02em;
}
.tag { color: var(--muted); margin: 0; }

.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 22px 22px;
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
}

.story h2 { margin-top: 0; }
.story p { line-height: 1.6; color: #eae7ff; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  color: white;
  border: 1px solid rgba(255,255,255,.2);
  text-decoration: none;
  background: rgba(120,120,200,.15);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  backdrop-filter: blur(3px);
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(120,120,200,.26);
  box-shadow: 0 10px 25px rgba(100,80,240,.28);
}
.btn.solid {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  font-weight: 700;
}
.btn.big { padding: 14px 24px; font-size: 1.05rem; }

.icon { width: 18px; height: 18px; }

.footer {
  text-align: center;
  padding: 28px 16px 46px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 36px;
}

.center { text-align: center; }
.link { color: var(--muted); text-decoration: none; }
.link:hover { color: var(--ink); text-decoration: underline; }

.smallprint { color: var(--muted); font-size: .95rem; }

/* Responsive */
@media (max-width: 520px) {
  .actions { gap: 10px; }
  .btn { width: 100%; justify-content: center; }
}
