:root {
  --bg: #05040a;
  --ink: #f8f4ff;
  --muted: #bbb1c9;
  --purple: #9146ff;
  --purple-deep: #481a96;
  --cyan: #00e7ff;
  --fire: #ff7a1a;
  --danger: #ff2c5f;
  --glass: rgba(12, 8, 23, 0.72);
  --line: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, transparent 92%);
}

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

img {
  display: block;
  max-width: 100%;
}

#fx-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(145, 70, 255, 0.26), transparent 66%);
  transform: translate(-50%, -50%);
  transition: opacity 200ms ease;
}

.topbar {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  padding: 12px 0;
  transform: translateX(-50%);
}

.topbar.scrolled {
  padding-inline: 16px;
  background: rgba(5, 4, 10, 0.78);
  border: 1px solid var(--line);
  border-radius: 12px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: Rajdhani, sans-serif;
}

.brand-logo {
  width: 118px;
  height: 66px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.36))
    drop-shadow(0 0 26px rgba(145, 70, 255, 0.82));
}

.brand-label {
  display: inline-flex;
  padding: 4px 10px;
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.38), rgba(0, 231, 255, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(145, 70, 255, 0.38);
}

.brand small {
  display: block;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 8px;
}

.nav-cta {
  background: rgba(145, 70, 255, 0.2);
  border: 1px solid rgba(145, 70, 255, 0.75);
}

.btn {
  position: relative;
  overflow: hidden;
  min-width: 176px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.btn::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.34) 45%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 500ms ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn-primary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent),
    linear-gradient(135deg, var(--purple), var(--purple-deep));
  box-shadow: 0 0 34px rgba(145, 70, 255, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: 150px max(24px, calc((100vw - 1180px) / 2)) 90px;
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg {
  z-index: -5;
  background-image: url("../images/hero-fantasy.webp");
  background-position: center;
  background-size: cover;
  filter: saturate(1.18) contrast(1.08);
  transform: scale(1.04);
}

.hero-overlay {
  z-index: -3;
  background:
    radial-gradient(circle at 72% 42%, rgba(145, 70, 255, 0.18), transparent 24rem),
    linear-gradient(90deg, rgba(5, 4, 10, 0.95) 0%, rgba(5, 4, 10, 0.76) 42%, rgba(5, 4, 10, 0.18) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 24%, transparent 80%, rgba(5, 4, 10, 0.74) 100%);
}

.hero-content {
  align-self: center;
  max-width: 760px;
}

.signal,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-family: "Black Ops One", Rajdhani, sans-serif;
  font-size: clamp(4.9rem, 12vw, 12rem);
  line-height: 0.76;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(145, 70, 255, 0.95),
    0 0 54px rgba(0, 231, 255, 0.28);
}

h2 {
  max-width: 920px;
  font-family: Rajdhani, sans-serif;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

h3 {
  font-family: Rajdhani, sans-serif;
  font-size: 2.1rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.hero-copy,
.profile-grid p,
.impact-panel p,
.media-copy,
.footer {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  width: min(660px, 100%);
  margin: 28px 0 0;
  font-size: 1.08rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.stream-card {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 92px;
  width: min(360px, calc(100% - 48px));
  padding: 22px;
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.22), rgba(0, 231, 255, 0.08)), var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.stream-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stream-card strong {
  display: block;
  font-family: Rajdhani, sans-serif;
  font-size: 1.8rem;
  word-break: break-word;
}

.stream-card a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  background: var(--danger);
  border-radius: 999px;
  box-shadow: 0 0 0 rgba(255, 44, 95, 0.75);
  animation: livePulse 1.35s infinite;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  transform: translateX(-50%);
}

section:not(.hero) {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: start;
}

.profile-grid > div:first-child p {
  max-width: 620px;
  margin-top: 24px;
  font-size: 1.05rem;
}

.profile-stats {
  display: grid;
  gap: 14px;
}

.profile-stats div,
.impact-panel,
.closing-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(12, 8, 23, 0.74);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.profile-stats div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  padding: 20px;
}

.profile-stats span {
  grid-row: span 2;
  color: var(--fire);
  font-family: "Black Ops One", sans-serif;
  font-size: 2.3rem;
}

.profile-stats strong {
  font-family: Rajdhani, sans-serif;
  font-size: 1.6rem;
  text-transform: uppercase;
}

.profile-stats p {
  margin: 4px 0 0;
}

.impact-section > h2,
.media-section > h2 {
  margin-bottom: 28px;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.impact-panel {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 26px;
}

.impact-panel::after {
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 220px;
  content: "";
  background: radial-gradient(circle, rgba(145, 70, 255, 0.35), transparent 70%);
  pointer-events: none;
}

.panel-large {
  grid-row: span 2;
  display: grid;
  align-content: end;
  min-height: 560px;
  padding: 0;
}

.panel-large img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-large::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(0deg, rgba(5, 4, 10, 0.94), rgba(5, 4, 10, 0.18) 62%);
}

.panel-large div {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 30px;
}

.impact-panel > span,
.panel-large span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.accent {
  background:
    linear-gradient(135deg, rgba(255, 122, 26, 0.22), rgba(145, 70, 255, 0.2)),
    rgba(12, 8, 23, 0.76);
}

.media-copy {
  max-width: 760px;
  margin: 0 0 28px;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
  gap: 18px;
}

.media-grid figure {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #100b1d;
}

.media-grid figure:nth-child(2),
.media-grid figure:nth-child(3) {
  min-height: 310px;
}

.media-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 420ms ease;
}

.media-grid figure:hover img {
  transform: scale(1.08);
}

.media-grid figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px 16px;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(5, 4, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.closing-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: stretch;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
  overflow: hidden;
  padding: 56px 64px;
  background:
    radial-gradient(circle at 20% 20%, rgba(145, 70, 255, 0.45), transparent 22rem),
    radial-gradient(circle at 90% 85%, rgba(0, 231, 255, 0.2), transparent 18rem),
    linear-gradient(135deg, rgba(145, 70, 255, 0.24), rgba(0, 231, 255, 0.08)),
    rgba(12, 8, 23, 0.9);
}

.closing-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
  pointer-events: none;
}

.closing-copy,
.closing-actions {
  position: relative;
  z-index: 1;
}

.closing-copy {
  align-self: center;
  max-width: 760px;
}

.closing-section h2 {
  max-width: 760px;
  font-size: clamp(2.35rem, 4.6vw, 4.2rem);
}

.closing-copy p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.closing-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 22px;
  background: rgba(5, 4, 10, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  backdrop-filter: blur(14px);
}

.closing-actions img {
  width: 150px;
  height: 82px;
  margin: 0 auto 8px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.28))
    drop-shadow(0 0 26px rgba(145, 70, 255, 0.68));
}

.footer {
  display: grid;
  grid-template-columns: minmax(190px, 0.75fr) minmax(220px, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(145, 70, 255, 0.22), transparent 18rem),
    linear-gradient(135deg, rgba(145, 70, 255, 0.18), rgba(0, 231, 255, 0.08)),
    rgba(12, 8, 23, 0.72);
  border: 1px solid var(--line);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -18px 70px rgba(0, 0, 0, 0.22);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 88px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(145, 70, 255, 0.55));
}

.footer-brand strong,
.footer-brand span {
  display: block;
  font-family: Rajdhani, sans-serif;
}

.footer-brand strong {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-brand span {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-copy p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.footer-links a:first-child {
  color: var(--cyan);
  background: rgba(0, 231, 255, 0.1);
  border-color: rgba(0, 231, 255, 0.24);
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 44, 95, 0.75);
  }

  70% {
    box-shadow: 0 0 0 13px rgba(255, 44, 95, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 44, 95, 0);
  }
}

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    width: min(720px, calc(100% - 22px));
    gap: 12px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .hero {
    min-height: auto;
    padding-top: 180px;
    padding-bottom: 72px;
  }

  .stream-card {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: end;
    margin-top: 36px;
  }

  .profile-grid,
  .impact-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .panel-large {
    min-height: 430px;
  }

  .footer {
    align-items: flex-start;
  }

  .closing-section {
    grid-template-columns: 1fr;
  }

  .closing-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .closing-actions img {
    margin: 0 auto;
  }

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

  .media-grid figure,
  .media-grid figure:nth-child(2),
  .media-grid figure:nth-child(3) {
    min-height: 340px;
  }
}

@media (max-width: 560px) {
  body::before {
    background-size: 46px 46px;
  }

  .cursor-glow {
    display: none;
  }

  .topbar {
    position: absolute;
    top: 10px;
    align-items: flex-start;
    width: calc(100% - 20px);
    min-height: 0;
    padding: 0;
  }

  .nav-links {
    display: none;
  }

  .brand {
    align-items: flex-start;
    gap: 4px;
  }

  .brand-logo {
    width: 92px;
    height: 50px;
  }

  .brand-label {
    padding: 4px 9px;
  }

  .brand small {
    font-size: 0.58rem;
  }

  .nav-cta {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .hero {
    padding-inline: 14px;
    padding-top: 112px;
    padding-bottom: 34px;
  }

  .hero-bg {
    background-position: 66% center;
    transform: none;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 72% 26%, rgba(145, 70, 255, 0.18), transparent 16rem),
      linear-gradient(90deg, rgba(5, 4, 10, 0.96) 0%, rgba(5, 4, 10, 0.84) 58%, rgba(5, 4, 10, 0.5) 100%),
      linear-gradient(0deg, var(--bg) 0%, transparent 28%, transparent 74%, rgba(5, 4, 10, 0.78) 100%);
  }

  .signal,
  .section-kicker {
    margin-bottom: 10px;
    font-size: 0.7rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 13.6vw, 3.35rem);
    line-height: 0.9;
    overflow-wrap: anywhere;
    text-shadow:
      0 0 12px rgba(145, 70, 255, 0.95),
      0 0 34px rgba(0, 231, 255, 0.24);
  }

  h2,
  .closing-section h2 {
    font-size: clamp(1.88rem, 9.6vw, 2.55rem);
    line-height: 0.98;
  }

  h3 {
    font-size: 1.65rem;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .hero-actions,
  .hero-actions .btn,
  .closing-section .btn {
    width: 100%;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 18px;
  }

  .btn {
    min-height: 38px;
    min-width: 0;
    padding-inline: 12px;
    font-size: 0.72rem;
    border-radius: 7px;
  }

  .stream-card {
    width: 100%;
    margin-top: 18px;
    padding: 13px 14px;
  }

  .stream-card p {
    margin-bottom: 4px;
    font-size: 0.7rem;
  }

  .stream-card strong {
    font-size: 1.02rem;
  }

  .stream-card a {
    margin-top: 9px;
    font-size: 0.78rem;
  }

  .scroll-cue {
    display: none;
  }

  section:not(.hero),
  .footer {
    width: min(100% - 22px, 520px);
  }

  section:not(.hero) {
    padding-block: 56px;
  }

  .profile-grid {
    gap: 26px;
  }

  .profile-grid > div:first-child p {
    margin-top: 16px;
    font-size: 0.96rem;
  }

  .profile-stats div {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .profile-stats span {
    grid-row: auto;
    font-size: 1.8rem;
  }

  .profile-stats strong {
    font-size: 1.35rem;
  }

  .impact-grid,
  .media-grid {
    gap: 14px;
  }

  .panel-large {
    min-height: 360px;
  }

  .impact-panel {
    min-height: auto;
  }

  .panel-large div,
  .impact-panel,
  .closing-section {
    padding: 18px;
  }

  .impact-panel p,
  .media-copy {
    font-size: 0.95rem;
  }

  .media-grid figure,
  .media-grid figure:nth-child(2),
  .media-grid figure:nth-child(3) {
    min-height: 260px;
  }

  .media-grid figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 11px 12px;
    font-size: 0.78rem;
  }

  .closing-section {
    gap: 16px;
    margin-bottom: 20px;
    padding: 22px 18px;
    overflow: hidden;
  }

  .closing-copy p {
    margin-top: 12px;
    font-size: 0.9rem;
  }

  .closing-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    padding: 14px;
  }

  .closing-actions img {
    width: 106px;
    height: 58px;
  }

  .footer {
    gap: 10px;
    padding: 18px 16px 22px;
    text-align: left;
  }

  .footer-brand img {
    width: 76px;
    height: 44px;
  }

  .footer-brand strong {
    font-size: 1.12rem;
  }

  .footer-copy p {
    font-size: 0.9rem;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-links a {
    min-height: 34px;
    font-size: 0.7rem;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    width: 82px;
    height: 46px;
  }

  .brand small {
    font-size: 0.54rem;
  }

  .nav-cta {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 0.68rem;
  }

  .hero {
    padding-top: 104px;
  }

  h1 {
    font-size: clamp(2.32rem, 12.7vw, 3rem);
  }

  .stream-card strong {
    font-size: 1.05rem;
  }

  .closing-section h2 {
    font-size: clamp(1.65rem, 8.8vw, 2.15rem);
  }
}

/* Final CTA/footer hardening for hosted cache/order differences. */
main > .closing-section {
  padding: 64px 72px !important;
}

main > .closing-section .closing-copy {
  padding-left: 0;
  max-width: 740px;
}

main > .closing-section .closing-section h2,
main > .closing-section h2 {
  max-width: 760px;
}

body > .footer {
  margin-top: 18px;
}

@media (max-width: 900px) {
  main > .closing-section {
    padding: 34px 28px !important;
  }
}

@media (max-width: 560px) {
  main > .closing-section {
    padding: 24px 18px !important;
  }
}
