:root {
  --bg-0: #181818;
  --bg-1: #212121;
  --bg-2: #2f2f2f;
  --bg-3: #3c3c3c;
  --text: #ececec;
  --muted: #c9c9c9;
  --muted-cold: #c5cad1;
  --red: #c7182f;
  --red-bright: #dd2940;
  --red-soft: rgba(199, 24, 47, 0.26);
  --red-faint: rgba(199, 24, 47, 0.09);
  --glass: rgba(218, 228, 241, 0.32);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1400px 520px at 50% 78%, rgba(255,255,255,0.04), transparent 58%),
    radial-gradient(1100px 440px at 50% 100%, rgba(199,24,47,0.065), transparent 52%),
    linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 34%, var(--bg-1) 70%, var(--bg-0) 100%);
  overflow: hidden;
  position: relative;
}
body#mentions{
  height: auto;
  overflow: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.11)),
    radial-gradient(circle at 50% 10%, rgba(255,255,255,0.02), transparent 35%);
  animation: luminance 26s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes luminance {
  0% { opacity: 0.75; }
  100% { opacity: 1; }
}

.noise {
  position: fixed;
  inset: 0;
  opacity: 0.055;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(255,255,255,0.75) 0.45px, transparent 0.8px),
    radial-gradient(circle at 82% 52%, rgba(255,255,255,0.55) 0.5px, transparent 0.9px),
    radial-gradient(circle at 42% 72%, rgba(255,255,255,0.38) 0.45px, transparent 0.8px),
    radial-gradient(circle at 62% 20%, rgba(255,255,255,0.3) 0.4px, transparent 0.8px);
  background-size: 180px 180px, 240px 240px, 280px 280px, 300px 300px;
  mix-blend-mode: screen;
  animation: drift 30s linear infinite;
}

@keyframes drift {
  0% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(-1.1%, 0.6%, 0); }
  100% { transform: translate3d(0,0,0); }
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 240px rgba(0,0,0,0.34),
    inset 0 -110px 130px rgba(0,0,0,0.25),
    inset 0 30px 70px rgba(255,255,255,0.015);
}

.stage {
  min-height: calc(100vh - 84px);
  display: grid;
  place-items: center;
  padding: 32px 20px 20px;
  position: relative;
}

.hero {
  width: min(100%, 980px);
  text-align: center;
  position: relative;
}

.title {
  margin: 0;
  display: inline-flex;
  align-items: flex-end;
  gap: 0.3em;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.92;
  font-size: clamp(2.4rem, 7vw, 4.75rem);
  text-transform: uppercase;
  color: #f1f1f1;
  text-shadow: 0 4px 30px rgba(0,0,0,0.32);
}

.word { display: inline-flex; position: relative; }
.char, .mox { display: inline-block; }
.second-i {
  position: relative;
  display: inline-block;
}

.red-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--red-bright);
  top: -0.31em;
  left: 57%; /* 50%;*/
  transform: translateX(-50%) scale(0.88);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 10px rgba(199,24,47,0.95),
    0 0 24px rgba(199,24,47,0.5),
    0 0 56px rgba(199,24,47,0.2);
  animation: awaken 0.55s ease-out 0.36s both, pulseDot 4.9s cubic-bezier(.4,0,.2,1) 0.95s infinite;
}
@media (max-width: 425px) {
  .red-dot{
    width: 9px;
    height: 9px;
    top: -0.37em;
  }
}

@keyframes awaken {
  from { opacity: 0; transform: translateX(-50%) scale(0.2); filter: blur(3px); }
  to { opacity: 1; transform: translateX(-50%) scale(0.88); filter: blur(0); }
}

@keyframes pulseDot {
  0%, 100% { transform: translateX(-50%) scale(0.94); opacity: 0.82; }
  18% { transform: translateX(-50%) scale(1.11); opacity: 1; }
  27% { transform: translateX(-50%) scale(0.99); opacity: 0.88; }
  54% { transform: translateX(-50%) scale(1.14); opacity: 0.98; }
  64% { transform: translateX(-50%) scale(0.97); opacity: 0.86; }
}

.horizon-wrap {
  position: relative;
  width: min(78vw, 860px);
  margin: 44px auto 34px;
  height: 34px;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}


.horizon-glow,
.horizon {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  border-radius: 999px;
}

.horizon-glow {
  top: 15px;
  height: 14px;
  width: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(199,24,47,0.03) 8%,
    rgba(199,24,47,0.18) 30%,
    rgba(199,24,47,0.28) 50%,
    rgba(199,24,47,0.18) 70%,
    rgba(199,24,47,0.03) 92%,
    transparent 100%);
  filter: blur(16px);
  animation: breatheGlow 8.2s ease-in-out infinite alternate;
}

.horizon {
  top: 18px;
  height: 1px;
  width: 100%;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(199,24,47,0.1) 8%,
      rgba(199,24,47,0.68) 26%,
      rgba(221,41,64,1) 50%,
      rgba(199,24,47,0.68) 74%,
      rgba(199,24,47,0.1) 92%,
      transparent 100%);
  box-shadow:
    0 0 10px rgba(199,24,47,0.24),
    0 0 26px rgba(199,24,47,0.14),
    0 1px 0 rgba(255,255,255,0.06);
  animation: horizonFloat 12s ease-in-out infinite alternate, horizonSignal 9.5s ease-in-out infinite;
  animation: horizonPulse 6s infinite ease-in-out;
}
@keyframes horizonPulse {
  0%,100% { opacity: 0.9; }
  50% { opacity: 1; }
}

.horizon::after {
  content: "";
  position: absolute;
  inset: -2px 0;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(255,255,255,0.015) 18%,
      rgba(255,255,255,0.14) 50%,
      rgba(255,255,255,0.015) 82%,
      transparent 100%);
  mix-blend-mode: screen;
  opacity: 0.65;
  animation: shimmer 7.1s ease-in-out infinite;
}

@keyframes breatheGlow {
  0% { opacity: 0.7; transform: scaleX(0.986); }
  100% { opacity: 1; transform: scaleX(1.014); }
}

@keyframes horizonFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(1px); }
}

@keyframes horizonSignal {
  0%, 100% { filter: blur(0px) brightness(0.96); opacity: 0.94; }
  17% { filter: blur(0.06px) brightness(1.05); opacity: 0.98; }
  53% { filter: blur(0.12px) brightness(1.13); opacity: 1; }
  71% { filter: blur(0.02px) brightness(1.01); opacity: 0.94; }
}

@keyframes shimmer {
  0%, 100% { opacity: 0.26; transform: scaleX(0.98); }
  50% { opacity: 0.72; transform: scaleX(1); }
}

.copy {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.copy p {
  margin: 0;
  color: var(--muted-cold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.96rem, 1.38vw, 1.06rem);
  line-height: 1.8;
  letter-spacing: 0.02em; /*-0.01em;*/
  text-wrap: balance;
}

.glass-crack {
  position: absolute;
  left: max(2vw, 10px);
  bottom: max(4vh, 18px);
  width: min(33vw, 420px);
  height: min(28vw, 340px);
  pointer-events: none;
  opacity: 0.62;
  filter: drop-shadow(0 0 16px rgba(221,232,244,0.06));
  animation: crackBreath 12s ease-in-out infinite alternate;
}

@keyframes crackBreath {
  0% { transform: scale(1) translateY(0); opacity: 0.55; }
  100% { transform: scale(1.01) translateY(-2px); opacity: 0.68; }
}

.glass-crack span {
  position: absolute;
  display: block;
  transform-origin: left center;
  border-radius: 999px;
}

.spine {
  left: 2%;
  bottom: 5%;
  width: 61%;
  height: 1.7px;
  background: linear-gradient(90deg, rgba(220,230,242,0.95), rgba(220,230,242,0.08));
  transform: rotate(-31deg);
  box-shadow: 0 0 10px rgba(220,230,242,0.14);
}

.burst {
  height: 1.35px;
  background: linear-gradient(90deg, rgba(220,230,242,0.88), rgba(220,230,242,0.02));
  box-shadow: 0 0 10px rgba(220,230,242,0.08);
}

.burst-1 { left: 31%; bottom: 31%; width: 34%; transform: rotate(-76deg); }
.burst-2 { left: 34%; bottom: 26%; width: 26%; transform: rotate(-2deg); }
.burst-3 { left: 29%; bottom: 24%; width: 30%; transform: rotate(41deg); }

.shard {
  height: 1.1px;
  background: linear-gradient(90deg, rgba(220,230,242,0.8), rgba(220,230,242,0));
  box-shadow: 0 0 8px rgba(220,230,242,0.08);
}

.shard-1 { left: 37%; bottom: 27%; width: 18%; transform: rotate(-22deg); }
.shard-2 { left: 22%; bottom: 17%; width: 24%; transform: rotate(-48deg); }
.shard-3 { left: 13%; bottom: 10%; width: 16%; transform: rotate(-8deg); }
.shard-4 { left: 41%; bottom: 20%; width: 14%; transform: rotate(18deg); }

.micro {
  height: 1px;
  background: linear-gradient(90deg, rgba(220,230,242,0.68), rgba(220,230,242,0));
}
.m1 { left: 24%; bottom: 16%; width: 10%; transform: rotate(16deg); }
.m2 { left: 26%; bottom: 12%; width: 8%; transform: rotate(-28deg); }
.m3 { left: 29%; bottom: 21%; width: 12%; transform: rotate(-58deg); }
.m4 { left: 35%; bottom: 34%; width: 9%; transform: rotate(-40deg); }
.m5 { left: 39%; bottom: 27%; width: 7%; transform: rotate(64deg); }
.m6 { left: 43%; bottom: 23%; width: 8%; transform: rotate(-6deg); }
.m7 { left: 48%; bottom: 26%; width: 9%; transform: rotate(22deg); }
.m8 { left: 18%; bottom: 9%; width: 12%; transform: rotate(-22deg); }

.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 18px 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(236,236,236,0.72);
  font-size: 0.75rem;
  letter-spacing: 0.4px;
}
.footer a, .site-footer a, .site-footer p {
  color: rgba(236, 236, 236, 0.72);
  font-size: 0.75rem;
  letter-spacing: 0.4px;
  text-decoration: none;
}

.footer p { margin: 0; }
.site-footer p {
  text-align: center;
}
@media (max-width: 900px) {
  .stage { min-height: calc(100vh - 96px); }
  .title { font-size: clamp(2rem, 10.5vw, 4rem); }
  .horizon-wrap { width: min(88vw, 680px); margin-top: 32px; margin-bottom: 26px; }
  .glass-crack {
    width: min(44vw, 280px);
    height: min(34vw, 220px);
    left: 0;
    bottom: 34px;
    opacity: 0.54;
  }
  .copy { max-width: 92vw; }
  .footer { font-size: 0.75rem; }
  
}
@media (max-width: 390px) {
  .footer{
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

.glass-overlay {
  position: fixed;
  bottom: -80px;
  left: -80px;
  width: 40%;
  opacity: 0.18;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(0.6px);
  transform: rotate(-8deg);
  animation: glassFloat 25s ease-in-out infinite;
}
@media (max-width: 768px) {
  .glass-overlay {
    bottom: -20px;
    width: 50%;
  }
}
@media (max-width: 600px) {
  .glass-overlay {
    width: 70%;
  }
}
@media (max-width: 425px) {
  .glass-overlay {
    width: 75%;
    bottom: -10px;
  }
  .copy p{
    margin-bottom: 2rem;
  }
}
@media (max-width: 375px) {
  .glass-overlay {
    width: 80%;
    bottom: 30px;
  }
}
@media (max-width: 320px) {
  .glass-overlay {
    width: 90%;
    bottom: 30px;
  }
}

@keyframes glassFloat {
  0%, 100% { transform: rotate(-8deg) translate(0, 0); }
  50% { transform: rotate(-7deg) translate(4px, -3px); }
}

.glass-overlay.secondary {
  opacity: 0.08;
  transform: rotate(-2deg) scale(1.1);
}


main.legal-page{
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
}
.legal-page h1, .legal-page h2, .legal-page p{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}
.legal-page h1 {
  font-size: 16px;
}
.legal-page h2{
  margin-top: 1rem;
  font-size: 14px;
}
.legal-page p{
  font-size: 0.8rem;
  letter-spacing: 0.4px;
  line-height: 1.4;
}
.legal-page a{
  text-decoration: none;
  letter-spacing: 0.4px;
  color: rgba(236,236,236,0.72);
}
