:root {
  color-scheme: dark;
  --bg: #03070b;
  --ink: #f5f2e8;
  --soft: #c9c2b3;
  --muted: #81796b;
  --line: rgba(245, 242, 232, 0.14);
  --line-strong: rgba(245, 242, 232, 0.32);
  --cyan: #78f7ff;
  --steel: #9cb8c8;
  --gold: #e8c16a;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::selection {
  background: var(--cyan);
  color: #010407;
}

a {
  color: inherit;
  text-decoration: none;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 18%, rgba(120, 247, 255, 0.16), transparent 26%),
    radial-gradient(circle at 80% 70%, rgba(232, 193, 106, 0.08), transparent 30%),
    linear-gradient(180deg, #061019 0%, #03070b 48%, #020305 100%);
}

.sky::before,
.sky::after {
  position: absolute;
  inset: 0;
  content: "";
}

.sky::before {
  background:
    linear-gradient(90deg, rgba(245, 242, 232, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(245, 242, 232, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}

.sky::after {
  background:
    radial-gradient(circle at 14% 28%, rgba(245, 242, 232, 0.6) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 36%, rgba(245, 242, 232, 0.46) 0 1px, transparent 2px),
    radial-gradient(circle at 44% 72%, rgba(120, 247, 255, 0.52) 0 1px, transparent 2px);
  background-size: 240px 180px, 320px 260px, 420px 300px;
  opacity: 0.36;
}

.page {
  width: min(100% - 40px, 1240px);
  margin: 0 auto;
  padding: 28px 0 34px;
}

.topline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.topline img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 18px rgba(120, 247, 255, 0.34));
}

.topline strong {
  justify-self: end;
  color: var(--cyan);
}

.hero {
  display: grid;
  justify-items: center;
  min-height: calc(100svh - 86px);
  padding: 82px 0 70px;
  text-align: center;
}

.hero-copy {
  width: 100%;
  max-width: 1120px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-shadow: 0 0 22px rgba(120, 247, 255, 0.38);
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

.brand-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 30px);
  margin: 0 0 26px;
  color: var(--ink);
  font-family: "Bahnschrift Light", "Bahnschrift", "Segoe UI", sans-serif;
  font-size: clamp(4rem, 8vw, 9.2rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 0.84;
  text-transform: uppercase;
}

.brand-title span {
  display: block;
}

.brand-title i {
  display: block;
  width: 1px;
  height: clamp(84px, 9vw, 142px);
  background: linear-gradient(180deg, transparent, var(--cyan), var(--gold), transparent);
  box-shadow: 0 0 32px rgba(120, 247, 255, 0.5);
  animation: pulse 3.4s ease-in-out infinite;
}

.lead {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: clamp(1.7rem, 3.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.thesis {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
  color: var(--soft);
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  font-weight: 700;
}

.rules {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.rules span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(245, 242, 232, 0.045);
  color: var(--soft);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #020509;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.discord:hover,
.discord:focus-visible {
  background: #ffffff;
  box-shadow: 0 0 44px rgba(120, 247, 255, 0.22);
  outline: none;
  transform: translateY(-2px);
}

.authority {
  width: min(100%, 960px);
  margin-top: 42px;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(120, 247, 255, 0.08), transparent 42%),
    rgba(2, 5, 8, 0.72);
  backdrop-filter: blur(18px);
}

.authority p {
  margin-bottom: 22px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.authority h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 2.1rem;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.authority h2 span {
  display: inline;
}

.authority ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.authority li {
  padding: 14px;
  border: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.45;
}

.authority li span {
  display: block;
}

.proof {
  padding: 50px 0 18px;
}

.proof-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.proof-head h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 5.2rem);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-transform: uppercase;
}

.videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.video-card {
  border: 1px solid var(--line);
  background: rgba(2, 5, 8, 0.76);
  overflow: hidden;
}

video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-bottom: 1px solid var(--line);
  object-fit: cover;
}

.video-copy {
  padding: 18px;
}

.video-copy span {
  display: block;
  margin-bottom: 22px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.video-copy h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(1.42rem, 2.8vw, 2.28rem);
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.video-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 30px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scaleY(0.82);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.08);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .authority {
    max-width: 640px;
  }

  .authority ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    padding-top: 18px;
    overflow-x: hidden;
  }

  .topline {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }

  .topline span {
    display: none;
  }

  .topline strong {
    display: none;
  }

  .hero {
    padding: 54px 0 48px;
    text-align: center;
  }

  .hero-copy {
    max-width: none;
  }

  .brand-title {
    flex-direction: column;
    gap: 8px;
    font-size: clamp(3rem, 13.4vw, 3.85rem);
    letter-spacing: 0.02em;
  }

  .brand-title i {
    width: 72px;
    height: 1px;
    animation-name: pulse-mobile;
  }

  .lead {
    font-size: clamp(1.45rem, 6.6vw, 2rem);
    line-height: 1.12;
  }

  .thesis {
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .rules {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .rules span {
    width: min(100%, 270px);
    white-space: normal;
  }

  .discord {
    width: min(100%, 360px);
  }

  .authority {
    width: 100%;
    padding: 18px;
    overflow: hidden;
  }

  .authority h2 {
    font-size: 1.55rem;
    line-height: 1;
  }

  .authority h2 span {
    display: block;
  }

  .authority li {
    font-size: 0.9rem;
    overflow-wrap: break-word;
  }

  .proof-head,
  .footer {
    display: block;
    text-align: center;
  }

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

  @keyframes pulse-mobile {
    0%,
    100% {
      opacity: 0.6;
      transform: scaleX(0.82);
    }

    50% {
      opacity: 1;
      transform: scaleX(1.08);
    }
  }
}
