:root {
  --ink: #050403;
  --ink-soft: #0d0906;
  --panel: rgba(15, 10, 6, 0.9);
  --panel-soft: rgba(24, 16, 9, 0.76);
  --cream: #fff8e9;
  --muted: #cdbd9e;
  --gold: #d9a64f;
  --gold-light: #f5d995;
  --line: rgba(245, 217, 149, 0.26);
  --line-strong: rgba(245, 217, 149, 0.5);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --radius: 30px;
  --wrap: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 106px;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 166, 79, 0.18), transparent 28rem),
    radial-gradient(circle at 96% 16%, rgba(245, 217, 149, 0.1), transparent 30rem),
    linear-gradient(180deg, #020201 0%, #0b0704 48%, #050403 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 0 35%, rgba(217, 166, 79, 0.035) 46%, transparent 58%);
  background-size: 220% 100%;
  animation: backgroundSweep 16s ease-in-out infinite;
  pointer-events: none;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-160%);
  border-radius: 999px;
  color: #140c04;
  background: var(--gold-light);
  font-weight: 900;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.grain {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 0.55px, transparent 0.7px);
  background-size: 4px 4px;
  mix-blend-mode: screen;
  pointer-events: none;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(5, 4, 3, 0.96), rgba(20, 13, 6, 0.86));
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(var(--wrap), calc(100% - 36px));
  min-height: 76px;
  margin: 0 auto;
}

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

.brand img {
  width: 50px;
  height: 50px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(217, 166, 79, 0.06), 0 0 28px rgba(217, 166, 79, 0.2);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.brand:hover img {
  transform: rotate(-3deg) scale(1.06);
  box-shadow: 0 0 0 3px rgba(217, 166, 79, 0.12), 0 0 36px rgba(217, 166, 79, 0.34);
}

.brand span,
.footer-brand {
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  gap: clamp(14px, 2vw, 26px);
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.primary-nav a {
  position: relative;
  padding: 28px 0 26px;
  transition: color 180ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  background: var(--gold-light);
  box-shadow: 0 0 10px var(--gold);
  transition: transform 180ms ease;
}

.primary-nav a:hover {
  color: var(--gold-light);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
}

.header-socials {
  display: flex;
  gap: 7px;
  align-items: center;
}

.social-icon {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(245, 217, 149, 0.22);
  border-radius: 50%;
  color: #d9c9aa;
  background: rgba(0, 0, 0, 0.24);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.social-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-icon::after {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  padding: 5px 8px;
  content: attr(data-label);
  transform: translate(-50%, -4px);
  opacity: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--cream);
  background: #0b0805;
  font-size: 0.65rem;
  font-weight: 800;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  transform: translateY(-3px) rotate(-4deg) scale(1.08);
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 22px color-mix(in srgb, currentColor 45%, transparent);
}

.social-icon:hover::after,
.social-icon:focus-visible::after {
  transform: translate(-50%, 0);
  opacity: 1;
}

.twitch { color: #b88aff; }
.kick { color: #65ff31; }
.youtube { color: #ff625b; }
.tiktok { color: #4ef5ee; }
.instagram { color: #ff7ad9; }
.discord { color: #8297ff; }

.hero {
  position: relative;
  width: min(var(--wrap), calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 18px;
  isolation: isolate;
}

.embers {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  pointer-events: none;
}

.hero-stage {
  position: relative;
  width: 100%;
  perspective: 1000px;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  inset: 10% 8%;
  filter: blur(48px);
  border-radius: 50%;
  background: rgba(217, 166, 79, 0.32);
  animation: glowPulse 4.5s ease-in-out infinite;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #070503;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 160ms ease-out, box-shadow 240ms ease;
  transform-style: preserve-3d;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 247, 225, 0.12), transparent 30%, transparent 72%, rgba(217, 166, 79, 0.12));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.hero-shine {
  position: absolute;
  z-index: 2;
  top: -30%;
  bottom: -30%;
  left: -55%;
  width: 35%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 239, 199, 0.18), transparent);
  animation: heroShine 7s ease-in-out infinite;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  margin-top: -1px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(180deg, rgba(6, 5, 4, 0.96), rgba(16, 10, 6, 0.96));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.hero-copy h1 {
  max-width: 980px;
  font-size: clamp(2.9rem, 7vw, 5.25rem);
}

.status {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 20px;
  padding: 8px 12px;
  border: 1px solid rgba(245, 217, 149, 0.28);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(217, 166, 79, 0.07);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 13px var(--gold);
  animation: statusPulse 2.2s ease-in-out infinite;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.5rem, 6.4vw, 6.6rem);
  line-height: 0.9;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
}

h1 em,
h2 em {
  color: var(--gold-light);
  font-weight: inherit;
}

.hero-lead,
.lead {
  max-width: 780px;
  margin: 22px 0 0;
  color: #e6d7bb;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.72;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 20px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

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

.button-gold {
  position: relative;
  color: #170e05;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 28px rgba(217, 166, 79, 0.22);
}

.button-gold::before {
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -45%;
  width: 30%;
  content: "";
  transform: rotate(18deg);
  background: rgba(255, 255, 255, 0.3);
  transition: left 380ms ease;
}

.button-gold:hover::before {
  left: 120%;
}

.button-gold:hover {
  box-shadow: 0 10px 34px rgba(217, 166, 79, 0.35);
}

.button-dark {
  color: var(--gold-light);
  background: rgba(0, 0, 0, 0.32);
}

.button-dark:hover {
  border-color: var(--gold-light);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.32);
}

.banner-strip {
  width: min(var(--wrap), calc(100% - 36px));
  margin: 10px auto 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.banner-strip > img {
  width: 100%;
  height: auto;
}

.section {
  padding: clamp(54px, 8vw, 104px) 0 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 36px));
  margin: 0 auto;
}

.card {
  position: relative;
  padding: clamp(24px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 34%),
    linear-gradient(145deg, var(--panel), var(--panel-soft));
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.4);
}

.card::before {
  position: absolute;
  top: -110px;
  right: -100px;
  width: 320px;
  height: 320px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 166, 79, 0.13), transparent 68%);
  pointer-events: none;
}

.about {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
}

.logo-medallion {
  position: relative;
  width: 150px;
  height: 150px;
  overflow: hidden;
  border: 1px solid rgba(245, 217, 149, 0.38);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 0 34px rgba(217, 166, 79, 0.18);
}

.logo-medallion::before,
.logo-medallion::after {
  content: none;
}

.logo-medallion img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.about h2 {
  font-size: clamp(1.9rem, 5vw, 3.25rem);
}

.rank-card {
  overflow: hidden;
}

.corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: var(--gold-light);
  opacity: 0.8;
}

.corner-tl { top: 18px; left: 18px; border-top: 2px solid; border-left: 2px solid; }
.corner-tr { top: 18px; right: 18px; border-top: 2px solid; border-right: 2px solid; }
.corner-bl { bottom: 18px; left: 18px; border-bottom: 2px solid; border-left: 2px solid; }
.corner-br { right: 18px; bottom: 18px; border-right: 2px solid; border-bottom: 2px solid; }

.rank-heading {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.checkpoint {
  display: grid;
  flex: 0 0 auto;
  gap: 2px;
  margin: 4px 0 0;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.checkpoint strong {
  color: var(--gold-light);
  font-size: 0.78rem;
}

.rank-track {
  --rank-progress: 0%;
  position: relative;
  margin-top: clamp(34px, 6vw, 66px);
  padding: 42px 0 6px;
  scrollbar-width: none;
}

.rank-track::-webkit-scrollbar {
  display: none;
}

.rank-line {
  position: absolute;
  top: 48px;
  right: 5%;
  left: 5%;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(245, 217, 149, 0.16);
}

.rank-line span {
  display: block;
  width: var(--rank-progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 18px var(--gold);
  transition: width 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rank-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-list li {
  position: relative;
  display: grid;
  gap: 12px;
  justify-items: center;
  color: #a79575;
  font-size: clamp(0.58rem, 1vw, 0.72rem);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.rank-node {
  position: relative;
  z-index: 2;
  width: 15px;
  height: 15px;
  border: 2px solid #756448;
  border-radius: 50%;
  background: #0a0704;
  box-shadow: 0 0 0 6px #0a0704;
}

.rank-target {
  color: var(--gold-light) !important;
}

.rank-target .rank-node {
  border-color: var(--gold-light);
  background: var(--gold);
  box-shadow: 0 0 0 6px #0a0704, 0 0 24px var(--gold);
  animation: targetPulse 2.2s ease-in-out infinite;
}

.rank-list .rank-complete {
  color: var(--gold-light);
}

.rank-list .rank-complete .rank-node {
  border-color: var(--gold-light);
  background: var(--gold);
  box-shadow: 0 0 0 6px #0a0704, 0 0 18px rgba(217, 166, 79, 0.65);
}

.rank-list .rank-current {
  color: #f7fbff;
}

.rank-list .rank-current::before {
  content: "Current";
  position: absolute;
  top: -33px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  padding: 5px 9px;
  border: 1px solid rgba(210, 235, 255, 0.75);
  border-radius: 999px;
  color: #f7fbff;
  background: rgba(43, 72, 105, 0.92);
  box-shadow: 0 0 18px rgba(138, 199, 255, 0.55);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.rank-list .rank-current .rank-node {
  transform: scale(1.28);
  border-color: #e9f7ff;
  background: #9ed7ff;
  box-shadow:
    0 0 0 6px #0a0704,
    0 0 10px #f5fbff,
    0 0 28px rgba(111, 190, 255, 0.95);
  animation: currentRankPulse 1.9s ease-in-out infinite;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.mini-card {
  position: relative;
  min-height: 250px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(25, 16, 9, 0.84), rgba(4, 3, 2, 0.75));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.mini-card::after {
  position: absolute;
  right: -35%;
  bottom: -70%;
  width: 190px;
  height: 190px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 166, 79, 0.12), transparent 68%);
  transition: transform 280ms ease;
}

.mini-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32), 0 0 30px rgba(217, 166, 79, 0.08);
}

.mini-card:hover::after {
  transform: translate(-20%, -18%);
}

.mini-card > span {
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mini-card h3 {
  margin: 24px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.05;
}

.mini-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #d7c6a7;
  font-size: 0.93rem;
  line-height: 1.62;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-top: 30px;
}

.platform {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 126px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.platform::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--platform-color) 22%, transparent), transparent 48%);
  transition: opacity 180ms ease;
}

.platform:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--platform-color) 60%, var(--gold-light));
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.3);
}

.platform:hover::before {
  opacity: 1;
}

.platform-name,
.platform strong,
.platform-arrow {
  position: relative;
  z-index: 1;
}

.platform-name {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-name i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--platform-color);
  box-shadow: 0 0 12px var(--platform-color);
}

.platform strong {
  align-self: end;
  color: #dac9aa;
  font-size: 0.84rem;
  font-weight: 700;
}

.platform-arrow {
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: var(--platform-color);
  font-size: 1.1rem;
  transition: transform 180ms ease;
}

.platform:hover .platform-arrow {
  transform: translate(3px, -3px);
}

.twitch-platform { --platform-color: #a970ff; }
.kick-platform { --platform-color: #53fc18; }
.youtube-platform { --platform-color: #ff4e45; }
.tiktok-platform { --platform-color: #25f4ee; }
.instagram-platform { --platform-color: #ff65c8; }
.discord-platform { --platform-color: #7289da; }
.spotify-platform { --platform-color: #1ed760; }
.tip-platform { --platform-color: #f5d995; }

.split-card {
  display: flex;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  justify-content: space-between;
}

.split-card > div {
  max-width: 780px;
}

.split-card .button {
  flex: 0 0 auto;
}

body.dialog-open {
  overflow: hidden;
}

.contact-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: min(92dvh, 760px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  color: var(--cream);
  background:
    radial-gradient(circle at 90% 4%, rgba(217, 166, 79, 0.2), transparent 17rem),
    linear-gradient(145deg, rgba(25, 17, 10, 0.99), rgba(7, 5, 3, 0.99));
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.82), 0 0 50px rgba(217, 166, 79, 0.16);
}

.contact-dialog[open] {
  animation: dialogIn 240ms ease-out;
}

.contact-dialog::backdrop {
  background: rgba(2, 1, 1, 0.82);
  backdrop-filter: blur(9px);
}

.contact-dialog-shell {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
}

.contact-dialog h2 {
  max-width: 560px;
  margin-top: 10px;
  font-size: clamp(2.15rem, 6vw, 3.5rem);
}

.contact-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(5, 3, 2, 0.72);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.contact-close:hover {
  transform: rotate(6deg) scale(1.06);
  border-color: var(--gold-light);
  background: rgba(217, 166, 79, 0.14);
}

.contact-intro,
.contact-success > p:not(.section-label) {
  margin: 14px 0 0;
  color: #e6d7bb;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--cream);
  background: rgba(2, 1, 1, 0.56);
  font: 500 1rem/1.5 Inter, ui-sans-serif, system-ui, sans-serif;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-field input {
  min-height: 50px;
  padding: 12px 14px;
}

.form-field textarea {
  min-height: 110px;
  padding: 13px 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--gold-light);
  background: rgba(10, 6, 3, 0.88);
  box-shadow: 0 0 0 3px rgba(217, 166, 79, 0.16), 0 0 22px rgba(217, 166, 79, 0.13);
}

.contact-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.form-privacy {
  max-width: 290px;
  margin: 0;
  color: #a99573;
  font-size: 0.72rem;
  line-height: 1.5;
}

.form-status {
  min-height: 1.5em;
  margin: -4px 0 0;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 750;
}

.form-status.is-error {
  color: #ffb4a8;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-success {
  padding: clamp(28px, 5vw, 54px) 0;
  text-align: center;
}

.contact-success h2 {
  margin-right: auto;
  margin-left: auto;
}

.contact-success > p:not(.section-label) {
  max-width: 490px;
  margin-right: auto;
  margin-left: auto;
}

.contact-success .button {
  margin-top: 28px;
}

.thanks-page {
  display: grid;
  min-height: 100dvh;
  padding: 24px;
  place-items: center;
}

.thanks-card {
  width: min(680px, 100%);
  text-align: center;
}

.thanks-card h1 {
  margin-top: 12px;
  font-size: clamp(3rem, 10vw, 6rem);
}

.thanks-card .lead {
  margin-right: auto;
  margin-left: auto;
}

.thanks-card .button {
  margin-top: 28px;
}

.site-footer {
  display: grid;
  gap: 16px;
  justify-items: center;
  width: min(var(--wrap), calc(100% - 36px));
  margin: clamp(70px, 10vw, 130px) auto 0;
  padding: 42px 0 50px;
  border-top: 1px solid var(--line);
  color: #af9c79;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.site-footer nav a {
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--gold-light);
  transition: border-color 160ms ease, background 160ms ease;
}

.site-footer nav a:hover {
  border-color: var(--line);
  background: rgba(217, 166, 79, 0.07);
}

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

.js .reveal {
  transform: translateY(22px);
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .reveal.is-visible {
  transform: none;
  opacity: 1;
}

@keyframes backgroundSweep {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0 0; }
}

@keyframes glowPulse {
  0%, 100% { transform: scale(0.94); opacity: 0.58; }
  50% { transform: scale(1.07); opacity: 0.9; }
}

@keyframes heroShine {
  0%, 45% { left: -55%; opacity: 0; }
  52% { opacity: 1; }
  68%, 100% { left: 130%; opacity: 0; }
}

@keyframes statusPulse {
  0%, 100% { transform: scale(0.82); opacity: 0.65; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes targetPulse {
  0%, 100% { transform: scale(0.9); }
  50% { transform: scale(1.14); }
}

@keyframes currentRankPulse {
  0%, 100% { transform: scale(1.18); filter: brightness(0.95); }
  50% { transform: scale(1.42); filter: brightness(1.2); }
}

@keyframes dialogIn {
  from { transform: translateY(16px) scale(0.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .primary-nav {
    display: none;
  }

  .header-socials {
    justify-content: flex-end;
  }

  .hero {
    padding-top: 24px;
  }

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

  .mini-card {
    min-height: 220px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 132px;
  }

  .header-inner {
    grid-template-columns: auto 1fr;
    gap: 10px;
    width: min(100% - 24px, var(--wrap));
    padding: 8px 0 9px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span {
    display: none;
  }

  .header-socials {
    gap: 5px;
  }

  .social-icon {
    width: 32px;
    height: 32px;
  }

  .social-icon::after {
    display: none;
  }

  .hero,
  .wrap,
  .banner-strip,
  .site-footer {
    width: min(100% - 24px, var(--wrap));
  }

  .hero {
    padding: 18px 0 10px;
  }

  .hero-visual {
    border-radius: 22px;
  }

  .hero-copy {
    padding: 22px 17px;
    border-radius: 0 0 22px 22px;
  }

  .hero-lead,
  .lead {
    line-height: 1.62;
  }

  .button {
    width: 100%;
  }

  .about {
    grid-template-columns: 86px 1fr;
    gap: 16px;
  }

  .logo-medallion {
    width: 86px;
    height: 86px;
  }

  .about {
    grid-template-columns: 96px 1fr;
    gap: 22px;
  }

  .card {
    border-radius: 22px;
  }

  .rank-heading,
  .split-card {
    display: grid;
  }

  .checkpoint {
    justify-self: start;
  }

  .rank-track {
    margin-top: 32px;
    overflow-x: auto;
    padding: 42px 4px 14px;
    overscroll-behavior-inline: contain;
  }

  .rank-line {
    top: 48px;
    right: 46px;
    left: 46px;
    min-width: 530px;
  }

  .rank-list {
    grid-template-columns: repeat(8, 74px);
    min-width: 592px;
  }

  .feature-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .mini-card {
    min-height: 0;
  }

  .split-card .button {
    margin-top: 2px;
  }

  .contact-fields {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    display: grid;
  }
}

@media (max-width: 460px) {
  .header-socials {
    display: grid;
    grid-template-columns: repeat(6, 30px);
  }

  .social-icon {
    width: 30px;
    height: 30px;
  }

  .social-icon svg {
    width: 15px;
    height: 15px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.1rem);
  }

  h2 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }

  .status {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

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

  .logo-medallion {
    width: 96px;
    height: 96px;
  }

  .card {
    padding: 24px 20px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .embers {
    display: none;
  }
}

@media (forced-colors: active) {
  .card,
  .mini-card,
  .platform,
  .button,
  .social-icon {
    border: 1px solid CanvasText;
  }
}
