@charset "UTF-8";
/* ============================================================
   CCE Home Variant — Redesign ("Play Apex Without the BS")
   Independent stylesheet for /home-variant/ only.
   Inspired by the standalone marketing-page mockup, adapted to
   the CCE Django shell (hv- prefixed classes to avoid collisions).
   Loaded AFTER hero-live-stream.css so live-embed positioning can
   be overridden for this layout.
   ============================================================ */

/* Original CCE font stack (same files the original homepage uses) */
@font-face {
  font-family: 'Apex';
  src: url("/static/fonts/Apex-Black.eb22e8e1797e.ttf") format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'URW Dock';
  src: url("/static/fonts/mainfont-cond-light.d539b96e2837.otf") format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --hv-bg: #0a0a0a;
  --hv-bg-raise: #141414;
  --hv-bg-card: #171717;
  --hv-line: #262626;
  --hv-text: #f2f3f5;
  --hv-text-dim: #9aa0a8;
  --hv-red: #f4012b;
  --hv-red-dim: rgba(244, 1, 43, 0.12);
  --hv-green: #3ddc84;
  --hv-green-dim: rgba(61, 220, 132, 0.10);
  --hv-display: 'Apex', sans-serif;
  --hv-body: 'URW Dock', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --hv-mono: 'JetBrains Mono', monospace;
}

/* ---- base page treatment (public variant is standalone) ---- */
.hv-page body {
  background: var(--hv-bg);
  color: var(--hv-text);
  font-family: var(--hv-body);
}

html.hv-page {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html.hv-page { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.hv-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- eyebrow / labels ---------- */
.hv-eyebrow {
  font-family: var(--hv-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hv-red);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hv-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--hv-red); }
.hv-eyebrow.green { color: var(--hv-green); }
.hv-eyebrow.green::before { background: var(--hv-green); }

/* ---------- nav (public variant) ---------- */
.hv-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 12, 14, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hv-line);
}
.hv-nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.hv-logo {
  font-family: var(--hv-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .06em;
  text-decoration: none;
  color: var(--hv-text);
}
.hv-logo span { color: var(--hv-red); }
.hv-nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}
.hv-nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--hv-text-dim);
  font-weight: 500;
  transition: color .15s;
}
.hv-nav-links a:hover,
.hv-nav-links a:focus-visible { color: var(--hv-text); }
/* ---------- nav CTA (public variant) — original red cut-corner style ---------- */
.hv-nav-cta {
  background: linear-gradient(135deg, #f4012b 0%, #b8011f 100%);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 0;
  font-family: var(--hv-display);
  font-weight: 900;
  letter-spacing: .05em;
  font-size: 14px !important;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  -webkit-clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.hv-nav-cta:hover { filter: brightness(1.08); }
@media (max-width: 720px) {
  .hv-nav-links li:not(:last-child) { display: none; }
}

/* ---------- hero ---------- */
.hv-hero {
  position: relative;
  margin-top: 80px; /* clear the fixed public header */
  padding: 110px 0 90px;
  overflow: hidden;
  border-bottom: 1px solid var(--hv-line);
  background: var(--hv-bg);
}
/* Authenticated shell: clear the fixed topbar instead (base.html chrome) */
html:not(.hv-page) .hv-hero {
  margin-top: var(--topbar-height, 83px);
}
.hv-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(244, 1, 43, .10), transparent 60%),
    repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .018) 46px 47px);
  pointer-events: none;
}
.hv-hero-in { position: relative; z-index: 2; max-width: 820px; }
/* Hero background video (mirrors the original /home hero loop) */
.hv-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hv-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hv-hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .38) 50%, rgba(0, 0, 0, .45) 100%);
  pointer-events: none;
}
.hv-hero-video-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 350px;
  background: linear-gradient(to bottom, transparent, var(--hv-bg));
  pointer-events: none;
}
.hv-hero-logo {
  height: 110px;
  width: auto;
  display: block;
  margin: 26px 0 14px;
  filter: drop-shadow(0 0 20px rgba(244, 1, 43, 0.3));
}
.hv-hero-title {
  font-family: var(--hv-display);
  font-weight: 900;
  font-size: clamp(30px, 4.2vw, 60px);
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 26px;
  color: var(--hv-text);
}
.hv-hero-red { color: var(--hv-red); }
.hv-strike {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--hv-text);
}
.hv-strike::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: 52%;
  height: .09em;
  background: var(--hv-red);
  transform: rotate(-4deg);
  border-radius: 2px;
  box-shadow: 0 0 24px rgba(244, 1, 43, .55);
}
.hv-lead {
  font-size: 19px;
  color: var(--hv-text-dim);
  max-width: 600px;
  margin-bottom: 36px;
}
.hv-lead strong { color: var(--hv-text); font-weight: 600; }
.hv-lead .hv-lead-link {
  color: var(--hv-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(244, 1, 43, .55);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color .15s, color .15s;
}
.hv-lead .hv-lead-link:hover,
.hv-lead .hv-lead-link:focus-visible {
  color: var(--hv-red);
  text-decoration-color: var(--hv-red);
}
.hv-btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hv-btn {
  font-family: var(--hv-display);
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 15px;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 0;
  transition: transform .12s, filter .15s, background .15s, border-color .15s, box-shadow .15s;
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.hv-btn:active { transform: translateY(1px); }
/* Red CTA — original CCE red with top-right + bottom-left cut corners */
.hv-btn-red {
  background: linear-gradient(135deg, #f4012b 0%, #b8011f 100%);
  color: #fff;
  border: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  -webkit-clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.hv-btn-red::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.hv-btn-red:hover::before { left: 100%; }
.hv-btn-red:hover { filter: brightness(1.08); }
/* Ghost CTA — original outline button behaviour */
.hv-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--hv-text);
}
.hv-btn-ghost:hover {
  border-color: #f4012b;
  color: #f4012b;
  box-shadow: 0 0 20px rgba(244, 1, 43, 0.3);
}
/* Green CTA — PlaySafe link, same corner-cut shape as red but green with white text */
.hv-btn-green {
  background: linear-gradient(135deg, #3ddc84 0%, #1d9e5c 100%);
  color: #fff;
  border: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  -webkit-clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.hv-btn-green::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
}
.hv-btn-green:hover::before { left: 100%; }
.hv-btn-green:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 30px rgba(61, 220, 132, 0.35);
}
.hv-ps-row .hv-btn { margin-top: 18px; }
.hv-btn .fas { margin-left: 8px; font-size: 13px; }
.hv-hero-badges {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 44px;
  font-family: var(--hv-body);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--hv-text-dim);
}
.hv-hero-badges b { color: var(--hv-text); font-weight: 700; }
.hv-hero-badges > div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hv-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hv-green);
  flex-shrink: 0;
}

/* Live stream embed — right-side panel on desktop, stacked below on smaller screens */
.hv-hero .hero-live-embed {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  width: 440px;
  z-index: 5;
}
@media (max-width: 1180px) {
  .hv-hero .hero-live-embed {
    position: static;
    transform: none;
    width: 100%;
    max-width: 520px;
    margin-top: 40px;
    animation: none;
  }
}

/* Mobile: public header is 60px tall */
@media (max-width: 768px) {
  .hv-page .hv-hero {
    margin-top: 60px;
  }
}

/* ---------- stats strip ---------- */
.hv-stats {
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.95) 0%, rgba(13, 13, 13, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 36px 0;
}
/* Sponsor marquee reel sits directly below the stats strip (same as /home).
   Neutralize the component's breakout/negative margins so it doesn't overlap
   the stats card and sits flush against the next section. */
.hv-stats ~ .sponsor-marquee,
.hv-stats ~ .sponsor-marquee.sponsor-marquee {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.hv-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.hv-stat-value {
  font-family: var(--hv-display);
  font-weight: 900;
  font-size: clamp(26px, 3.2vw, 38px);
  color: var(--hv-red);
  display: block;
  line-height: 1.1;
  letter-spacing: .02em;
}
.hv-stat-label {
  font-family: var(--hv-body);
  font-size: 13px;
  color: var(--hv-text-dim);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hv-stat-label-short { display: none; }
@media (max-width: 768px) {
  .hv-stat-label-full { display: none; }
  .hv-stat-label-short { display: inline; }
}
@media (max-width: 720px) {
  .hv-stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .hv-stat { padding: 14px 6px; }
  .hv-stat + .hv-stat { border-left: 1px solid rgba(255, 255, 255, 0.07); }
  .hv-stat-value { font-size: clamp(18px, 5vw, 26px); }
  .hv-stat-label { font-size: clamp(9px, 2.5vw, 13px); letter-spacing: .03em; }
}

/* ---------- section scaffolding ---------- */
.hv-sec { padding: 96px 0; }
.hv-sec-head { max-width: 640px; margin-bottom: 64px; }
.hv-sec-head--wide { max-width: 1000px; }
.hv-sec-head.is-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hv-sec-head.is-centered .hv-eyebrow {
  justify-content: center;
}
/* Mirror the leading dash on the right so centered eyebrows are symmetric */
.hv-sec-head.is-centered .hv-eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--hv-red);
  flex-shrink: 0;
}
.hv-sec-head.is-centered .hv-eyebrow.green::after { background: var(--hv-green); }
.hv-sec-head h2 {
  font-family: var(--hv-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 16px 0 14px;
  color: var(--hv-text);
}
.hv-sec-head p { color: var(--hv-text-dim); font-size: 17px; }
.hv-sec-head p strong { color: var(--hv-text); font-weight: 600; }

/* ---------- Z layout ---------- */
.hv-zrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.hv-zrow + .hv-zrow { border-top: 1px solid var(--hv-line); }
.hv-zrow.flip .hv-z-copy { order: 2; }
.hv-zrow.flip .hv-z-visual { order: 1; }
.hv-z-copy h3 {
  font-family: var(--hv-display);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 28px);
  text-transform: uppercase;
  line-height: 1.14;
  letter-spacing: .02em;
  margin: 14px 0;
  color: var(--hv-text);
}
.hv-z-copy p { color: var(--hv-text-dim); font-size: 16.5px; margin-bottom: 12px; }
.hv-z-copy p strong { color: var(--hv-text); font-weight: 600; }
/* Experiment: right-align the flip-row title/eyebrow and sub-text */
.hv-zrow.flip .hv-z-copy {
  text-align: right;
}
.hv-zrow.flip .hv-z-copy .hv-eyebrow {
  justify-content: flex-end;
}
.hv-z-visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  position: relative;
}
@media (max-width: 860px) {
  .hv-zrow { grid-template-columns: 1fr; gap: 32px; }
  .hv-zrow.flip .hv-z-copy { order: 1; }
  .hv-zrow.flip .hv-z-visual { order: 2; }
}

/* mock: prize card */
.hv-prize-big {
  font-family: var(--hv-display);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 44px);
  color: var(--hv-text);
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
}
.hv-prize-big span { color: var(--hv-red); }
.hv-prize-sub {
  font-family: var(--hv-body);
  font-size: 14px;
  color: var(--hv-text-dim);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hv-prize-list {
  display: flex;
  flex-direction: column;
  margin-top: 6px;
}
.hv-prize-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 2px;
}
.hv-prize-item + .hv-prize-item { border-top: 1px solid var(--hv-line); }
.hv-prize-item-label {
  font-family: var(--hv-body);
  font-size: 14.5px;
  color: var(--hv-text-dim);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hv-prize-item-amount {
  font-family: var(--hv-display);
  font-weight: 900;
  font-size: 21px;
  color: var(--hv-text);
  white-space: nowrap;
}
.hv-copy-link { color: var(--hv-red); text-decoration: none; font-weight: 600; }
.hv-copy-link:hover { text-decoration: underline; }

/* mock: legend ban */
.hv-legend-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.hv-legend-cell {
  aspect-ratio: 1;
  background: var(--hv-bg-raise);
  border: 1px solid var(--hv-line);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s, transform .1s;
}
.hv-legend-cell:hover {
  border-color: rgba(244, 1, 43, .55);
}
.hv-legend-cell:active {
  transform: scale(.97);
}
.hv-legend-cell:focus-visible {
  outline: 2px solid var(--hv-red);
  outline-offset: 1px;
}
.hv-legend-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hv-legend-cell-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 16px 6px 5px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  font-family: var(--hv-display);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: .04em;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
  color: var(--hv-text);
}
.hv-legend-cell.banned .hv-legend-cell-name { color: #8a8e96; }
.hv-legend-cell.banned img {
  filter: grayscale(1) brightness(0.7);
}
.hv-legend-cell.banned::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  background: var(--hv-red);
  transform: rotate(-18deg);
  z-index: 2;
}
.hv-legend-cell.banned::before {
  content: "BANNED";
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 2;
  font-family: var(--hv-mono);
  font-size: 7px;
  letter-spacing: .1em;
  color: #fff;
  background: var(--hv-red);
  padding: 2px 5px;
  border-radius: 2px;
}
@media (max-width: 720px) {
  /* Compact 5-across grid: every legend visible in two rows instead of
     an endless 5-row scroll of oversized tiles. Cells stay >= 44px. */
  .hv-legend-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .hv-legend-cell { border-radius: 5px; }
}
@media (max-width: 480px) {
  .hv-legend-cell-name { font-size: 9px; letter-spacing: .02em; padding: 10px 3px 4px; }
  .hv-legend-cell.banned::before { font-size: 6.5px; top: 4px; right: 4px; padding: 2px 4px; }
  .hv-legend-cell.banned::after { height: 2px; }
}

/* Ban picker hint bar (kept compact so the card keeps its size) */
.hv-ban-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--hv-body);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--hv-text-dim);
}
.hv-ban-hint-count {
  color: var(--hv-red);
  font-weight: 700;
  white-space: nowrap;
}
.hv-ban-hint-label {
  flex: 1;
  text-align: center;
  transition: color .15s;
}
.hv-ban-hint-label.is-limit {
  color: var(--hv-red);
  font-weight: 700;
}
.hv-ban-clear {
  background: transparent;
  border: 1px solid var(--hv-line);
  color: var(--hv-text-dim);
  font-family: var(--hv-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.hv-ban-clear:hover {
  border-color: #f4012b;
  color: #f4012b;
}

/* interactive map vote (legend-ban-picker style) */
.hv-map-vote {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hv-map-cell {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .12s, box-shadow .15s;
}
.hv-map-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.72);
  transition: filter .15s;
}
.hv-map-cell-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 14px 4px 6px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  font-family: var(--hv-display);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: .04em;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: center;
  color: var(--hv-text);
}
.hv-map-cell-votes {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 1;
  font-family: var(--hv-mono);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--hv-text);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}
.hv-map-cell:hover img { filter: brightness(0.92); }
.hv-map-cell:active { transform: scale(.97); }
.hv-map-cell:focus-visible { outline: 2px solid var(--hv-red); outline-offset: 1px; }
.hv-map-cell.voted {
  border-color: var(--hv-red);
  box-shadow: 0 0 0 1px var(--hv-red), 0 0 18px rgba(244, 1, 43, 0.25);
}
.hv-map-cell.voted img { filter: brightness(1); }
.hv-map-cell.voted::before {
  content: "✓ VOTED";
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 2;
  font-family: var(--hv-mono);
  font-size: 8px;
  letter-spacing: .1em;
  color: #fff;
  background: var(--hv-red);
  padding: 3px 6px;
  border-radius: 4px;
}
@media (max-width: 480px) {
  .hv-map-vote { grid-template-columns: 1fr; gap: 10px; }
  .hv-map-cell { aspect-ratio: 16 / 7; border: 1px solid var(--hv-line); }
  .hv-map-cell-name { font-size: 12px; padding: 16px 6px 8px; }
  .hv-map-cell-votes { font-size: 10px; }
  .hv-map-cell.voted::before { font-size: 9px; }
}

/* ---------- PlaySafe row (sits inside the .hv-wrap z-row flow) ---------- */
.hv-ps-logo {
  display: inline-block;
  height: 44px;
  width: auto;
  margin: 0;
  flex: 0 0 auto;
  vertical-align: middle;
}
.hv-ps-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hv-sec-head.is-centered .hv-ps-title {
  justify-content: center;
}
.hv-sec-head .hv-ps-title {
  white-space: nowrap;
  font-size: clamp(18px, 4.6vw, 42px);
}
.hv-ps-cta {
  margin-top: 26px;
}
.hv-ps-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 860px) {
  .hv-ps-features {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 32px;
  }
}
.hv-ps-row {
  padding-top: 12px;
}
/* Center the feature list as a block in its column, text stays left-aligned */
.hv-ps-row .hv-z-visual {
  align-items: flex-end;
  padding-right: 24px;
}
.hv-ps-row .hv-ps-feature {
  width: 100%;
  max-width: 360px;
}
.hv-ps-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.hv-ps-num {
  font-family: var(--hv-mono);
  font-size: 12px;
  color: var(--hv-green);
  letter-spacing: .12em;
  padding-top: 3px;
}
.hv-ps-feature-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hv-ps-feature-body b {
  font-family: var(--hv-display);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--hv-text);
}
.hv-ps-feature-body span {
  color: var(--hv-text-dim);
  font-size: 13.5px;
  line-height: 1.45;
}

/* ---------- How the league works ---------- */
.hv-how {
  border-top: 1px solid var(--hv-line);
}

/* Tighten the gap between the PlaySafe and How-it-works sections */
#fair-play { padding-bottom: 40px; }
#how-it-works { padding-top: 40px; }

.hv-rank-panel {
  padding: 0;
  margin-bottom: 0;
}
/* "Real Money to Real Players" copy inside the rank panel — centered */
.hv-rank-panel .hv-z-copy {
  max-width: 640px;
  margin: 56px auto 0;
  text-align: center;
}
.hv-rank-panel .hv-z-copy .hv-eyebrow {
  justify-content: center;
}
.hv-rank-panel .hv-z-copy .hv-eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--hv-red);
  flex-shrink: 0;
}
/* Center the Legend Bans + Map Voting copy */
.hv-z-copy.centered,
.hv-zrow.flip .hv-z-copy.centered {
  text-align: center;
}
.hv-z-copy.centered .hv-eyebrow,
.hv-zrow.flip .hv-z-copy.centered .hv-eyebrow {
  justify-content: center;
}
.hv-z-copy.centered .hv-eyebrow::after,
.hv-zrow.flip .hv-z-copy.centered .hv-eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--hv-red);
  flex-shrink: 0;
}
/* Small centered label above the rank mapping */
.hv-rank-label {
  justify-content: center;
  margin-bottom: 28px;
}
.hv-rank-label::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--hv-red);
  flex-shrink: 0;
}
.hv-rank-mapping {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}
.hv-rank-map-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1 1 0;
  min-width: 90px;
}
.hv-rank-apex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hv-rank-apex img { width: 44px; height: 44px; object-fit: contain; }
.hv-rank-apex span {
  font-family: var(--hv-body);
  font-size: 11px;
  color: var(--hv-text-dim);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hv-rank-arrow { color: var(--hv-red); font-size: 13px; line-height: 1; }
.hv-rank-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  width: 100%;
  background: var(--hv-bg-raise);
  border: 1px solid var(--hv-line);
  border-radius: 8px;
  padding: 14px 10px;
}
.hv-rank-tier img { width: 48px; height: 48px; object-fit: contain; }
.hv-rank-tier-name {
  font-family: var(--hv-display);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--hv-text);
}
.hv-rank-tier-mmr {
  font-family: var(--hv-body);
  font-size: 11px;
  color: var(--hv-green);
  letter-spacing: .08em;
}
.hv-band-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 24px;
}
.hv-band {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--hv-bg-raise);
  border: 1px solid var(--hv-line);
  border-top: 3px solid var(--hv-red);
  border-radius: 8px;
  overflow: hidden;
}
.hv-band-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease;
}
.hv-band-head:hover { background: rgba(244, 1, 43, .05); }
.hv-band-head-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hv-band-head-side {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hv-band-chevron {
  font-size: 13px;
  color: var(--hv-red);
  transition: transform .2s ease;
}
.hv-band-head.is-open .hv-band-chevron { transform: rotate(180deg); }
.hv-band-name {
  font-family: var(--hv-display);
  font-weight: 900;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--hv-text);
}
.hv-band-range {
  font-family: var(--hv-body);
  font-size: 11px;
  color: var(--hv-text-dim);
  letter-spacing: .1em;
}
.hv-band-prizes {
  border-top: 1px solid var(--hv-line);
  padding: 0 16px;
}
.hv-band-prizes .hv-prize-list { margin-top: 0; }
.hv-band-prizes .hv-prize-item { padding: 11px 2px; }
.hv-band-prizes .hv-prize-item-amount { font-size: 18px; }

/* ---------- Collapsible per-queue prize pools (inside bracket cards) ---------- */
.hv-band-prize-total {
  font-family: var(--hv-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--hv-green);
  white-space: nowrap;
}
.hv-band-prize-per {
  font-family: var(--hv-body);
  font-size: 11px;
  color: var(--hv-text-dim);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Queue merge warning note (centered, section-head style) ---------- */
.hv-queue-merge-note {
  max-width: 760px;
  margin: 32px auto 0;
  text-align: center;
}
.hv-queue-merge-note b {
  display: block;
  font-family: var(--hv-display);
  font-weight: 900;
  font-size: clamp(18px, 2.2vw, 24px);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--hv-text);
  margin-top: 12px;
}
.hv-queue-merge-note p {
  color: var(--hv-text-dim);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}
.hv-queue-merge-note p strong {
  color: var(--hv-text);
  font-weight: 700;
}

@media (max-width: 860px) {
  /* Vertical conversion ladder: each Apex rank flows into its CCE tier
     as a single horizontal card row — scannable top-to-bottom. */
  .hv-rank-map-group {
    flex: 1 1 100%;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    min-width: 0;
    background: var(--hv-bg-raise);
    border: 1px solid var(--hv-line);
    border-radius: 10px;
    padding: 10px 12px;
  }
  /* Source rank — fixed-width chip so every arrow and destination zone
     starts at the same x on every card. */
  .hv-rank-apex { flex: 0 0 84px; justify-content: center; min-width: 0; }
  .hv-rank-apex img { width: 30px; height: 30px; }
  .hv-rank-apex span { width: 100%; text-align: center; white-space: nowrap; font-size: 10px; }
  /* Directional indicator — fixed centered column */
  .hv-rank-arrow {
    flex: 0 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-90deg);
  }
  /* Destination tier — symmetric icon | name | MMR grid */
  .hv-rank-tier {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 6px;
    text-align: left;
    padding: 8px 10px;
    border: none;
    background: transparent;
    min-width: 0;
  }
  .hv-rank-tier img { width: 34px; height: 34px; grid-column: 1; grid-row: 1; }
  .hv-rank-tier-name {
    font-size: 12px;
    min-width: 0;
    grid-column: 2;
    grid-row: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hv-rank-tier-mmr {
    font-size: 10.5px;
    white-space: nowrap;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
  /* Entry/top cards without an Apex source — reserve the same width as
     the apex + arrow zones so the tier block lines up with mapped cards */
  .hv-rank-map-group .hv-rank-tier:only-child {
    margin-left: 124px;
  }
}
@media (max-width: 480px) {
  .hv-band-row { flex-direction: column; }
}

/* ---------- CTA ---------- */
.hv-cta {
  position: relative;
  text-align: center;
  padding: 110px 24px;
  overflow: hidden;
}
.hv-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 65% at 50% 100%, rgba(244, 1, 43, .14), transparent 70%);
  pointer-events: none;
}
.hv-cta h2 {
  font-family: var(--hv-display);
  font-weight: 900;
  font-size: clamp(30px, 4.6vw, 50px);
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: .02em;
  margin: 16px auto 18px;
  max-width: 760px;
  position: relative;
  color: var(--hv-text);
}
.hv-cta p {
  color: var(--hv-text-dim);
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 17px;
  position: relative;
}
.hv-cta .hv-eyebrow { justify-content: center; }
.hv-cta .hv-eyebrow::before { display: none; }
.hv-cta-steps {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 40px;
  font-family: var(--hv-mono);
  font-size: 13px;
  color: var(--hv-text-dim);
  position: relative;
}
.hv-cta-steps span { padding: 0 18px; position: relative; }
.hv-cta-steps span b { color: var(--hv-text); }
.hv-cta-steps span:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -8px;
  color: var(--hv-red);
}

/* ---------- FAQ ---------- */
.hv-faq-list { max-width: 760px; margin: 0 auto; }
.hv-faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.95) 0%, rgba(13, 13, 13, 0.98) 100%);
  margin-bottom: 12px;
  overflow: hidden;
}
.hv-faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--hv-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .03em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .15s;
  color: var(--hv-text);
}
.hv-faq-list summary::-webkit-details-marker { display: none; }
.hv-faq-list summary::after {
  content: "+";
  font-family: var(--hv-mono);
  color: var(--hv-red);
  font-size: 20px;
  font-weight: 400;
  flex-shrink: 0;
}
.hv-faq-list details[open] summary::after { content: "–"; }
.hv-faq-list details[open] summary { color: var(--hv-red); }
.hv-faq-body { padding: 0 24px 22px; color: var(--hv-text-dim); font-size: 15.5px; }
.hv-faq-body a { color: var(--hv-text); }

/* ---------- footer (public variant) ---------- */
.hv-footer {
  border-top: 1px solid var(--hv-line);
  padding: 44px 0;
  font-family: var(--hv-mono);
  font-size: 12.5px;
  color: var(--hv-text-dim);
  background: var(--hv-bg);
}
.hv-foot-in {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.hv-footer a { color: var(--hv-text-dim); text-decoration: none; }
.hv-footer a:hover { color: var(--hv-text); }
.hv-foot-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* focus */
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--hv-red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   Mobile experience pass — professional mobile UI rules:
   tighter rhythm, 44px+ touch targets, no horizontal overflow,
   stacked rows read left-aligned, full-width primary CTAs.
   ============================================================ */
html.hv-page {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.hv-legend-cell,
.hv-map-cell,
.hv-band-head,
.hv-ban-clear,
.hv-faq-list summary {
  touch-action: manipulation;
}
.hv-btn,
.hv-legend-cell,
.hv-map-cell,
.hv-band-head,
.hv-ban-clear,
.hv-faq-list summary {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  html.hv-page { scroll-padding-top: 68px; }
  .hv-wrap { padding: 0 20px; }
  .hv-sec { padding: 48px 0; }
  .hv-sec-head { margin-bottom: 36px; }
  .hv-sec-head p { font-size: 16px; line-height: 1.6; }

  /* Hero — compact, thumb-first */
  .hv-hero { padding: 64px 0 56px; }
  .hv-hero-logo { height: 76px; margin: 20px 0 12px; }
  .hv-hero-title { font-size: 40px; margin-bottom: 18px; }
  .hv-lead { font-size: 16.5px; line-height: 1.55; margin-bottom: 26px; }
  .hv-hero-badges { margin-top: 26px; gap: 14px 22px; font-size: 12.5px; }

  /* Z-rows — stacked content reads left-aligned */
  .hv-zrow { padding: 40px 0; gap: 28px; }
  .hv-zrow.flip .hv-z-copy { text-align: left; }
  .hv-zrow.flip .hv-z-copy .hv-eyebrow { justify-content: flex-start; }
  .hv-z-copy p { line-height: 1.6; }
  .hv-ps-row .hv-z-visual { align-items: stretch; padding-right: 0; }
  .hv-ps-row .hv-ps-feature { max-width: none; }

  /* Prize rows */
  .hv-prize-big { font-size: 24px; }
  .hv-prize-item-label { font-size: 13.5px; }
  .hv-prize-item-amount { font-size: 19px; }

  /* Rank mapping — tighter cards */
  .hv-rank-tier { padding: 8px 10px; }
  .hv-rank-tier img { width: 34px; height: 34px; }

  /* Merge note */
  .hv-queue-merge-note { margin-top: 24px; }
  .hv-queue-merge-note p { font-size: 15px; line-height: 1.6; }

  /* Ban/map hint bars — touch targets + wrap */
  .hv-ban-hint { flex-wrap: wrap; row-gap: 8px; font-size: 12px; }
  .hv-ban-hint-label { order: 3; flex-basis: 100%; text-align: left; }
  .hv-ban-clear { min-height: 44px; padding: 8px 16px; font-size: 12px; }

  /* FAQ — readable copy */
  .hv-faq-body { line-height: 1.6; }
}

@media (max-width: 480px) {
  /* Hero CTAs — primary spans full width, the two secondary CTAs sit
     side-by-side beneath it (saves ~60px of scroll on a phone screen) */
  .hv-btn-row { flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 10px; }
  .hv-btn-row .hv-btn { flex: 1 1 calc(50% - 5px); min-width: 0; text-align: center; padding: 16px 14px; }
  .hv-btn-row .hv-btn-red { flex-basis: 100%; }
  .hv-btn { padding: 16px 24px; }

  /* Inline CTAs (PlaySafe green button etc.) — full width too */
  .hv-z-copy .hv-btn { width: 100%; text-align: center; }

  /* PlaySafe link — compact one-line pill instead of a tall full-width slab
     that eats two rows of vertical space on a phone screen */
  .hv-ps-row .hv-btn {
    width: auto;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 12.5px;
    letter-spacing: .04em;
    margin-top: 14px;
  }
  .hv-ps-row .hv-btn .fas { font-size: 11px; margin-left: 6px; }

  /* Hero title scales down gracefully on narrow phones */
  .hv-hero-title { font-size: clamp(32px, 10.5vw, 40px); }

  /* PlaySafe title — logo smaller so the headline stays one line */
  .hv-ps-logo { height: 24px; }
  .hv-ps-title { align-items: center; }

  /* Section headings scale down gracefully */
  .hv-sec-head h2 { font-size: 26px; }

  /* Stats — tighter */
  .hv-stats { padding: 24px 0; }
  .hv-stats-grid { gap: 0; }

  /* Band cards */
  .hv-band-head { padding: 14px; }
  .hv-band-prize-total { font-size: 20px; }

  /* Rank tiers — two-row grid: the icon spans both rows, the name sits
     on top and the MMR lines up directly beneath it. No margins, so
     nothing overflows on narrow phones (e.g. 320px devices). */
  .hv-rank-tier {
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    row-gap: 4px;
  }
  .hv-rank-tier img { grid-column: 1; grid-row: 1 / 3; }
  .hv-rank-tier-name { grid-column: 2; grid-row: 1; }
  .hv-rank-tier-mmr { grid-column: 2; grid-row: 2; justify-self: start; }
  /* Source-less cards keep the same offset on the two-row grid */
  .hv-rank-map-group .hv-rank-tier:only-child {
    margin-left: 124px;
  }

  /* Season prize headline — allow wrapping instead of clipping */
  .hv-prize-big { white-space: normal; }

  /* FAQ — roomier padding for thumb scrolling */
  .hv-faq-list summary { padding: 18px; font-size: 15px; }
  .hv-faq-body { padding: 0 18px 18px; font-size: 15px; }
}

/* ============================================================
   Narrow phones (≤360px: iPhone SE 1st gen, Galaxy Fold cover, etc.)
   ============================================================ */
@media (max-width: 360px) {
  /* Slightly wider content gutter so tiles keep 44px+ touch targets */
  .hv-wrap { padding: 0 14px; }

  /* Legend ban tiles: tighter gutters keep every tile >= 44px */
  .hv-legend-grid { gap: 6px; }

  /* Stats — tighter cell padding on the single-row grid */
  .hv-stat { padding: 12px 4px; }
  .hv-stat-value { font-size: 18px; }
  .hv-stat-label { font-size: 9px; }

  /* Prize rows — smaller amounts so long totals never wrap awkwardly */
  .hv-prize-item { gap: 10px; padding: 11px 2px; }
  .hv-prize-item-amount { font-size: 17px; }
  .hv-band-prize-total { font-size: 18px; }

  /* Rank conversion cards — tighter inner spacing while keeping the
     fixed source/arrow/tier zones aligned */
  .hv-rank-map-group { gap: 10px; padding: 10px; }
  .hv-rank-apex { flex-basis: 76px; }
  .hv-rank-tier { padding: 6px 8px; column-gap: 8px; min-height: 48px; }
  /* Narrower apex zone at ≤360 → smaller offset for source-less cards */
  .hv-rank-map-group .hv-rank-tier:only-child { margin-left: 112px; }
}

/* ============================================================
   Video tutorial (lite YouTube embed inside "How the league works")
   ============================================================ */
.hv-video-tutorial {
  max-width: 840px;
  margin: 48px auto 56px;
}
.hv-video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--hv-bg-card);
  border: 1px solid var(--hv-line);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  transition: border-color .15s, box-shadow .2s, transform .12s;
}
.hv-video-shell:hover,
.hv-video-shell:focus-visible {
  border-color: rgba(244, 1, 43, .65);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(244, 1, 43, .35), 0 0 34px rgba(244, 1, 43, .18);
}
.hv-video-shell:focus-visible { outline: 2px solid var(--hv-red); outline-offset: 3px; }
.hv-video-shell:active { transform: scale(.995); }
.hv-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.72);
  transition: filter .15s, transform .3s;
}
.hv-video-shell:hover .hv-video-poster { filter: brightness(.85); transform: scale(1.015); }
/* Bottom gradient so the tag / play button sit on a solid base */
.hv-video-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(to top, rgba(0, 0, 0, .62), transparent);
  pointer-events: none;
}
.hv-video-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--hv-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, .6);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 4px;
  padding: 5px 9px;
}
.hv-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f4012b 0%, #b8011f 100%);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(244, 1, 43, .14), 0 12px 34px rgba(0, 0, 0, .55);
  transition: transform .15s, box-shadow .2s;
}
.hv-video-play i { font-size: 24px; margin-left: 4px; }
.hv-video-shell:hover .hv-video-play {
  transform: translate(-50%, -50%) scale(1.07);
  box-shadow: 0 0 0 16px rgba(244, 1, 43, .12), 0 12px 40px rgba(0, 0, 0, .6);
}
.hv-video-shell.is-playing { cursor: default; }
.hv-video-shell.is-playing::after { display: none; }
.hv-video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hv-video-note {
  text-align: center;
  font-size: 14px;
  color: var(--hv-text-dim);
  margin: 16px 0 0;
}
/* Hero "Watch tutorial" ghost button — leading play icon */
.hv-btn-play .fas { margin: 0 8px 0 0; font-size: 12px; }
@media (max-width: 480px) {
  .hv-video-play { width: 60px; height: 60px; }
  .hv-video-play i { font-size: 19px; }
  .hv-video-tag { top: 10px; left: 10px; font-size: 8.5px; padding: 4px 7px; }
  .hv-video-note { font-size: 13px; }
}
