:root {
  --bg: #000000;
  --bg2: #070707;
  --surface: rgba(0, 0, 0, 0.66);
  --surface-2: rgba(0, 0, 0, 0.82);
  --border: rgba(255, 59, 48, 0.22);
  --border-2: rgba(255, 59, 48, 0.32);
  --text: #f4f4f4;
  --muted: rgba(244, 244, 244, 0.72);
  --muted2: rgba(244, 244, 244, 0.56);
  --red: #ff3b30;
  --red2: #b00020;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.28);
  --ring: 0 0 0 4px rgba(255, 59, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(circle at 18% 25%, rgba(255, 59, 48, 0.07), transparent 36%),
    radial-gradient(circle at 78% 18%, rgba(255, 59, 48, 0.05), transparent 38%),
    radial-gradient(circle at 75% 78%, rgba(255, 59, 48, 0.04), transparent 42%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 48%, var(--bg) 100%);
  overflow-x: hidden;
}

#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 26px 0 22px;
}

.stage-grid {
  width: min(1080px, calc(100% - 28px));
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
  align-items: start;
}

.stage-grid.single {
  grid-template-columns: 1fr;
  width: min(920px, calc(100% - 28px));
}

.panel {
  border-radius: 28px;
  padding: 34px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: -90px;
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 59, 48, 0.18), transparent 46%),
    radial-gradient(circle at 70% 52%, rgba(255, 59, 48, 0.10), transparent 44%);
  opacity: 0.82;
  pointer-events: none;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.01),
      rgba(255, 255, 255, 0.05)
    );
  opacity: 0.08;
  transform: translateX(-65%) skewX(-18deg);
  animation: sheen 7.5s linear infinite;
  pointer-events: none;
}

@keyframes sheen {
  0% {
    transform: translateX(-75%) skewX(-18deg);
  }
  100% {
    transform: translateX(75%) skewX(-18deg);
  }
}

.badge-row {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.22);
  color: rgba(255, 90, 82, 0.95);
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 59, 48, 0.95);
  box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.35);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.35);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 59, 48, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
  }
}

.wordmark {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.dot {
  color: rgba(255, 90, 82, 1);
}

.tagline {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: var(--muted2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.copy {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: transform 160ms ease, filter 160ms ease, background 160ms ease, border-color 160ms ease;
  gap: 10px;
  margin-top: 18px;
}

.btn-primary {
  color: #0b0b0b;
  background: linear-gradient(140deg, #ff5a52, #ff3b30);
  border-color: rgba(255, 59, 48, 0.45);
  box-shadow: 0 16px 35px rgba(255, 59, 48, 0.14);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 59, 48, 0.28);
}

.discord-stroke {
  stroke: rgba(255, 59, 48, 0.98);
  filter: drop-shadow(0 0 6px rgba(255, 59, 48, 0.45));
}

.discord-fill {
  fill: rgba(255, 59, 48, 0.95);
  filter: drop-shadow(0 0 6px rgba(255, 59, 48, 0.35));
}

.feature-grid {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.feature {
  border-radius: 22px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 59, 48, 0.16);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 59, 48, 0.08);
  border: 1px solid rgba(255, 59, 48, 0.18);
}

.icon-stroke {
  stroke: rgba(255, 59, 48, 0.98);
  filter: drop-shadow(0 0 6px rgba(255, 59, 48, 0.35));
}

.feature-title {
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.01em;
}

.feature-copy {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.boost {
  transition: transform 180ms ease, border-color 180ms ease;
}

.boost:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 59, 48, 0.34);
}

.foot {
  width: min(1080px, calc(100% - 28px));
  margin-top: 16px;
  padding: 10px 6px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: var(--muted2);
  flex-wrap: wrap;
}

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

@media (max-width: 980px) {
  .stage-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .boost {
    transition: none;
  }

  .panel::after,
  .pulse {
    animation: none;
  }
}
