:root {
  color-scheme: dark;
  --bg: #08090d;
  --ink: #f7f7fb;
  --muted: #c8ccd8;
  --line: rgba(255, 255, 255, 0.2);
  --panel: rgba(7, 8, 12, 0.78);
  --pink: #ff1f8f;
  --cyan: #44d7d2;
  --green: #49d17f;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 50%;
  z-index: -2;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 7, 11, 0.9) 0%, rgba(6, 7, 11, 0.5) 48%, rgba(6, 7, 11, 0.18) 100%),
    linear-gradient(0deg, rgba(6, 7, 11, 0.88) 0%, rgba(6, 7, 11, 0.08) 48%, rgba(6, 7, 11, 0.28) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  width: min(1180px, calc(100% - 40px));
  min-height: 88svh;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 76px) 0;
}

.intro {
  max-width: 700px;
}

.eyebrow,
.panel-label {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4rem, 10vw, 8.6rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(255, 31, 143, 0.7),
    0 0 42px rgba(255, 31, 143, 0.42);
}

.lede {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  line-height: 1.45;
}

.join-panel {
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.qr-link {
  display: block;
  padding: 12px;
  border-radius: 6px;
  background: #fff;
}

.qr-code {
  display: block;
  width: 100%;
  aspect-ratio: 1;
}

.join-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 14px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #09100d;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  font-weight: 850;
  text-decoration: none;
}

.next {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(90deg, rgba(255, 31, 143, 0.16), transparent 45%),
    #0b0d12;
}

.next-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 60px;
}

h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

  .hero-photo {
    object-position: 56% 50%;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(6, 7, 11, 0.92) 0%, rgba(6, 7, 11, 0.52) 58%, rgba(6, 7, 11, 0.26) 100%),
      linear-gradient(90deg, rgba(6, 7, 11, 0.68) 0%, rgba(6, 7, 11, 0.16) 100%);
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-items: end;
    min-height: 90svh;
    width: min(100% - 28px, 520px);
    padding: 28px 0 24px;
  }

  h1 {
    font-size: clamp(3.3rem, 18vw, 5.8rem);
  }

  .lede {
    margin-top: 18px;
  }

  .join-panel {
    max-width: 340px;
  }
}
