:root {
  --ink: #07101c;
  --paper: #eee6d2;
  --gold: #dca333;
  --display: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--ink); }

body {
  min-width: 320px;
  margin: 0;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--body);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.09;
  background-image: repeating-radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.72) 0 0.4px, transparent 0.7px 3px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
}

.hero-page, .hero { min-height: 100svh; }

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  width: min(1440px, calc(100% - 48px));
  height: 92px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transform: translateX(-50%);
}

.brand { display: inline-flex; align-items: center; gap: 11px; }

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(238, 230, 210, 0.58);
}

.brand span { display: grid; line-height: 1; }
.brand strong { font-family: var(--display); font-size: 1.04rem; letter-spacing: 0.085em; }
.brand small {
  margin-top: 6px;
  color: #aab7c7;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-art, .hero-grid, .hero-scanline {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-art {
  background-image:
    linear-gradient(180deg, rgba(3, 9, 17, 0.1), rgba(3, 9, 17, 0.12) 42%, rgba(3, 9, 17, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 41, 87, 0.23), transparent 44%, transparent 56%, rgba(93, 10, 17, 0.22)),
    url("assets/dessert-storm-hero.png");
  background-position: center;
  background-size: cover;
  filter: saturate(1.06) contrast(1.05);
  transform: scale(1.015);
}

.hero-grid {
  z-index: -2;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 6%, #000 65%, transparent 100%);
}

.hero-scanline {
  z-index: -1;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent 11%, rgba(255, 255, 255, 0.7) 49%, transparent 92%);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.2);
}

.hero-content {
  width: min(850px, calc(100% - 42px));
  padding: 138px 0 108px;
  text-align: center;
  text-shadow: 0 3px 30px #03070d;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 21px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.eyebrow span { width: 34px; height: 1px; background: currentColor; }

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(5.7rem, 12vw, 10.4rem);
  font-stretch: condensed;
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.72;
  transform: scaleX(0.88);
}

.hero h1 span { display: block; }
.hero h1 span:first-child {
  color: var(--paper);
  font-size: 0.78em;
  letter-spacing: 0.08em;
  transform: translateX(0.04em);
}

.hero h1 span:last-child {
  padding: 0.12em 0 0.09em;
  color: transparent;
  background: linear-gradient(90deg, #4fb0ff 0 44%, var(--paper) 49% 51%, #ff5c60 56% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.2));
}

.tagline {
  width: fit-content;
  margin: 26px auto 22px;
  padding: 8px 15px 7px;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(0.76rem, 1.3vw, 0.92rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-shadow: none;
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.25);
  transform: rotate(-1deg);
}

.hero-copy {
  max-width: 580px;
  margin: 0 auto;
  color: #d2d7db;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.72;
}

.faction-label {
  position: absolute;
  top: 48%;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.faction-label b { font-family: var(--display); font-size: 2.2rem; line-height: 1; }
.faction-label-blue { left: 24px; color: #77c3ff; transform: rotate(180deg); }
.faction-label-red { right: 24px; color: #ff7377; }

@media (max-width: 720px) {
  .site-header { width: calc(100% - 28px); height: 76px; }
  .brand strong { font-size: 0.88rem; }
  .brand small { font-size: 0.52rem; }
  .brand img { width: 39px; height: 39px; }
  .hero-content { padding-top: 120px; }
  .hero h1 { font-size: clamp(4.3rem, 24vw, 7rem); line-height: 0.76; }
  .hero h1 span:first-child { font-size: 0.68em; }
  .hero-copy { max-width: 440px; font-size: 0.94rem; }
  .faction-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
