:root{
  --bg:#f0efe7;
  --bg-alt:#faeeb9;
  --ink:#f5f6ff;
  --muted:rgb(0, 0, 0);
  --surface:rgba(14, 16, 26, 0.849);
  --surface-back:rgba(14, 16, 26, 0.377);
  --surface-strong:rgba(20,22,32,.82);
  --surface-soft:rgba(8,10,18,.6);
  --accent:#8a96ff;
  --accent-soft:rgba(138,150,255,.26);
  --accent-bright:#cad1ff;
  --border:rgba(255,255,255,.08);
  --shadow:0 24px 68px rgba(0,0,0,.68);
  --radius-lg:24px;
  --radius-md:18px;
  --radius-sm:12px;
  --blur:26px;
}

*,
*::before,
*::after{box-sizing:border-box}

html,body{height:100%}

body{
  display:flex;
  flex-direction:column;
  min-height:100dvh;
  margin:0;
  padding-bottom:120px;
  color:var(--ink);
  font-family:"Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight:300;
  letter-spacing:.01em;
  background:
    radial-gradient(circle at 12% 28%, rgba(219, 210, 193, 0.16), transparent 54%),
    radial-gradient(circle at 88% 12%, rgba(218, 192, 136, 0.12), transparent 60%),
    linear-gradient(140deg, var(--bg-alt), var(--bg) 45%, #ececf3 100%);
  overflow-x:hidden;
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.015) 0 1px, transparent 1px 3px);
  opacity:.2;
  pointer-events:none;
  z-index:1;
  mix-blend-mode:soft-light;
}

.unicorn-stage{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
}
.unicorn-stage > div{
  width:100%;
  height:100%;
}
.darken{
  position:fixed;
  inset:-40px;
  pointer-events:none;
  z-index:1;
  opacity:.05;
  mix-blend-mode:normal;
  background-color: #000;
}
.noise{
  position:fixed;
  inset:-40px;
  pointer-events:none;
  z-index:300;
  opacity:.2;
  mix-blend-mode:overlay;
  animation:noisePulse .8s steps(30) infinite;
  background-image: url("./blue_noise_med.png");
  background-color: #000;
}
@keyframes noisePulse{
  to{transform:translate3d(-18px,14px,0)}
}

.scanlines{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:2;
  background:repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 2px, rgba(0,0,0,0) 2px 4px);
  opacity:.2;
  mix-blend-mode:overlay;
}

.button{
  position:relative;
  overflow:hidden;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 18px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  color:var(--ink);
  font-weight:400;
  font-size:.86rem;
  text-transform:uppercase;
  letter-spacing:.26em;
  background:rgba(255,255,255,.04);
  box-shadow:0 6px 18px rgba(0,0,0,.32);
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  text-decoration: none;
}
.button:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 42px rgba(0,0,0,.44);
}
.button.primary{
  background:linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 223, 186, 0.9), rgba(255, 215, 0, 0.6));
  border:2px solid rgba(255, 215, 0, 0.5);
  box-shadow:0 18px 48px rgba(255, 215, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.2);
  color: #2c2c2c;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}
.button.primary:hover{
  background:linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 235, 200, 1), rgba(255, 225, 50, 0.7));
  box-shadow:0 24px 56px rgba(255, 215, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.3);
  transform:translateY(-3px);
}

.muted{
  color:var(--muted);
  font-size: 18px;
  font-weight: 600;
  margin:0;
}

.footer{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:9;
  border-top:1px solid rgba(255, 240, 35, 0.08);
  background:rgba(233, 218, 171, 0);
}
.footer .inner{
  max-width:960px;
  margin:0 auto;
  padding:18px clamp(16px, 5vw, 36px);
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
}

.footer-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  flex-grow: 1;
  justify-content: space-between;
}

@media (max-width:720px){
  .button{
    width:100%;
    justify-content:center;
  }
}

@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation:none !important;
    transition:none !important;
  }
}
