:root {
  --void: #050505;
  --ink: #0b0b0b;
  --white: #f1f1ec;
  --muted: #aaa59b;
  --dim: #625d57;
  --red: #6e0508;
  --red-hot: #a00d12;
  --red-dark: #210204;
  --line: rgba(241, 241, 236, 0.19);
  --shadow: rgba(0, 0, 0, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--void);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--void);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 12%, transparent 88%, rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at 50% 50%, transparent 0 35%, rgba(0, 0, 0, 0.44) 68%, rgba(0, 0, 0, 0.9) 100%);
  content: "";
}

a-hole {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(110, 5, 8, 0.12), transparent 28%),
    linear-gradient(180deg, #111 0%, #050505 58%, #000 100%);
}

a-hole::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  width: 150%;
  height: 140%;
  background: radial-gradient(ellipse at 50% 55%, transparent 9%, rgba(0, 0, 0, 0.9) 45%, #000 58%);
  transform: translate3d(-50%, -50%, 0);
  content: "";
}

a-hole::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: block;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 72%, rgba(110, 5, 8, 0.5) 12%, transparent 58%);
  mix-blend-mode: screen;
  opacity: 0.42;
  transform: translate3d(-50%, -50%, 0);
  content: "";
}

a-hole canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.aura {
  position: absolute;
  top: -72%;
  left: 50%;
  z-index: 3;
  width: min(30vw, 420px);
  height: 140%;
  border-radius: 0 0 100% 100%;
  background:
    linear-gradient(18deg, rgba(245, 245, 240, 0.24), rgba(110, 5, 8, 0.18) 30%, rgba(160, 13, 18, 0.4) 50%, rgba(245, 245, 240, 0.14) 70%, rgba(69, 4, 7, 0.4)) 0 100% / 100% 200%;
  filter: blur(18px);
  mix-blend-mode: screen;
  opacity: 0.42;
  transform: translate3d(-50%, 0, 0);
}

.vignette {
  position: absolute;
  inset: 0;
  z-index: 8;
  background:
    radial-gradient(ellipse at 50% 42%, transparent 0 22%, rgba(0, 0, 0, 0.28) 44%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 38%, rgba(0, 0, 0, 0.68));
}

.scanlines {
  position: absolute;
  inset: 0;
  z-index: 10;
  background:
    repeating-linear-gradient(transparent, transparent 3px, rgba(255, 255, 255, 0.075) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 31px, rgba(160, 13, 18, 0.045) 32px);
  mix-blend-mode: overlay;
  opacity: 0.5;
}

.site-shell {
  position: relative;
  z-index: 12;
  display: grid;
  min-height: 100vh;
  padding: clamp(24px, 5vw, 64px);
  place-items: center;
}

.lang-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 20;
  display: inline-flex;
  min-width: 44px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 0;
  border-radius: 2px;
  color: rgba(241, 241, 236, 0.82);
  background: rgba(5, 5, 5, 0.82);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  color: var(--white);
  background: rgba(28, 3, 4, 0.92);
}

.lang-toggle:focus-visible {
  outline: 1px solid rgba(241, 241, 236, 0.7);
  outline-offset: 3px;
}

.limiar {
  width: min(760px, 100%);
  padding: clamp(18px, 3vw, 36px) 0;
  text-align: center;
  text-shadow: 0 2px 18px var(--shadow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo-title {
  position: relative;
  width: min(360px, 78vw);
  margin: 0 auto clamp(22px, 4vw, 34px);
  line-height: 0;
}

.logo-title::before,
.logo-title::after {
  position: absolute;
  inset: 12% 4%;
  z-index: -1;
  display: block;
  border: 1px solid rgba(160, 13, 18, 0.2);
  opacity: 0.38;
  content: "";
  transform: skewX(-9deg);
}

.logo-title::after {
  inset: 20% 10%;
  border-color: rgba(241, 241, 236, 0.16);
  transform: translate(5px, -3px) skewX(8deg);
}

.logo-title img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
}

.manifesto {
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 42px);
  color: rgba(241, 241, 236, 0.84);
  font-size: clamp(0.9rem, 2.2vw, 1.03rem);
  font-weight: 350;
  line-height: 1.78;
}

.manifesto p {
  margin: 0 auto 12px;
}

.manifesto p:last-child {
  margin-bottom: 0;
}

.actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.action-group {
  display: grid;
  gap: 8px;
}

.action-label {
  min-height: 2.6em;
  margin: 0;
  color: rgba(241, 241, 236, 0.58);
  font-size: 0.7rem;
  font-weight: 450;
  line-height: 1.3;
  text-transform: lowercase;
}

.action {
  position: relative;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  color: var(--white);
  background: rgba(8, 8, 8, 0.9);
  box-shadow: none;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 140ms ease, background 140ms ease;
}

.action:hover,
.action:focus-visible {
  color: #fff;
  background: rgba(32, 4, 5, 0.96);
}

.action:focus-visible {
  outline: 1px solid rgba(241, 241, 236, 0.72);
  outline-offset: 4px;
}

.action-primary {
  background: rgba(42, 4, 6, 0.94);
}

.action-disabled {
  cursor: not-allowed;
  color: rgba(170, 165, 155, 0.58);
  background: rgba(5, 5, 5, 0.66);
  box-shadow: none;
}

.discord-mark,
.build-mark {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.discord-mark svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.action span {
  position: relative;
  z-index: 1;
}

@media (max-width: 820px) {
  .site-shell {
    align-items: end;
    padding-top: 96px;
  }

  .actions {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .action-label {
    min-height: 0;
  }

  .action {
    min-height: 54px;
  }

  .aura {
    width: 46vw;
    filter: blur(14px);
  }
}

@media (max-width: 520px) {
  .site-shell {
    padding: 24px 18px;
  }

  .limiar {
    text-align: left;
  }

  .logo-title {
    margin-left: 0;
    margin-right: 0;
    width: min(300px, 78vw);
  }

  .manifesto {
    line-height: 1.72;
  }

  .action {
    justify-content: flex-start;
    padding-right: 86px;
  }
}

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