:root {
  color-scheme: dark;
  --ink: #050307;
  --violet: #b000ff;
  --violet-soft: rgba(176, 0, 255, 0.26);
  --orange: #ff7417;
  --text: #fff4e8;
  --muted: #cbb8d2;
  --line: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

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

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

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

.page-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  isolation: isolate;
  overflow: hidden;
}

.hero-art,
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-art {
  background: url("/assets/joker-theme.png") center / cover no-repeat;
  filter: saturate(1.14) contrast(1.08) brightness(0.78);
  transform: scale(1.015);
}

.hero::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 3, 7, 0.96) 0%, rgba(5, 3, 7, 0.64) 31%, rgba(5, 3, 7, 0.12) 58%, rgba(5, 3, 7, 0.58) 100%),
    linear-gradient(0deg, rgba(5, 3, 7, 0.94) 0%, rgba(5, 3, 7, 0.1) 46%, rgba(5, 3, 7, 0.68) 100%),
    radial-gradient(circle at 66% 42%, rgba(176, 0, 255, 0.36), transparent 25rem);
}

.hero::after {
  z-index: -1;
  opacity: 0.34;
  background:
    linear-gradient(120deg, transparent 0 44%, rgba(176, 0, 255, 0.28) 48%, transparent 53% 100%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 6px);
  mix-blend-mode: screen;
}

.topbar {
  width: min(1180px, calc(100% - 36px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.brand,
.top-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-family: "Saira Condensed", Impact, sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.brand-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #180021;
  background: linear-gradient(135deg, var(--violet), #f5b4ff);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 28px var(--violet-soft);
}

.top-links {
  gap: 18px;
  color: var(--muted);
  font-family: "Saira Condensed", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-links a:hover {
  color: white;
}

.hero-content {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(82px, 13vh, 150px) 0 110px;
  align-self: center;
}

.eyebrow,
.panel-label {
  margin: 0;
  color: var(--orange);
  font-family: "Saira Condensed", Impact, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 116, 23, 0.44);
}

h1 {
  max-width: 760px;
  margin: 8px 0 16px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(5.6rem, 17vw, 15rem);
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 16px rgba(176, 0, 255, 0.84),
    0 0 44px rgba(176, 0, 255, 0.62),
    0 0 86px rgba(255, 116, 23, 0.25);
}

.tagline {
  max-width: 520px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  line-height: 1.45;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.action {
  min-width: 148px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-family: "Saira Condensed", Impact, sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.action:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.54);
}

.action-twitch {
  background: linear-gradient(135deg, var(--violet), #4c0d74);
  box-shadow: 0 18px 42px rgba(176, 0, 255, 0.22);
}

.action-tiktok {
  background: linear-gradient(135deg, var(--orange), #681f00);
  box-shadow: 0 18px 42px rgba(255, 116, 23, 0.18);
}

.signal-panel {
  position: absolute;
  right: max(18px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  width: min(360px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(176, 0, 255, 0.2), rgba(255, 116, 23, 0.08)),
    rgba(8, 4, 12, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), 0 0 48px rgba(176, 0, 255, 0.14);
  backdrop-filter: blur(14px);
}

.signal-panel strong {
  display: block;
  margin: 4px 0 8px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 42px;
  line-height: 0.9;
  text-transform: uppercase;
}

.signal-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.is-loaded .hero-content,
.is-loaded .signal-panel,
.is-loaded .topbar {
  animation: enter 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.is-loaded .signal-panel {
  animation-delay: 120ms;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .top-links {
    display: none;
  }

  .hero {
    min-height: 780px;
  }

  .hero-art {
    background-position: 58% center;
  }

  .hero-content {
    padding-top: 76px;
    align-self: start;
  }

  h1 {
    font-size: clamp(4.6rem, 26vw, 7.6rem);
  }

  .signal-panel {
    left: 18px;
    right: 18px;
    width: auto;
  }
}
