/* Theme */
:root {
  --bg: #070a12;
  --bg-soft: #0b1020;
  --surface: rgba(17, 24, 39, 0.72);
  --surface-solid: #111827;
  --surface-2: #151f33;
  --text: #f8fafc;
  --text-soft: #a7b1c5;
  --text-faint: #7f8ca5;
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.28);
  --primary: #3b82f6;
  --primary-strong: #2563eb;
  --cyan: #38bdf8;
  --purple: #a855f7;
  --success: #34d399;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.22);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 82px;
}

html[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-soft: #eef2f8;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-2: #edf3fb;
  --text: #0f172a;
  --text-soft: #475569;
  --text-faint: #64748b;
  --border: rgba(15, 23, 42, 0.1);
  --border-strong: rgba(15, 23, 42, 0.18);
  --shadow: 0 28px 80px rgba(30, 64, 175, 0.12);
  --shadow-soft: 0 14px 36px rgba(15, 23, 42, 0.08);
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}

body.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  color: white;
  background: var(--primary-strong);
  transition: top .2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* Layout */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section--muted {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-soft) 92%, transparent) 15%, var(--bg-soft) 85%, transparent);
}

.section--cta {
  padding-top: 72px;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
  isolation: isolate;
}

.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(59, 130, 246, .18), rgba(168, 85, 247, .18));
  border: 1px solid var(--border-strong);
}

.brand-mark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  transform: scale(1.2) translateY(2px);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: -.02em;
}

.brand-copy span {
  color: var(--text-faint);
  font-size: 11px;
  margin-top: 4px;
  letter-spacing: .02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 650;
  transition: color .2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--primary), var(--purple));
  transition: right .25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--text);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.desktop-cta {
  transition: opacity .24s ease, visibility .24s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.js .site-header.hero-in-view .desktop-cta {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
}

.icon-button,
.menu-button {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.icon-button:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.theme-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon--sun {
  display: none;
}

html[data-theme="light"] .theme-icon--moon {
  display: none;
}

html[data-theme="light"] .theme-icon--sun {
  display: block;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  padding: 10px;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 9px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

.menu-button span+span {
  margin-top: 5px;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 120;
  inset: var(--header-height) 0 0;
  height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .36);
  -webkit-overflow-scrolling: touch;
}

.mobile-menu__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 28px;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  gap: 8px;
}

.mobile-menu__inner>a:not(.button) {
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 20px;
  font-weight: 750;
  transition: color .2s ease, padding-left .2s ease, border-color .2s ease;
}

.mobile-menu__inner>a:not(.button):hover,
.mobile-menu__inner>a:not(.button).is-active {
  color: var(--primary);
  padding-left: 12px;
  border-bottom-color: color-mix(in srgb, var(--primary) 55%, var(--border));
}

.mobile-menu__inner .button {
  margin-top: 18px;
}

.mobile-menu[hidden] {
  display: none;
}

/* Buttons */
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 15px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.icon-button:focus-visible,
.menu-button:focus-visible,
.back-to-top:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent);
  outline-offset: 3px;
}

.button--compact {
  min-height: 42px;
  padding-inline: 16px;
}

.button--primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong) 55%, #5b46e8);
  box-shadow: 0 12px 30px rgba(37, 99, 235, .28);
}

.button--primary:hover {
  box-shadow: 0 16px 38px rgba(37, 99, 235, .38);
}

.button--secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-strong);
}

.button--secondary:hover {
  background: var(--surface-solid);
}

.button--light {
  color: #0f172a;
  background: white;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}

.button--ghost-light {
  color: white;
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .24);
}

.button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button .button-icon {
  width: 19px;
  height: 19px;
}

/* Hero */
.hero {
  padding-top: 78px;
  padding-bottom: 74px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 66px;
}

.eyebrow,
.kicker {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border: 1px solid rgba(56, 189, 248, .22);
  border-radius: 999px;
  background: rgba(56, 189, 248, .07);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.hero h1 {
  max-width: 720px;
  margin: 22px 0 22px;
  font-size: clamp(52px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -.065em;
}

.hero-accent {
  color: var(--cyan);
}

.hero-lead {
  max-width: 640px;
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 650;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points svg,
.gear-features svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--success);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-card {
  position: relative;
  min-height: 568px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 38px;
  background: radial-gradient(circle at 50% 38%, rgba(59, 130, 246, .22), transparent 37%), linear-gradient(145deg, rgba(18, 28, 48, .92), rgba(8, 13, 26, .9));
  box-shadow: var(--shadow);
  isolation: isolate;
}

html[data-theme="light"] .hero-card {
  background: radial-gradient(circle at 50% 38%, rgba(59, 130, 246, .18), transparent 37%), linear-gradient(145deg, #edf4ff, #dfe8f8);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(5, 8, 17, .62));
  z-index: -1;
}

.hero-card__grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(rgba(148, 163, 184, .28) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .28) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.hero-card__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, .25);
  box-shadow: 0 0 60px rgba(59, 130, 246, .12);
}

.hero-card__ring--one {
  width: 390px;
  height: 390px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -45%);
}

.hero-card__ring--two {
  width: 520px;
  height: 520px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -45%);
  border-color: rgba(168, 85, 247, .15);
}

.hero-card__badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(7, 10, 18, .68);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #dce7f8;
  font-size: 12px;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 0 6px rgba(168, 85, 247, .14);
}

.hero-avatar {
  position: absolute;
  z-index: 2;
  width: 80%;
  max-width: 500px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -45%);
  filter: drop-shadow(0 28px 35px rgba(0, 0, 0, .35));
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(9, 14, 28, .82);
  border: 1px solid rgba(255, 255, 255, .12);
  color: white;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
  backdrop-filter: blur(18px);
}

.floating-card--two {
  right: 20px;
  top: 22px;
}

.floating-card__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--primary-strong);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
}

.floating-card--two>svg {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 10px;
  color: #f8c550;
  background: rgba(248, 197, 80, .12);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.floating-card>span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.floating-card strong {
  font-size: 12px;
}

.floating-card small {
  margin-top: 4px;
  color: #9eabc0;
  font-size: 10px;
}

/* Quick links */
.link-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 56px;
}

.quick-link {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  backdrop-filter: blur(12px);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.quick-link:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-solid);
}

.quick-link__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
}

.quick-link__icon--twitch {
  color: #c4b5fd;
  background: rgba(139, 92, 246, .15);
}

.quick-link__icon--giveaways {
  color: #fbbf24;
  background: rgba(245, 158, 11, .14);
}

.quick-link__icon--giveaways svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-link__icon--shop {
  color: #7dd3fc;
  background: rgba(14, 165, 233, .15);
}

.quick-link__icon--star {
  color: #fbbf24;
  background: rgba(245, 158, 11, .14);
}

.quick-link__icon--discord {
  color: #c7d2fe;
  background: rgba(88, 101, 242, .16);
}

.quick-link--featured {
  border-color: rgba(139, 92, 246, .42);
}

.quick-link>span:nth-child(2) {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.quick-link small {
  color: var(--text-faint);
  font-size: 11px;
}

.quick-link strong {
  margin-top: 3px;
  font-size: 14px;
}

.quick-link__arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text-faint);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.quick-link:hover .quick-link__arrow {
  transform: translateX(3px);
}

.section-heading {
  max-width: 800px;
}

.section-heading--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.section-intro {
  max-width: 420px;
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

.section-heading h2,
.star-citizen-card h2,
.discord-card h2 {
  margin: 12px 0 0;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -.045em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--text);
}

.text-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: 90px;
}

.about-copy {
  padding-top: 8px;
}

.about-copy p {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.8;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.about-tags span {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

/* Stream */
.stream-panel {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
}

.stream-preview {
  min-height: 500px;
  padding: 18px;
  background: linear-gradient(145deg, #11192a, #090e1b);
  border-right: 1px solid var(--border);
}

.stream-preview__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  padding: 0 4px 12px;
}

.stream-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dce7f8;
  font-size: 12px;
  font-weight: 750;
}

.stream-chip span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 14px rgba(168, 85, 247, .8);
}

.stream-preview__dots {
  display: inline-flex;
  gap: 5px;
}

.stream-preview__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5b6780;
}

.stream-preview__stage {
  position: relative;
  min-height: 425px;
  overflow: hidden;
  border-radius: 20px;
  background: radial-gradient(circle at 70% 35%, rgba(168, 85, 247, .3), transparent 30%), radial-gradient(circle at 25% 70%, rgba(59, 130, 246, .28), transparent 30%), linear-gradient(135deg, #0d1529, #1a1230);
}

.stream-preview__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .45;
}

.stream-preview__stage img {
  position: absolute;
  right: 2%;
  bottom: -6%;
  width: 58%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35));
}

.stream-preview__copy {
  position: absolute;
  z-index: 2;
  left: 34px;
  bottom: 34px;
  max-width: 56%;
  display: flex;
  flex-direction: column;
}

.stream-preview__copy span {
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.stream-preview__copy strong {
  margin-top: 9px;
  color: white;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.play-button {
  position: absolute;
  z-index: 3;
  left: 34px;
  top: 34px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  box-shadow: 0 16px 38px rgba(59, 130, 246, .34);
  transition: transform .2s ease, box-shadow .2s ease;
}

.play-button:hover {
  transform: scale(1.06);
  box-shadow: 0 20px 48px rgba(59, 130, 246, .45);
}

.play-button svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stream-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 54px 44px;
}

.stream-info h3 {
  margin: 14px 0 16px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.stream-info p {
  margin: 0 0 28px;
  color: var(--text-soft);
}


/* Social carousel */
.social-section {
  overflow: clip;
}

.social-section .section-heading {
  max-width: 720px;
}

.social-section .section-heading p {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--text-soft);
}

.social-rail {
  --card-width: clamp(168px, 15vw, 206px);
  position: relative;
  width: 100%;
  margin-top: 40px;
  perspective: 900px;
  perspective-origin: 50% 44%;
  outline: none;
  touch-action: pan-y;
  user-select: none;
  contain: layout paint;
}

.social-rail:focus-visible .social-rail__viewport {
  outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent);
  outline-offset: 5px;
}

.social-rail__viewport {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: 30px;
  cursor: grab;
  isolation: isolate;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
}

.social-rail.is-dragging .social-rail__viewport {
  cursor: grabbing;
}

.social-rail__track {
  position: absolute;
  top: 38px;
  left: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transform-style: preserve-3d;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.social-card {
  --curve-y: 0px;
  --curve-z: 0px;
  --curve-rotate-y: 0deg;
  --curve-rotate-z: 0deg;
  --curve-scale: 1;
  --curve-opacity: 1;
  flex: 0 0 var(--card-width);
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--border-strong) 85%, transparent);
  border-radius: 20px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface-solid) 82%, transparent);
  box-shadow: 0 15px 38px rgba(0, 0, 0, .2);
  backdrop-filter: blur(18px);
  transform: translate3d(0, var(--curve-y), var(--curve-z)) rotateY(var(--curve-rotate-y)) rotateZ(var(--curve-rotate-z)) scale(var(--curve-scale));
  transform-origin: center center;
  opacity: var(--curve-opacity);
  transition: border-color .22s ease, filter .22s ease, box-shadow .22s ease;
  will-change: transform, opacity;
}

.social-card:hover,
.social-card:focus-visible {
  border-color: color-mix(in srgb, var(--social-color, var(--primary)) 65%, white 8%);
  filter: brightness(1.12);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .28);
  outline: none;
}

.social-card--twitch {
  border-color: rgba(145, 71, 255, .62);
  background: color-mix(in srgb, var(--surface-solid) 76%, #9147ff 24%);
  box-shadow: 0 22px 58px rgba(100, 65, 165, .28);
}

.social-card__top,
.social-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.social-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: white;
  background: var(--social-color, var(--primary));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}

.social-card--twitch .social-card__icon {
  width: 48px;
  height: 48px;
}



.social-card__main {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.social-card__main strong {
  font-size: 18px;
  letter-spacing: -.02em;
}

.social-card--twitch .social-card__main strong {
  font-size: 21px;
}

.social-card__main span,
.social-card__label {
  color: var(--text-faint);
  font-size: 11px;
}

.social-card__label {
  font-weight: 750;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.social-card__visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 750;
}

.social-card__visit span {
  transition: transform .2s ease;
}

.social-card:hover .social-card__visit span,
.social-card:focus-visible .social-card__visit span {
  transform: translate(3px, -3px);
}

.social-rail__hint {
  margin: 4px 0 0;
  color: var(--text-faint);
  text-align: center;
  font-size: 12px;
}

.social-rail.is-dragging .social-card {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {

  .social-card,
  .social-card__visit span {
    transition: none;
  }
}

/* Sponsor carousel */
.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.carousel-button:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background: var(--surface-solid);
}

.carousel-button:disabled {
  opacity: .45;
  cursor: default;
  transform: none;
}

.sponsor-carousel {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
  touch-action: pan-y;
}

.sponsor-carousel:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent);
  outline-offset: 4px;
}

.sponsor-track {
  display: flex;
  transition: transform .38s ease;
}

.sponsor-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.sponsor-card {
  min-height: 500px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
}

.sponsor-card__media {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 38px;
  background: #0a0f1b;
  border-right: 1px solid var(--border);
}

.sponsor-card__media::before {
  content: "";
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--sponsor-accent, var(--primary)) 30%, transparent);
  border-radius: 50%;
  opacity: .6;
}

.sponsor-card__media-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  min-height: 330px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 26px;
  background: #060a13;
  box-shadow: 0 26px 62px rgba(0, 0, 0, .42);
}

.sponsor-card__image {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: var(--sponsor-image-fit, contain);
  object-position: var(--sponsor-image-position, center);
}

.sponsor-card__mark {
  min-width: 210px;
  min-height: 150px;
  display: none;
  place-items: center;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--sponsor-accent, var(--primary)) 55%, transparent);
  border-radius: 24px;
  color: var(--sponsor-accent, var(--primary));
  background: #101827;
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 900;
  letter-spacing: -.04em;
}

.sponsor-card__media-frame.uses-fallback {
  min-height: 260px;
  background: #0d1422;
}

.sponsor-card__media-frame.uses-fallback .sponsor-card__mark {
  display: grid;
}

.sponsor-card__media-frame:not(.has-loaded-image):not(.uses-fallback) .sponsor-card__mark {
  display: grid;
}

.sponsor-card__media-frame:not(.has-loaded-image):not(.uses-fallback) .sponsor-card__image {
  opacity: 0;
  position: absolute;
}

.sponsor-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 64px;
}

.sponsor-card__category {
  color: var(--sponsor-accent, var(--cyan));
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sponsor-card h3 {
  margin: 12px 0 18px;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.sponsor-card p {
  max-width: 580px;
  margin: 0 0 28px;
  color: var(--text-soft);
  font-size: 17px;
}

.sponsor-link-note {
  display: block;
  margin-top: 13px;
  color: var(--text-faint);
  font-size: 12px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: var(--border-strong);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.carousel-dot.is-active {
  width: 28px;
  background: var(--primary);
}

.sponsor-note,
.noscript-note {
  margin: 16px auto 0;
  max-width: 760px;
  color: var(--text-faint);
  text-align: center;
  font-size: 12px;
}

/* Star Citizen referral */
.star-citizen-card {
  min-height: 480px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 32px;
  background: #090f1a;
  box-shadow: var(--shadow-soft);
}

.star-citizen-card__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 68px;
}

.star-citizen-card h2 {
  margin: 12px 0 20px;
  color: #f8fafc;
}

.star-citizen-card__copy p {
  max-width: 650px;
  margin: 0 0 28px;
  color: #a7b1c5;
  font-size: 17px;
}

.star-citizen-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.referral-status {
  color: #7f8ca5;
  font-size: 12px;
}

.star-citizen-card__visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-left: 1px solid rgba(148, 163, 184, .16);
  background-color: #0b1424;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .55) 0 1px, transparent 1.5px);
  background-size: 34px 34px;
}

.space-label {
  position: relative;
  z-index: 2;
  color: #e2e8f0;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 300;
  letter-spacing: .18em;
  text-align: center;
}

.space-orbit {
  position: absolute;
  border: 1px solid rgba(56, 189, 248, .28);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.space-orbit--one {
  width: 270px;
  height: 130px;
}

.space-orbit--two {
  width: 390px;
  height: 190px;
  opacity: .5;
}

.referral-code-box {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 13px 13px 18px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 16px;
  background: rgba(5, 10, 20, .82);
  backdrop-filter: blur(12px);
}

.referral-code-box__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.referral-code-box small {
  color: #7f8ca5;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.referral-code-box strong {
  overflow-wrap: anywhere;
  color: #f8fafc;
  font-size: 14px;
  letter-spacing: .04em;
}

.copy-code-button {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 12px;
  color: #dbeafe;
  background: rgba(255, 255, 255, .07);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}

.copy-code-button:hover {
  transform: translateY(-2px);
  color: white;
  border-color: rgba(56, 189, 248, .62);
  background: rgba(56, 189, 248, .14);
}

.copy-code-button:focus-visible {
  outline: 3px solid rgba(56, 189, 248, .35);
  outline-offset: 3px;
}

.copy-code-button:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.copy-code-button.is-copied {
  color: #86efac;
  border-color: rgba(134, 239, 172, .55);
  background: rgba(34, 197, 94, .13);
}

.copy-code-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Merchandise */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface-solid);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(59, 130, 246, .16), transparent 35%), linear-gradient(145deg, var(--surface-2), var(--surface-solid));
}

.product-card__media::after {
  content: "DBN";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--text-faint) 35%, transparent);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .18em;
}

.product-card__media img {
  position: relative;
  z-index: 1;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.035);
}

.product-card__body {
  padding: 20px;
}

.product-type {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-card h3 {
  min-height: 50px;
  margin: 7px 0 16px;
  font-size: 18px;
  line-height: 1.35;
}

.product-card__body>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__body strong {
  font-size: 16px;
}

.product-arrow {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--text-soft);
  background: var(--surface-2);
  transition: transform .2s ease, color .2s ease;
}

.product-card:hover .product-arrow {
  transform: translate(2px, -2px);
  color: var(--text);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

/* Discord community */
.discord-card {
  position: relative;
  overflow: hidden;
  padding: 62px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 32px;
  color: white;
  background: #5865f2;
  box-shadow: 0 28px 70px rgba(88, 101, 242, .28);
}

.discord-card::after {
  content: "DBN";
  position: absolute;
  right: -12px;
  bottom: -55px;
  color: rgba(255, 255, 255, .08);
  font-size: 180px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.08em;
}

.discord-card__identity {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: start;
  gap: 24px;
  max-width: 800px;
}

.discord-logo {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 23px;
  background: rgba(255, 255, 255, .12);
}

.discord-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discord-card .kicker {
  color: #dbe2ff;
}

.discord-card h2 {
  margin: 8px 0 14px;
  color: white;
}

.discord-card__identity p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .8);
  font-size: 16px;
}

.discord-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  margin: 34px 0 26px 106px;
}

.discord-stat {
  min-width: 138px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
}

.discord-stat strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.discord-stat span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: rgba(255, 255, 255, .75);
  font-size: 12px;
}

.discord-stat i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, .8);
}

.discord-card__actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: 106px;
}

.discord-status {
  position: relative;
  z-index: 2;
  display: block;
  margin: 14px 0 0 106px;
  color: rgba(255, 255, 255, .68);
}

.button.is-disabled {
  opacity: .62;
  cursor: not-allowed;
  pointer-events: none;
}

/* Footer */
.site-footer {
  padding: 78px 0 28px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
}

.footer-brand p {
  max-width: 410px;
  margin: 20px 0 0;
  color: var(--text-faint);
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-links>div {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links strong {
  margin-bottom: 4px;
  font-size: 13px;
}

.footer-links a {
  color: var(--text-faint);
  font-size: 14px;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 12px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: var(--text-faint);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.back-to-top:hover {
  color: var(--text);
}

.back-to-top span {
  font-size: 15px;
}

/* Utility states */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 999;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 700;
  transition: opacity .2s ease, transform .2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1040px) {
  .desktop-nav {
    gap: 20px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-card {
    min-height: 510px;
  }

  .floating-card--two {
    right: 14px;
  }

  .about-grid {
    gap: 50px;
  }

  .stream-panel {
    grid-template-columns: 1fr;
  }

  .stream-preview {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .stream-info {
    padding: 44px;
  }

  .sponsor-card__copy {
    padding: 50px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .section {
    padding: 86px 0;
  }

  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .menu-button {
    display: block;
    position: relative;
    z-index: 130;
  }

  .site-header {
    background: var(--bg);
  }

  .hero {
    padding-top: 50px;
  }

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

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .hero h1 {
    max-width: 760px;
    margin-inline: auto;
  }

  .hero-card {
    width: min(100%, 600px);
    margin-inline: auto;
    min-height: 560px;
  }

  .link-rail {
    grid-template-columns: 1fr;
    width: min(100%, 640px);
  }

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

  .sponsor-card,
  .star-citizen-card {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 32px;
  }

  .section-heading--row {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .sponsor-card__media {
    min-height: 390px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .star-citizen-card__visual {
    min-height: 380px;
    border-left: 0;
    border-top: 1px solid rgba(148, 163, 184, .16);
  }

  .discord-card {
    padding: 48px 38px;
  }

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

@media (max-width: 600px) {
  .brand-copy span {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-mark img {
    width: 40px;
    height: 40px;
  }

  .section {
    padding: 72px 0;
  }

  .hero h1 {
    font-size: clamp(44px, 15vw, 62px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    gap: 11px 16px;
  }

  .hero-card {
    min-height: 450px;
    border-radius: 28px;
  }

  .hero-avatar {
    width: 92%;
  }

  .hero-card__ring--one {
    width: 310px;
    height: 310px;
  }

  .hero-card__ring--two {
    width: 410px;
    height: 410px;
  }

  .floating-card--two {
    display: none;
  }

  .section-heading h2,
  .star-citizen-card h2,
  .discord-card h2 {
    font-size: 38px;
  }

  .stream-preview {
    min-height: 390px;
    padding: 12px;
  }

  .stream-preview__stage {
    min-height: 330px;
  }

  .stream-preview__stage img {
    width: 72%;
    right: -12%;
  }

  .stream-preview__copy {
    left: 20px;
    bottom: 22px;
    max-width: 65%;
  }

  .stream-preview__copy strong {
    font-size: 27px;
  }

  .play-button {
    width: 52px;
    height: 52px;
    left: 20px;
    top: 20px;
  }

  .stream-info {
    padding: 34px 24px;
  }

  .stream-info h3 {
    font-size: 30px;
  }

  .sponsor-card__media {
    min-height: 310px;
    padding: 24px;
  }

  .sponsor-card__media::before {
    width: 250px;
  }

  .sponsor-card__media-frame {
    width: min(100%, 390px);
    min-height: 260px;
  }

  .sponsor-card__image {
    min-height: 260px;
  }

  .sponsor-card__copy {
    padding: 38px 24px;
  }

  .sponsor-card h3 {
    font-size: 38px;
  }

  .star-citizen-card__copy {
    padding: 42px 24px;
  }

  .star-citizen-card__visual {
    min-height: 320px;
  }

  .space-label {
    font-size: 31px;
  }

  .referral-code-box {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .discord-card {
    padding: 40px 24px;
  }

  .discord-card__identity {
    grid-template-columns: 1fr;
  }

  .discord-logo {
    width: 68px;
    height: 68px;
  }

  .discord-stats,
  .discord-card__actions,
  .discord-status {
    margin-left: 0;
  }

  .discord-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .discord-stats {
    flex-wrap: wrap;
  }

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

  .product-card__media {
    aspect-ratio: 1.05 / 1;
  }

  .footer-links {
    gap: 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


@media (max-width: 1024px) {
  .social-rail {
    --card-width: clamp(164px, 22vw, 196px);
  }
}

@media (max-width: 700px) {
  .social-rail {
    --card-width: min(42vw, 176px);
    margin-top: 28px;
    perspective: 760px;
  }

  .social-rail__viewport {
    min-height: 232px;
    border-radius: 24px;
  }

  .social-rail__track {
    top: 34px;
    gap: 10px;
  }

  .social-card {
    min-height: 142px;
    padding: 15px;
    border-radius: 17px;
  }

  .social-card__label {
    display: none;
  }

  .social-card__icon {
    width: 38px;
    height: 38px;
  }

  .social-card--twitch .social-card__icon {
    width: 42px;
    height: 42px;
  }

  .social-card__main strong {
    font-size: 16px;
  }

  .social-card--twitch .social-card__main strong {
    font-size: 18px;
  }
}


/* V7 interaction and content polish */
.social-card {
  cursor: pointer;
  -webkit-user-drag: none;
}

.icon-swap-button {
  position: relative;
}

.icon-swap-button .copy-icon,
.icon-swap-button .check-icon {
  grid-area: 1 / 1;
  transition: opacity .18s ease, transform .18s ease;
}

.icon-swap-button .check-icon {
  opacity: 0;
  transform: scale(.65);
}

.icon-swap-button.is-copied .copy-icon {
  opacity: 0;
  transform: scale(.65);
}

.icon-swap-button.is-copied .check-icon {
  opacity: 1;
  transform: scale(1);
}

.copy-code-button.icon-swap-button {
  display: grid;
}

/* Discord community */
.discord-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 34px;
  color: #f8fafc;
  background: #0d1222;
  box-shadow: 0 34px 90px rgba(4, 8, 20, .38);
}


.discord-panel__main,
.discord-panel__stats {
  position: relative;
  z-index: 1;
}

.discord-panel__main {
  padding: 48px 50px;
}

.discord-panel__stats {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 22px;
  margin: 18px;
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 26px;
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(18px);
}

.discord-live-pill,
.discord-stats-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(134, 239, 172, .18);
  color: #bbf7d0;
  background: rgba(34, 197, 94, .08);
}

.discord-live-pill {
  gap: 8px;
  margin-bottom: 30px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.discord-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 5px rgba(74, 222, 128, .1), 0 0 18px rgba(74, 222, 128, .7);
}

.discord-identity {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.discord-logo {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 21px;
  background: #5865f2;
  box-shadow: 0 18px 44px rgba(88, 101, 242, .28);
}

.discord-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.discord-identity__copy .kicker {
  color: #a5b4fc;
}

.discord-identity__copy h2 {
  max-width: 520px;
  margin: 7px 0 11px;
  color: #fff;
  font-size: clamp(34px, 3.25vw, 46px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.discord-identity__copy p {
  max-width: 620px;
  margin: 0;
  color: #aeb8ca;
  font-size: 16px;
  line-height: 1.7;
}

.discord-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.discord-feature-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 12px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, .035);
  font-size: 12px;
  font-weight: 700;
}

.discord-feature-list svg,
.discord-actions .button-icon,
.discord-actions .button-arrow {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.discord-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button--discord,
.button--discord-secondary {
  min-height: 48px;
  gap: 10px;
  border-radius: 14px;
}

.button--discord {
  color: #fff;
  background: #5865f2;
  box-shadow: 0 14px 34px rgba(88, 101, 242, .25);
}

.button--discord:hover {
  background: #6874f4;
}

.button--discord .button-arrow {
  margin-left: 2px;
  transition: transform .2s ease;
}

.button--discord:hover .button-arrow {
  transform: translateX(3px);
}

.button--discord-secondary {
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, .2);
  background: rgba(255, 255, 255, .055);
}

.button--discord-secondary:hover {
  color: #fff;
  border-color: rgba(165, 180, 252, .4);
  background: rgba(88, 101, 242, .12);
}

.button--discord-secondary .button-icon-wrap {
  display: grid;
  width: 18px;
  height: 18px;
}

.button--discord-secondary svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--discord-secondary.is-copied {
  color: #bbf7d0;
  border-color: rgba(74, 222, 128, .35);
  background: rgba(34, 197, 94, .09);
}

.discord-status {
  display: block;
  margin-top: 14px;
  color: #748198;
  font-size: 12px;
}

.discord-stats-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #dbe3f0;
  font-size: 13px;
  font-weight: 800;
}

.discord-stats-badge {
  padding: 6px 9px;
  border-color: rgba(148, 163, 184, .16);
  color: #94a3b8;
  background: rgba(148, 163, 184, .07);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.discord-stats-badge.is-live {
  border-color: rgba(74, 222, 128, .2);
  color: #86efac;
  background: rgba(34, 197, 94, .08);
}

.discord-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.discord-stat {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 18px;
  background: rgba(5, 10, 24, .42);
}

.discord-stat:first-child {
  grid-column: 1 / -1;
}

.discord-stat__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  line-height: 0;
  color: #a5b4fc;
  background: rgba(88, 101, 242, .13);
}

.discord-stat--online .discord-stat__icon {
  color: #86efac;
  background: rgba(34, 197, 94, .1);
}

.discord-stat__icon svg {
  width: 20px;
  height: 20px;
  display: block;
  margin: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.discord-stat>span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.discord-stat small {
  color: #77849a;
  font-size: 11px;
  font-weight: 700;
}

.discord-stat strong {
  color: #f8fafc;
  font-size: 27px;
  line-height: 1;
  letter-spacing: -.035em;
}

.discord-community-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, .12);
}

.discord-community-note__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  line-height: 0;
  color: #7dd3fc;
  background: rgba(56, 189, 248, .1);
}

.discord-community-note__icon svg {
  width: 20px;
  height: 20px;
  display: block;
  margin: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.discord-community-note>span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.discord-community-note strong {
  color: #e5e7eb;
  font-size: 13px;
}

.discord-community-note small {
  color: #77849a;
  font-size: 11px;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  position: relative;
  padding: 84px 0 28px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-solid) 68%, transparent);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(270px, .8fr) minmax(0, 1.7fr);
  gap: 72px;
  align-items: start;
}

.footer-brand-panel {
  max-width: 390px;
}

.footer-brand-panel p {
  margin: 22px 0 0;
  color: var(--text-faint);
  font-size: 14px;
  line-height: 1.7;
}

.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.footer-social-icons a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--text-faint);
  background: var(--surface-2);
  transition: color .2s ease, border-color .2s ease, transform .2s ease, background .2s ease;
}

.footer-social-icons a:hover,
.footer-social-icons a:focus-visible {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface-solid);
  transform: translateY(-2px);
  outline: none;
}



.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-column>strong {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column button {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border: 0;
  border-radius: 10px;
  color: var(--text-faint);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  text-align: left;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-column button:hover,
.footer-column button:focus-visible {
  color: var(--text);
  background: transparent;
  transform: translateX(3px);
  outline: none;
}

.footer-column svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}



.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 12px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  color: var(--text-faint);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.back-to-top:hover {
  color: var(--text);
  background: var(--surface-2);
}

.back-to-top svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

  .discord-panel__stats {
    margin: 0 18px 18px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .footer-brand-panel {
    max-width: 540px;
  }
}

@media (max-width: 700px) {
  .discord-panel {
    border-radius: 26px;
  }

  .discord-panel__main {
    padding: 34px 24px 28px;
  }

  .discord-panel__stats {
    margin: 0 12px 12px;
    padding: 22px;
    border-radius: 21px;
  }

  .discord-identity {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .discord-logo {
    width: 70px;
    height: 70px;
    border-radius: 20px;
  }

  .discord-identity__copy h2 {
    font-size: 36px;
  }

  .discord-actions {
    flex-direction: column;
  }

  .discord-actions .button {
    width: 100%;
  }

  .discord-stats-grid {
    grid-template-columns: 1fr;
  }

  .discord-stat:first-child {
    grid-column: auto;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }

  .footer-column--socials {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-column--socials>strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 440px) {
  .footer-nav {
    grid-template-columns: 1fr;
  }

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

/* Keep the moving track out of the hit-test layer so every card stays clickable. */
.social-rail__track {
  pointer-events: none;
}

.social-card {
  pointer-events: auto;
}

.social-rail.is-dragging .social-card {
  pointer-events: none;
}

/* Copy feedback should be immediate, even when the tab is backgrounded. */
.icon-swap-button .copy-icon {
  display: block;
}

.icon-swap-button .check-icon {
  display: none;
}

.icon-swap-button.is-copied .copy-icon {
  display: none;
}

.icon-swap-button.is-copied .check-icon {
  display: block;
}

@media (min-width: 701px) {
  .footer-column--socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    column-gap: 8px;
  }

  .footer-column--socials>strong {
    grid-column: 1 / -1;
  }
}



@media (min-width: 821px) {
  .mobile-menu {
    display: none !important;
  }
}


/* Official brand icons */
.button-brand-icon {
  width: auto !important;
  height: auto !important;
  font-size: 19px;
  line-height: 1;
}

.quick-link__icon .fa-brands,
.social-card__icon .fa-brands {
  line-height: 1;
}

.quick-link__icon .fa-brands {
  font-size: 23px;
}

.social-card__icon .fa-brands {
  font-size: 23px;
}

.social-card--twitch .social-card__icon .fa-brands {
  font-size: 27px;
}

.brand-icon-svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

/* Solid, recognizable platform treatments in the social rail. */
.social-card[data-platform="twitch"] .social-card__icon {
  color: #fff;
  background: #9146ff;
}

.social-card[data-platform="youtube"] .social-card__icon {
  color: #fff;
  background: #ff0000;
}

.social-card[data-platform="tiktok"] .social-card__icon {
  color: #fff;
  background: #010101;
  border: 1px solid rgba(255, 255, 255, .14);
}

.social-card[data-platform="kick"] .social-card__icon {
  color: #090d08;
  background: #53fc18;
  border: 1px solid rgba(83, 252, 24, .55);
}

.social-card[data-platform="instagram"] .social-card__icon {
  color: #fff;
  background: #e4405f;
}

.social-card[data-platform="twitter"] .social-card__icon {
  color: #fff;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .16);
}

.social-card[data-platform="bluesky"] .social-card__icon {
  color: #fff;
  background: #1185fe;
}

.social-card--twitch .brand-icon-svg {
  width: 26px;
  height: 26px;
}

/* The homepage shortcut icons use the same official brand colors. */
.quick-link__icon--twitch {
  color: #fff;
  background: #9146ff;
}

.quick-link__icon--discord {
  color: #fff;
  background: #5865f2;
}

/* Restore the original outlined Star Citizen symbol and its gold icon card. */
.quick-link__icon--star {
  color: #fbbf24;
  background: rgba(245, 158, 11, .14);
}

.quick-link__icon--star svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.discord-logo .fa-discord {
  color: #fff;
  font-size: 44px;
  line-height: 1;
}

/* Keep the footer calm and monochrome while retaining official icon shapes. */
.footer-social-icons .fa-brands,
.footer-column--socials .fa-brands,
.footer-column a .fa-discord {
  flex: 0 0 18px;
  width: 18px;
  color: currentColor;
  font-size: 18px;
  line-height: 1;
  text-align: center;
}

.footer-social-icons .brand-icon-svg,
.footer-column--socials .brand-icon-svg {
  width: 18px;
  height: 18px;
  color: currentColor;
  fill: currentColor;
  opacity: .82;
}

/* Giveaways page */
.giveaways-hero {
  padding: 82px 0 56px;
}

.giveaways-hero__inner {
  max-width: 790px;
}

.giveaways-hero h1 {
  margin: 18px 0;
  font-size: clamp(48px, 7vw, 78px);
  line-height: 1;
  letter-spacing: -.055em;
}

.giveaways-hero p {
  max-width: 690px;
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
}

.giveaways-list {
  padding: 18px 0 72px;
}

.giveaway-group {
  padding: 46px 0;
}

.giveaway-group+.giveaway-group {
  border-top: 1px solid var(--border);
}

.giveaway-group__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.giveaway-group__heading h2 {
  margin: 6px 0 0;
}

.giveaway-count {
  color: var(--text-faint);
  font-size: 13px;
}

.giveaway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.giveaway-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
}

.giveaway-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface-2);
}

.giveaway-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.giveaway-card__status {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: white;
  background: rgba(7, 10, 18, .78);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.giveaway-card[data-status="active"] .giveaway-card__status {
  color: #bbf7d0;
  border-color: rgba(52, 211, 153, .3);
  background: rgba(6, 78, 59, .72);
}

.giveaway-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.giveaway-card__host {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.giveaway-card h3 {
  margin: 9px 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.giveaway-card p {
  margin: 0 0 22px;
  color: var(--text-soft);
  font-size: 14px;
}

.giveaway-card .button {
  width: 100%;
  margin-top: auto;
}

.giveaway-card .button[aria-disabled="true"] {
  opacity: .58;
  pointer-events: none;
}

.giveaway-empty {
  grid-column: 1/-1;
  padding: 28px;
  border: 1px dashed var(--border-strong);
  border-radius: 20px;
  color: var(--text-faint);
  text-align: center;
}

@media (max-width: 900px) {
  .giveaway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .giveaway-group__heading {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
}


/* V13 targeted refinements */
.button--giveaways .giveaway-button-icon {
  color: #fbbf24;
}

/* The intro now begins on the same left edge as the giveaway groups below. */
.giveaways-hero__inner {
  max-width: none;
  text-align: left;
}

.giveaways-hero__inner h1 {
  max-width: 790px;
}

.giveaways-hero__inner p {
  max-width: 690px;
}

/* Restore the footer's previous clean, single-surface treatment. */
.site-footer {
  background: color-mix(in srgb, var(--surface-solid) 68%, transparent);
}

.footer-social-icons a {
  color: var(--text-faint);
  background: var(--surface-2);
}

.footer-social-icons a:hover,
.footer-social-icons a:focus-visible {
  color: var(--text);
  background: var(--surface-solid);
}


.footer-column--socials a:hover,
.footer-column--socials a:focus-visible {
  color: var(--text);
}