/* ==========================================================================
   BONELESS HOUSE LEAGUE — PIXEL-PERFECT CAMPAIGN STYLESHEET
   Uses modern container query units (cqw), backdrop-filter glassmorphism,
   @starting-style dialogs, :user-invalid validation, and rich keyframe FX.
   ========================================================================== */

:root {
  --bg-deep: #050a14;
  --gold-light: #fff3a6;
  --gold-bright: #f7c548;
  --gold-mid: #e09f24;
  --gold-dark: #9c6208;
  --silver-light: #ffffff;
  --silver-mid: #cfd8e3;
  --silver-dark: #7f8c9d;
  --glass-blue: rgba(14, 23, 42, 0.78);
  --glass-gold: rgba(36, 26, 11, 0.78);
  --glass-dark: rgba(10, 14, 22, 0.86);
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ar: 'Cairo', sans-serif;
  --font-led: 'Orbitron', 'Share Tech Mono', monospace;
  --in-oklab: ;
  --in-oklch: ;
  color-scheme: dark;
  scrollbar-color: #d4911a #070d19;
  scrollbar-width: thin;
}

@supports (background: radial-gradient(in oklch, white, black)) {
  :root {
    --in-oklab: in oklab;
    --in-oklch: in oklch;
  }
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: #ffffff;
  font-family: var(--font-main);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-deep);
  overflow-x: hidden;
  min-height: 100vh;
}

.gold-team-svg {
  color: #f4bd37;
}

/* ==========================================================================
   GLOBAL & STAGE NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  container-type: inline-size;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

/* Glass bar once the user scrolls away from the top */
.site-header.scrolled {
  background-color: rgba(6, 11, 22, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: rgba(247, 197, 72, 0.22);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.header-inner {
  width: 100%;
  max-width: 1920px;
  padding: min(0.75cqw, 14px) min(3.2cqw, 61px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.35s ease;
}

.site-header.scrolled .header-inner {
  padding-block: min(0.45cqw, 9px);
}

/* Register section active state for the CTA */
.btn-header-cta[aria-current="true"] {
  outline: 2px solid rgba(255, 243, 166, 0.85);
  outline-offset: 3px;
  box-shadow: 0 0 26px rgba(247, 197, 72, 0.8), inset 0 1px 2px #fff;
}

.btn-header-cta.outline-cta {
  background: linear-gradient(180deg, rgba(64, 46, 14, 0.72) 0%, rgba(28, 20, 6, 0.88) 100%);
  color: #ffffff;
  border: 1.5px solid #f7c548;
  box-shadow: 0 0 18px rgba(247, 197, 72, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65vw;
  text-decoration: none;
  color: #fff;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.65));
  transition: transform 0.25s ease;
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-b-icon {
  width: clamp(28px, 2.5vw, 44px);
  height: auto;
  filter: drop-shadow(0 0 10px rgba(247, 197, 72, 0.45));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-en {
  font-size: clamp(14px, 1.38vw, 24px);
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.brand-ar {
  font-family: var(--font-ar);
  font-size: clamp(13px, 1.25vw, 22px);
  font-weight: 800;
  color: #f7c548;
  letter-spacing: 0;
  margin-top: -0.22vw;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 46px);
  margin-left: auto;
  margin-right: clamp(16px, 2.8vw, 48px);
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: clamp(12px, 0.96vw, 17px);
  font-weight: 600;
  padding: 0.5vw 0.9vw;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.nav-link:hover {
  color: #fff3a6;
}

.nav-link.active {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(247, 197, 72, 0.55);
}

/* Animated gold underline: grows in on the active link, shrinks out on the previous one */
.nav-link::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -2px;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #f7c548, #fff3a6, #f7c548, transparent);
  box-shadow: 0 0 12px #f7c548, 0 0 4px #ffffff;
  border-radius: 2px;
  opacity: 0;
  scale: 0 1;
  transition: scale 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.nav-link.active::after {
  opacity: 1;
  scale: 1 1;
}

.nav-link.pill-active {
  background: linear-gradient(180deg, rgba(60, 48, 24, 0.72), rgba(28, 20, 8, 0.85));
  border: 1px solid rgba(247, 197, 72, 0.55);
  box-shadow: 0 4px 16px rgba(247, 197, 72, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.7vw, 14px);
  flex-shrink: 0;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4vw;
  padding: 0.58vw 1.55vw;
  border-radius: 0.6vw;
  background: linear-gradient(180deg, #ffe787 0%, #f3b830 52%, #c98612 100%);
  color: #161004;
  font-weight: 800;
  font-size: clamp(12px, 0.92vw, 16px);
  text-decoration: none;
  border: 1px solid #fff3a6;
  box-shadow: 0 4px 18px rgba(247, 197, 72, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 6px 24px rgba(247, 197, 72, 0.7), inset 0 1px 2px #fff;
}

/* ==========================================================================
   FLOATING QUICK-JUMP STAGE DOTS
   ========================================================================== */
.stage-dots {
  position: fixed;
  right: 1.1vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 6px;
  border-radius: 99px;
  background: rgba(8, 13, 24, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(247, 197, 72, 0.25);
}

.stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(247, 197, 72, 0.6);
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.stage-dot.active,
.stage-dot:hover {
  background: #f7c548;
  box-shadow: 0 0 10px #f7c548;
  transform: scale(1.25);
}

/* ==========================================================================
   PROPORTIONAL 1672x941 STAGE CANVAS SYSTEM
   ========================================================================== */
.campaign-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.stadium-section {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #050a14;
}

.stage-canvas {
  container-type: inline-size;
  position: relative;
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 1672 / 941;
  overflow: hidden;
  user-select: none;
}

.stage-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
  /* fade image edges into the shared section color so neighbouring sections blend */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

/* Floodlight subtle breathing animation */
.floodlight-flare {
  position: absolute;
  top: 2%;
  width: 24cqw;
  height: 16cqw;
  background: radial-gradient(circle, rgba(165, 215, 255, 0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  animation: pulseFlare 4s ease-in-out infinite alternate;
}

.flare-left { left: 20cqw; top: -1%; }
.flare-right { right: 20cqw; top: -1%; animation-delay: 2s; }

@keyframes pulseFlare {
  0% { opacity: 0.45; transform: scale(0.95); }
  100% { opacity: 0.9; transform: scale(1.08); }
}

.steam-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Reveal Animations */
.reveal-item {
  opacity: 0;
  transform: translateY(1.2cqw);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.stadium-section.in-view .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

.stadium-section.in-view .reveal-item:nth-child(2) { transition-delay: 0.08s; }
.stadium-section.in-view .reveal-item:nth-child(3) { transition-delay: 0.16s; }
.stadium-section.in-view .reveal-item:nth-child(4) { transition-delay: 0.24s; }

/* ==========================================================================
   SECTION 1: THE LEAGUE & LEADERBOARD (SHOWDOWN)
   ========================================================================== */
.hero-left-block {
  position: absolute;
  left: 3.1%;
  top: 19.2%;
  width: 36.2%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow-gold {
  font-size: 1.24cqw;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: #f3c14b;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

/* second line of the league name: bigger and heavier than the first */
.eyebrow-lined .eyebrow-gold { text-align: center; }
.eyebrow-woolakk {
  display: block;
  font-size: 1.5em;
  font-weight: 800;
  letter-spacing: 0.3em;
  margin-top: 0.2em;
}

.hero-title-lockup {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.15cqw;
  margin-bottom: 1.45cqw;
  width: 100%;
}

.hero-laurel {
  width: 3.15cqw;
  height: auto;
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 0.2cqw;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.8));
}

.hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-style: italic;
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: 0.01em;
  padding: 0 0.25cqw;
  white-space: nowrap;
}

.hero-headline .line-silver {
  font-size: 3.12cqw;
  background: linear-gradient(180deg, #ffffff 0%, #e4ebf5 45%, #9aa8bc 85%, #d8e2ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.75));
}

.hero-headline .line-gold {
  font-size: 2.75cqw;
  background: linear-gradient(180deg, #fff5af 0%, #f6c042 48%, #bd7b10 88%, #f4c145 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
}

.hero-sub {
  font-size: 1.32cqw;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  margin-bottom: 1.15cqw;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-desc {
  font-size: 1.06cqw;
  font-weight: 400;
  line-height: 1.48;
  color: rgba(235, 240, 250, 0.88);
  text-align: left;
  width: 86%;
  margin-bottom: 1.9cqw;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.btn-hero-register {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8cqw;
  width: 20.2cqw;
  height: 3.9cqw;
  border-radius: 0.8cqw;
  background: linear-gradient(180deg, rgba(45, 31, 9, 0.88) 0%, rgba(20, 14, 4, 0.95) 100%);
  border: 1.5px solid #f5be3b;
  color: #ffffff;
  font-size: 1.18cqw;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 22px rgba(247, 197, 72, 0.35), inset 0 0 16px rgba(247, 197, 72, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  align-self: flex-start;
  margin-left: 7%;
}

.btn-hero-register::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: radial-gradient(circle, #fff8c4 0%, #f7c548 50%, transparent 100%);
  box-shadow: 0 0 14px #f7c548;
}

.btn-hero-register:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(180deg, rgba(75, 52, 14, 0.92) 0%, rgba(35, 24, 6, 0.98) 100%);
  box-shadow: 0 0 32px rgba(247, 197, 72, 0.65), inset 0 0 20px rgba(247, 197, 72, 0.35);
}

.btn-hero-register .arrow-icon {
  color: #f7c548;
  font-size: 1.3cqw;
  transition: transform 0.25s ease;
}

.btn-hero-register:hover .arrow-icon {
  transform: translateX(4px);
}

/* Center Trophy Pedestal Live Digital Clock Overlay */
.pedestal-clock-overlay {
  position: absolute;
  left: 40.2%;
  top: 64.5%;
  width: 19.7%;
  height: 12.2%;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0.45cqw 0.8cqw 0.55cqw;
  cursor: pointer;
}

.pedestal-title {
  display: flex;
  align-items: center;
  gap: 0.6cqw;
  font-size: 0.78cqw;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff1b0 0%, #e8b13a 55%, #9a6a14 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.9));
}

.pedestal-title::before,
.pedestal-title::after {
  content: '';
  width: 2.2cqw;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e8b13a);
}

.pedestal-title::after { transform: scaleX(-1); }
.pedestal-sub { font-size: max(0.62cqw, 10px); color: #f3d98a; text-align: center; line-height: 1.4; margin-top: 0.4cqw; text-shadow: 0 1px 1px rgba(0,0,0,.9); }
.pedestal-sub b { letter-spacing: .08em; text-transform: uppercase; }

.led-display-box {
  position: relative;
  width: 92%;
  height: 3.7cqw;
  /* recessed glass window cut into the pedestal face */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(18, 12, 4, 0.55) 100%);
  border-radius: 0.3cqw;
  border-top: 1px solid rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 214, 120, 0.55);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.95), 0 1px 0 rgba(255, 214, 120, 0.25);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* diagonal glass sheen */
.led-display-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 38%);
  pointer-events: none;
}

.led-ghost {
  position: absolute;
  font-family: var(--font-led);
  font-size: 2.75cqw;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(247, 197, 72, 0.06);
  pointer-events: none;
}

.led-digits {
  position: relative;
  font-family: var(--font-led);
  font-size: 2.75cqw;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffc94a;
  text-shadow: 0 0 6px rgba(255, 190, 50, 0.8), 0 0 16px rgba(255, 140, 0, 0.45);
  display: grid;
  grid-template-columns: 1fr 1.2cqw 1fr 1.2cqw 1fr;
  align-items: center;
  justify-items: center;
  width: 100%;
  padding: 0 0.6cqw;
  letter-spacing: 0;
}

.led-colon {
  animation: blinkColon 1s steps(1) infinite;
  color: #ffe066;
}

@keyframes blinkColon {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.pedestal-labels {
  width: 92%;
  padding: 0 0.6cqw;
  display: grid;
  grid-template-columns: 1fr 1.2cqw 1fr 1.2cqw 1fr;
  justify-items: center;
  font-size: 0.72cqw;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #d9a93f;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.9);
}

/* Right Leaderboard Block */
.leaderboard-block {
  scroll-margin-top: 96px;
  position: absolute;
  left: 67.2%;
  top: 11.2%;
  width: 30.2%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lb-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.1cqw;
}

.lb-crown-emblem {
  display: flex;
  align-items: center;
  gap: 0.25cqw;
  margin-bottom: 0.3cqw;
}

.lb-laurel-sm {
  width: 1.55cqw;
  height: auto;
}

.lb-crown-svg {
  width: 2.35cqw;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(247, 197, 72, 0.55));
}

.lb-title {
  font-size: 2.05cqw;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.lb-subtitle {
  font-size: 0.86cqw;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #cfd8e8;
  margin-top: 0.15cqw;
}

.lb-card {
  width: 100%;
  border-radius: 1.35cqw;
  background: linear-gradient(165deg, rgba(24, 36, 62, 0.84) 0%, rgba(11, 17, 30, 0.92) 100%);
  backdrop-filter: blur(18px);
  border: 1.5px solid rgba(150, 185, 245, 0.38);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(100, 150, 255, 0.18), inset 0 1px 2px rgba(255, 255, 255, 0.45);
  padding: 1.05cqw 1.15cqw 1.2cqw;
  position: relative;
}

.lb-table-head {
  display: grid;
  grid-template-columns: 3.4cqw 1fr 6.4cqw;
  align-items: center;
  padding: 0 0.7cqw 0.65cqw;
  font-size: 0.82cqw;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #b8c7de;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lb-rows {
  display: flex;
  flex-direction: column;
  gap: 0.3cqw;
  margin-top: 0.45cqw;
  max-height: 25.5cqw; /* 8 rows visible; top 16 scroll inside */
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(247, 197, 72, 0.5) transparent;
}

.lb-row {
  display: grid;
  grid-template-columns: 3.4cqw 1fr 6.4cqw;
  align-items: center;
  height: 2.9cqw;
  padding: 0 0.7cqw;
  border-radius: 0.65cqw;
  background: rgba(16, 24, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.98cqw;
  font-weight: 700;
  color: #ffffff;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
}

.lb-row:hover {
  transform: translateX(4px);
  background: rgba(34, 48, 76, 0.75);
  border-color: rgba(247, 197, 72, 0.45);
}

.lb-row.rank-1 {
  background: linear-gradient(90deg, rgba(92, 66, 18, 0.55) 0%, rgba(56, 40, 12, 0.72) 55%, rgba(98, 68, 16, 0.65) 100%);
  border: 1.5px solid #f5be3b;
  box-shadow: 0 0 18px rgba(247, 197, 72, 0.28), inset 0 0 12px rgba(247, 197, 72, 0.18);
}

.col-rank {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-shield {
  position: relative;
  width: 2.25cqw;
  height: 2.65cqw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-shield svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rank-shield span {
  position: relative;
  z-index: 1;
  font-size: 0.98cqw;
  font-weight: 900;
  color: #161004;
}

.rank-num {
  font-size: 1.05cqw;
  font-weight: 700;
  color: #cbd5e6;
}

.col-team {
  display: flex;
  align-items: center;
  gap: 0.65cqw;
  padding-left: 0.3cqw;
}

.team-sil-icon {
  width: 1.65cqw;
  height: auto;
  color: #dce6f7;
}

.col-time {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.lb-table-head .col-time {
  text-align: center;
}

/* Bottom Timeline & Prize Pool Dock */
.bottom-dock {
  position: absolute;
  bottom: 1.6%;
  left: 1.8%;
  width: 96.4%;
  height: 14.2%;
  z-index: 5;
  background: linear-gradient(180deg, rgba(14, 21, 34, 0.88) 0%, rgba(7, 11, 18, 0.95) 100%);
  backdrop-filter: blur(18px);
  border-radius: 1.4cqw;
  border: 1px solid rgba(160, 190, 235, 0.25);
  box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  padding: 0 2.2cqw;
}

.timeline-steps {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 2cqw;
}

.tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.22cqw;
  transition: transform 0.25s ease;
}

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

.tl-icon {
  width: 2.3cqw;
  height: 2.3cqw;
  margin-bottom: 0.15cqw;
  filter: drop-shadow(0 0 8px rgba(247, 197, 72, 0.35));
}

.tl-icon svg {
  width: 100%;
  height: 100%;
}

.tl-title {
  font-size: 0.96cqw;
  font-weight: 800;
  color: #ffffff;
}

.tl-date {
  font-size: 0.78cqw;
  font-weight: 500;
  color: #b5c0d0;
}

.tl-line {
  flex: 1;
  height: 1.5px;
  max-width: 4.8cqw;
  background: linear-gradient(90deg, rgba(247, 197, 72, 0.3), rgba(247, 197, 72, 0.85), rgba(247, 197, 72, 0.3));
  margin-top: -1.8cqw;
}

.dock-divider {
  width: 1px;
  height: 62%;
  background: linear-gradient(180deg, transparent, rgba(247, 197, 72, 0.45), transparent);
  margin: 0 1.6cqw;
}

.dock-prize-pool {
  width: 31.5cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45cqw;
}

.dpp-header {
  display: flex;
  align-items: center;
  gap: 0.45cqw;
  font-size: 1.02cqw;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #f7c548;
}

.dpp-trophy-ic {
  width: 1.35cqw;
  height: 1.35cqw;
}

.dpp-cards {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0.6cqw;
  width: 100%;
}

.dpp-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45cqw;
  height: 4.15cqw;
  border-radius: 0.65cqw;
  padding: 0 0.65cqw;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dpp-first {
  background: linear-gradient(180deg, rgba(58, 42, 12, 0.72) 0%, rgba(26, 18, 5, 0.88) 100%);
  border: 1px solid rgba(247, 197, 72, 0.65);
  box-shadow: 0 0 16px rgba(247, 197, 72, 0.22);
}

.dpp-second {
  background: linear-gradient(180deg, rgba(30, 38, 52, 0.65) 0%, rgba(14, 18, 26, 0.85) 100%);
  border: 1px solid rgba(190, 205, 225, 0.35);
}

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

.dpp-laurel {
  width: 1.25cqw;
  height: auto;
}

.dpp-silver-cup {
  width: 1.9cqw;
  height: 1.9cqw;
  flex-shrink: 0;
}

.dpp-card-txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.25;
}

.dpp-card-txt strong {
  font-size: 0.95cqw;
  font-weight: 800;
}

.dpp-card-txt span {
  font-size: 0.74cqw;
  color: #dce4f2;
}

/* ==========================================================================
   SECTION 2: THE PRIZES
   ========================================================================== */
.prizes-left-block {
  position: absolute;
  left: 3.4%;
  top: 20.5%;
  width: 31%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gold-flare-line {
  width: 68%;
  height: 2px;
  margin: 0.9cqw 0;
  background: linear-gradient(90deg, transparent, #f7c548, #fff6b8, #f7c548, transparent);
  box-shadow: 0 0 12px #f7c548;
}

.gold-flare-line.short {
  width: 42%;
  margin-top: 1.2cqw;
}

.prizes-title-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4cqw;
  margin: 0.2cqw 0;
}

.prizes-laurel {
  width: 2.8cqw;
  height: auto;
}

.prizes-headline {
  font-size: 3.6cqw;
  font-weight: 900;
  font-style: italic;
  background: linear-gradient(180deg, #ffffff 0%, #e8eef7 50%, #a5b4c8 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.85));
}

.prizes-desc {
  font-size: 1.22cqw;
  font-weight: 500;
  line-height: 1.48;
  color: #eef3fa;
  margin-top: 0.3cqw;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* Right 1st & 2nd Place Cards */
.prizes-right-block {
  position: absolute;
  left: 54.8%;
  top: 14.2%;
  width: 41.2%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 1.7cqw;
}

.prize-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9cqw;
}

.prize-major-card {
  position: relative;
  height: 26.5cqw;
  border-radius: 1.35cqw;
  padding: 1.6cqw 1.2cqw 1.5cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(18px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.prize-major-card:hover {
  transform: translateY(-6px) scale(1.015);
}

/* Outer breathing glow around the card edge (box-shadow is never clipped by the card's own overflow) */
.card-gold-1st {
  background: linear-gradient(165deg, rgba(78, 56, 18, 0.86) 0%, rgba(36, 25, 8, 0.94) 60%, rgba(62, 44, 14, 0.9) 100%);
  border: 1.5px solid #f7c548;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 28px rgba(247, 197, 72, 0.28), inset 0 1px 2px #fff3a6;
  animation: goldCardBreathe 3.6s ease-in-out infinite alternate;
  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

.card-silver-2nd {
  background: linear-gradient(165deg, rgba(46, 56, 72, 0.86) 0%, rgba(20, 25, 34, 0.94) 60%, rgba(38, 46, 60, 0.9) 100%);
  border: 1.5px solid #cfd8e3;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 24px rgba(200, 220, 245, 0.2), inset 0 1px 2px #ffffff;
  animation: silverCardBreathe 3.6s ease-in-out -1.8s infinite alternate;
  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

@keyframes goldCardBreathe {
  from { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 16px rgba(247, 197, 72, 0.2), inset 0 1px 2px #fff3a6; }
  to   { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 42px rgba(247, 197, 72, 0.6), inset 0 1px 2px #fff3a6; }
}

@keyframes silverCardBreathe {
  from { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 14px rgba(200, 220, 245, 0.14), inset 0 1px 2px #ffffff; }
  to   { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 38px rgba(210, 228, 250, 0.5), inset 0 1px 2px #ffffff; }
}

.pmc-crest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3cqw;
  width: 100%;
}

.pmc-laurel {
  width: 2.6cqw;
  height: auto;
}

.silver-laurel {
  filter: grayscale(1) brightness(1.35);
}

.pmc-crest-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35cqw;
}

.pmc-crown {
  width: 2.5cqw;
  height: auto;
}

.pmc-place-title {
  font-size: 1.85cqw;
  font-weight: 800;
  font-style: italic;
}

.gold-italic {
  color: #ffe885;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.silver-italic {
  color: #eef4fc;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.pmc-art-wrap {
  position: relative;
  isolation: isolate;
  width: 92%;
  height: 10.2cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}

/* Radiant god-ray sunburst behind the coins / silver bars (slowly rotating + breathing) */
.pmc-art-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 21cqw;
  aspect-ratio: 1;
  translate: -50% -50%;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 8%, rgba(0, 0, 0, 0.55) 38%, transparent 72%);
  mask-image: radial-gradient(circle closest-side, #000 8%, rgba(0, 0, 0, 0.55) 38%, transparent 72%);
  filter: blur(0.12cqw);
  opacity: 0.7;
  animation:
    prizeRaysSpin 48s linear infinite,
    prizeRaysBreathe 3.2s ease-in-out infinite alternate;
  @media (prefers-reduced-motion: reduce) {
    animation: none;
    opacity: 0.85;
  }
}

/* Bright hot core + base flare directly behind the item */
.pmc-art-wrap::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13cqw;
  aspect-ratio: 1;
  translate: -50% -50%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.8;
  scale: 0.9;
  animation: prizeHaloBreathe 3.2s ease-in-out infinite alternate;
  @media (prefers-reduced-motion: reduce) {
    animation: none;
    opacity: 0.9;
    scale: 1;
  }
}

.card-gold-1st .pmc-art-wrap::before {
  background:
    repeating-conic-gradient(from 0deg, transparent 0deg, rgba(255, 222, 110, 0.95) 3deg, transparent 7deg, transparent 15deg),
    repeating-conic-gradient(from 7deg, transparent 0deg, rgba(255, 180, 40, 0.7) 5deg, transparent 11deg, transparent 23deg);
}

.card-gold-1st .pmc-art-wrap::after {
  background:
    radial-gradient(ellipse 42% 7% at 50% 80%, rgba(255, 246, 190, 0.95) 0%, rgba(255, 200, 60, 0.5) 50%, transparent 100%),
    radial-gradient(circle closest-side, rgba(255, 248, 200, 0.95) 0%, rgba(255, 205, 70, 0.7) 28%, rgba(240, 150, 15, 0.3) 58%, transparent 100%);
}

.card-silver-2nd .pmc-art-wrap::before {
  background:
    repeating-conic-gradient(from 0deg, transparent 0deg, rgba(240, 248, 255, 0.85) 3deg, transparent 7deg, transparent 15deg),
    repeating-conic-gradient(from 7deg, transparent 0deg, rgba(170, 205, 245, 0.6) 5deg, transparent 11deg, transparent 23deg);
  animation-delay: 0s, -1.6s;
}

.card-silver-2nd .pmc-art-wrap::after {
  background:
    radial-gradient(ellipse 42% 7% at 50% 80%, rgba(255, 255, 255, 0.9) 0%, rgba(200, 225, 255, 0.45) 50%, transparent 100%),
    radial-gradient(circle closest-side, rgba(255, 255, 255, 0.9) 0%, rgba(215, 232, 255, 0.6) 28%, rgba(140, 180, 230, 0.25) 58%, transparent 100%);
  animation-delay: -1.6s;
}

.prize-major-card:hover .pmc-art-wrap {
  transform: scale(1.06);
}

.pmc-art-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  animation: prizeItemFloat 3.2s ease-in-out infinite alternate;
  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

.card-gold-1st .pmc-art-img {
  filter:
    drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 8px rgba(255, 225, 120, 0.85))
    drop-shadow(0 0 22px rgba(255, 170, 20, 0.6));
}

.card-silver-2nd .pmc-art-img {
  filter:
    drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 8px rgba(245, 250, 255, 0.8))
    drop-shadow(0 0 22px rgba(170, 205, 250, 0.55));
  animation-delay: -1.6s;
}

@keyframes prizeRaysSpin {
  to { rotate: 360deg; }
}

@keyframes prizeRaysBreathe {
  from { opacity: 0.45; scale: 0.88; }
  to   { opacity: 1; scale: 1.08; }
}

@keyframes prizeHaloBreathe {
  from { opacity: 0.6; scale: 0.85; }
  to   { opacity: 1; scale: 1.1; }
}

@keyframes prizeItemFloat {
  from { translate: 0 0.12cqw; }
  to   { translate: 0 -0.22cqw; }
}

.pmc-reward-footer {
  position: relative;
  z-index: 2;
  text-align: center;
}

.pmc-reward-main {
  font-size: 1.65cqw;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.15cqw;
}

.pmc-reward-main .gold-frac {
  color: #f7c548;
}

.pmc-reward-sub {
  font-size: 1.02cqw;
  font-weight: 500;
  color: #d5deec;
}

/* Split Pill Bar below prize cards */
.prizes-meta-pill {
  width: 90%;
  margin: 0 auto;
  height: 3.7cqw;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(44, 34, 14, 0.85) 0%, rgba(18, 22, 30, 0.9) 100%);
  border: 1px solid rgba(247, 197, 72, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 1.4cqw;
}

.pmp-half {
  display: flex;
  align-items: center;
  gap: 0.7cqw;
  font-size: 1.08cqw;
  color: #ffffff;
}

.pmp-bold {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pmp-icon {
  width: 1.9cqw;
  height: 1.9cqw;
}

.pmp-sep {
  width: 1px;
  height: 55%;
  background: rgba(255, 255, 255, 0.25);
}

/* Prizes Bottom 4-Col Dock */
.prizes-dock {
  justify-content: space-between;
  padding: 0 3.2cqw;
}

.pd-item {
  display: flex;
  align-items: center;
  gap: 1.1cqw;
}

.pd-icon {
  width: 3.2cqw;
  height: 3.2cqw;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(247, 197, 72, 0.35));
}

.pd-text h3 {
  font-size: 1.18cqw;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25cqw;
}

.pd-text p {
  font-size: 0.86cqw;
  line-height: 1.38;
  color: #c2ccd9;
}

.pd-sep {
  width: 1px;
  height: 58%;
  background: linear-gradient(180deg, transparent, rgba(247, 197, 72, 0.4), transparent);
}

/* ==========================================================================
   SECTION 3: HOW IT WORKS
   ========================================================================== */
.how-header {
  position: absolute;
  top: 8.4%;
  left: 20%;
  width: 60%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow-lined {
  display: flex;
  align-items: center;
  gap: 0.9cqw;
}

.line-wing {
  width: 3.2cqw;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f7c548);
}

.line-wing:last-child {
  background: linear-gradient(90deg, #f7c548, transparent);
}

.how-title-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6cqw;
  margin: 0.1cqw 0 0.2cqw;
}

.how-laurel {
  width: 3.1cqw;
  height: auto;
}

.how-headline {
  font-size: 3.65cqw;
  line-height: 1.05;
  font-weight: 900;
  font-style: italic;
  background: linear-gradient(180deg, #fff6b3 0%, #f6c042 50%, #c48012 90%, #f7ca52 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.85));
}

.how-subtitle {
  font-size: 1.08cqw;
  font-weight: 500;
  color: #edf2fa;
}

/* 5 Step Cards Row */
.how-steps-row {
  position: absolute;
  top: 28.5%;
  left: 4.6%;
  width: 90.8%;
  height: 39.5%;
  z-index: 5;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.how-step-card {
  position: relative;
  width: 16.6cqw;
  border-radius: 1.5cqw;
  background: linear-gradient(160deg, rgba(72, 54, 24, 0.72) 0%, rgba(24, 18, 8, 0.88) 55%, rgba(48, 35, 14, 0.82) 100%);
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(247, 197, 72, 0.68);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.75), 0 0 22px rgba(247, 197, 72, 0.22), inset 0 1px 2px rgba(255, 245, 190, 0.6);
  padding: 2.2cqw 1.1cqw 1.2cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, transparent 45%);
  pointer-events: none;
}

.how-step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.85), 0 0 32px rgba(247, 197, 72, 0.45), inset 0 1px 3px #fff;
}

.step-shield-badge {
  position: absolute;
  top: -1.15cqw;
  left: 50%;
  transform: translateX(-50%);
  width: 2.55cqw;
  height: 3.05cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
}

.step-shield-badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.step-shield-badge span {
  position: relative;
  z-index: 1;
  font-size: 1.22cqw;
  font-weight: 900;
  color: #fff6b8;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hsc-icon-area {
  height: 5.2cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65cqw;
}

.hsc-svg {
  width: 4.4cqw;
  height: 4.4cqw;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}

.crispy-wing-img {
  width: 7.4cqw;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.7));
}

.hsc-title {
  font-size: 1.18cqw;
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
  text-transform: uppercase;
  min-height: 2.85cqw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hsc-title.single-line {
  min-height: 1.8cqw;
}

.hsc-divider {
  width: 48%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #f7c548, transparent);
  margin: 0.55cqw 0 0.75cqw;
}

.hsc-desc {
  font-size: 0.9cqw;
  line-height: 1.44;
  color: #e6ecf5;
}

.hsc-desc.compact {
  font-size: 0.84cqw;
  line-height: 1.36;
}

.gold-highlight {
  color: #f7c548;
  font-size: 0.98cqw;
}

.hsc-challenge-box {
  width: 94%;
  margin-top: 0.45cqw;
  padding: 0.65cqw 0.8cqw;
  border-radius: 0.85cqw;
  background: rgba(18, 13, 5, 0.65);
  border: 1px solid rgba(247, 197, 72, 0.38);
  display: flex;
  flex-direction: column;
  gap: 0.45cqw;
}

.hcb-row {
  display: flex;
  align-items: center;
  gap: 0.65cqw;
  font-size: 0.92cqw;
  color: #ffffff;
  text-align: left;
}

.hcb-row svg {
  width: 1.65cqw;
  height: 1.65cqw;
  flex-shrink: 0;
}

.hcb-multiline {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.hcb-multiline small {
  font-size: 0.74cqw;
  color: #cbd5e6;
}

.step-chevron {
  align-self: center;
  font-size: 2.5cqw;
  font-weight: 800;
  color: #f7c548;
  text-shadow: 0 0 12px rgba(247, 197, 72, 0.7);
}

/* Bottom 2 Panels in How It Works */
.how-bottom-row {
  position: absolute;
  left: 4.6%;
  top: 74.2%;
  width: 90.8%;
  height: 23.2%;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 2.1cqw;
}

.how-bottom-panel {
  position: relative;
  border-radius: 1.45cqw;
  background: linear-gradient(165deg, rgba(64, 48, 20, 0.74) 0%, rgba(20, 15, 6, 0.9) 100%);
  backdrop-filter: blur(18px);
  border: 1.5px solid rgba(247, 197, 72, 0.65);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8), inset 0 1px 2px rgba(255, 240, 180, 0.55);
  padding: 2.1cqw 1.8cqw 1.1cqw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-format {
  flex: 1.48;
}

.panel-details {
  flex: 1;
}

.panel-pill-tab {
  position: absolute;
  top: -1.15cqw;
  left: 1.6cqw;
  height: 2.4cqw;
  padding: 0 1.3cqw;
  border-radius: 999px;
  background: linear-gradient(180deg, #4a3716 0%, #241a08 100%);
  border: 1.5px solid #f7c548;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  gap: 0.6cqw;
  font-size: 0.98cqw;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.panel-pill-tab svg {
  width: 1.4cqw;
  height: 1.4cqw;
}

.format-stages {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.fmt-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fmt-ic {
  width: 2.35cqw;
  height: 2.35cqw;
  margin-bottom: 0.15cqw;
}

.fmt-champion-ic {
  display: flex;
  align-items: center;
  gap: 0.1cqw;
  margin-bottom: 0.15cqw;
}

.fmt-laurel {
  width: 1.15cqw;
  height: auto;
}

.fmt-cup {
  width: 2.2cqw;
  height: 2.2cqw;
}

.fmt-num {
  font-size: 1.68cqw;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}

.fmt-label {
  font-size: 0.88cqw;
  font-weight: 700;
  color: #f0f4fa;
}

.fmt-sub {
  font-size: 0.74cqw;
  color: #c5cedc;
}

.fmt-arrow {
  font-size: 1.9cqw;
  font-weight: 800;
  color: #f7c548;
}

.key-details-grid {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.kd-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.kd-ic {
  width: 2.55cqw;
  height: 2.55cqw;
  margin-bottom: 0.2cqw;
}

.kd-num {
  font-size: 1.85cqw;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}

.kd-label {
  font-size: 0.9cqw;
  font-weight: 600;
  color: #e5ebf5;
  line-height: 1.2;
}

.kd-sep {
  width: 1px;
  height: 6.2cqw;
  background: linear-gradient(180deg, transparent, rgba(247, 197, 72, 0.5), transparent);
}

/* ==========================================================================
   SECTION 4: TEAM REGISTRATION
   ========================================================================== */
.reg-left-card {
  position: absolute;
  left: 4.6%;
  top: 12.2%;
  width: 23.6%;
  height: 85.4%;
  z-index: 5;
  border-radius: 1.45cqw;
  background: rgba(14, 12, 9, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  padding: 1.2cqw 1.4cqw 1.5cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
}

.rlc-trophy-wrap {
  position: relative;
  isolation: isolate;
  width: 92%;
  height: 17.8cqw;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Radiant god-ray sunburst behind the trophy (reuses the prize-card keyframes) */
.rlc-trophy-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 46%;
  width: 26cqw;
  aspect-ratio: 1;
  translate: -50% -50%;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-conic-gradient(from 0deg, transparent 0deg, rgba(255, 222, 110, 0.95) 3deg, transparent 7deg, transparent 15deg),
    repeating-conic-gradient(from 7deg, transparent 0deg, rgba(255, 180, 40, 0.7) 5deg, transparent 11deg, transparent 23deg);
  -webkit-mask-image: radial-gradient(circle closest-side, #000 8%, rgba(0, 0, 0, 0.55) 38%, transparent 70%);
  mask-image: radial-gradient(circle closest-side, #000 8%, rgba(0, 0, 0, 0.55) 38%, transparent 70%);
  filter: blur(0.12cqw);
  opacity: 0.7;
  animation:
    prizeRaysSpin 48s linear infinite,
    prizeRaysBreathe 3.2s ease-in-out infinite alternate;
  @media (prefers-reduced-motion: reduce) {
    animation: none;
    opacity: 0.85;
  }
}

/* Hot core behind the trophy cup + flare across the pedestal base */
.rlc-trophy-wrap::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17cqw;
  aspect-ratio: 1;
  translate: -50% -50%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 6% at 50% 84%, rgba(255, 246, 190, 0.95) 0%, rgba(255, 200, 60, 0.5) 50%, transparent 100%),
    radial-gradient(circle closest-side at 50% 42%, rgba(255, 248, 200, 0.9) 0%, rgba(255, 205, 70, 0.6) 28%, rgba(240, 150, 15, 0.25) 58%, transparent 100%);
  opacity: 0.8;
  scale: 0.9;
  animation: prizeHaloBreathe 3.2s ease-in-out infinite alternate;
  @media (prefers-reduced-motion: reduce) {
    animation: none;
    opacity: 0.9;
    scale: 1;
  }
}

.rlc-trophy-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 8px rgba(255, 225, 120, 0.75))
    drop-shadow(0 0 24px rgba(255, 170, 20, 0.55));
  animation: prizeItemFloat 3.2s ease-in-out infinite alternate;
  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

.rlc-eyebrow {
  font-size: 0.82cqw;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: #ebd694;
}

.rlc-title {
  font-size: 2.65cqw;
  font-weight: 900;
  font-style: italic;
  line-height: 1.04;
  background: linear-gradient(180deg, #fff6b3 0%, #f6c042 52%, #c98614 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.8));
}

.rlc-desc {
  font-size: 0.92cqw;
  line-height: 1.42;
  color: #e4ebf5;
  margin-bottom: 0.3cqw;
}

.rlc-pills {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.55cqw;
}

.rlc-pill {
  height: 2.85cqw;
  border-radius: 0.65cqw;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding: 0 1.1cqw;
  gap: 0.85cqw;
  font-size: 0.96cqw;
  color: #ffffff;
}

.rlc-pill svg {
  width: 1.65cqw;
  height: 1.65cqw;
  flex-shrink: 0;
}

/* Right Main Registration Panel */
.reg-main-panel {
  position: absolute;
  left: 29.4%;
  top: 10.2%;
  width: 66.0%;
  height: 87.4%;
  z-index: 5;
  border-radius: 1.6cqw;
  background: rgba(14, 12, 9, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  padding: 1.45cqw 1.75cqw 1.3cqw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rmp-header {
  text-align: center;
}

.rmp-title {
  font-size: 2.15cqw;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.rmp-subtitle {
  font-size: 0.96cqw;
  color: #d8e0ec;
  margin-top: 0.2cqw;
}

.reg-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9cqw;
  margin-top: 0.85cqw;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55cqw;
  padding: 0.35cqw 1.1cqw 0.35cqw 0.45cqw;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  color: #cfd8e6;
  font-family: inherit;
  font-size: 0.92cqw;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.step-circle {
  width: 1.75cqw;
  height: 1.75cqw;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88cqw;
  font-weight: 700;
}

.step-pill.active {
  background: linear-gradient(90deg, rgba(165, 112, 18, 0.65) 0%, rgba(92, 62, 10, 0.78) 100%);
  border-color: #f7c548;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(247, 197, 72, 0.35);
}

.step-pill.active .step-circle {
  background: rgba(247, 197, 72, 0.25);
  border-color: #fff3a6;
  color: #fff;
}

.stepper-line {
  width: 3.4cqw;
  height: 1px;
  background: rgba(247, 197, 72, 0.45);
}

.reg-form {
  display: flex;
  flex-direction: column;
  gap: 0.8cqw;
  flex: 1;
  justify-content: space-between;
  margin-top: 0.7cqw;
}

.reg-subpanel {
  border-radius: 0.95cqw;
  background: rgba(16, 18, 24, 0.62);
  border: 1px solid rgba(247, 197, 72, 0.28);
  padding: 0.85cqw 1.15cqw;
}

.subpanel-head {
  display: flex;
  align-items: center;
  gap: 0.55cqw;
  margin-bottom: 0.65cqw;
}

.sp-icon {
  width: 1.45cqw;
  height: 1.45cqw;
}

.subpanel-head h3 {
  font-size: 1.08cqw;
  font-weight: 800;
  color: #ffffff;
}

.subpanel-head h3 span {
  font-weight: 600;
  color: #d0d8e6;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.32cqw;
}

.form-field label,
.pc-field label {
  white-space: nowrap;
  font-size: 0.78cqw;
  font-weight: 600;
  color: #e2e8f2;
  display: flex;
  align-items: center;
  gap: 0.25cqw;
}

.req {
  color: #ff5c5c;
}

.form-field input[type="text"],
.pc-field input[type="text"],
.pc-field input[type="email"],
.pc-field input[type="tel"] {
  width: 100%;
  height: 2.35cqw;
  border-radius: 0.48cqw;
  background: rgba(24, 28, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0 0.75cqw;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.82cqw;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.pc-field input:focus {
  border-color: #f7c548;
  box-shadow: 0 0 10px rgba(247, 197, 72, 0.35);
}

/* Modern :user-invalid validation */
.form-field input:user-invalid,
.pc-field input:user-invalid {
  border-color: #ff5c5c;
  box-shadow: 0 0 8px rgba(255, 92, 92, 0.35);
}

/* 4 Player Cards Grid */
.players-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85cqw;
  flex: 1;
  grid-auto-rows: 1fr; /* spare panel height is shared by the player rows, not dumped between sections */
}

.players-panel { flex: 1; display: flex; flex-direction: column; }
.players-panel .player-card { align-content: center; align-items: center; }

.player-card {
  position: relative;
  border-radius: 0.85cqw;
  background: linear-gradient(180deg, rgba(28, 32, 42, 0.85) 0%, rgba(15, 18, 24, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.8cqw 0.9cqw 0.8cqw 0.75cqw;
  display: grid;
  grid-template-columns: 7.5cqw repeat(3, 1fr); /* avatar column + 9 fields flow into 3 cols x 3 rows */
  gap: 0.5cqw 0.7cqw;
  align-items: start;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.player-card:hover {
  transform: translateY(-3px);
  border-color: rgba(247, 197, 72, 0.55);
}

.player-card.is-captain {
  background: linear-gradient(180deg, rgba(68, 48, 14, 0.78) 0%, rgba(28, 20, 6, 0.92) 100%);
  border: 1.5px solid #f7c548;
  box-shadow: 0 0 20px rgba(247, 197, 72, 0.28);
}

.pc-shield {
  position: absolute;
  top: -0.55cqw;
  left: 0.65cqw;
  width: 1.85cqw;
  height: 2.2cqw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pc-shield svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pc-shield span {
  position: relative;
  z-index: 1;
  font-size: 0.88cqw;
  font-weight: 900;
  color: #ffffff;
}

.captain-tag {
  position: absolute;
  bottom: 0.55cqw;
  left: 0.75cqw;
  width: 7.5cqw;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 0.25cqw;
  font-size: 0.68cqw;
  font-weight: 700;
  color: #f7c548;
  border-bottom: 1px solid rgba(247, 197, 72, 0.5);
  padding-bottom: 1px;
}

.captain-tag svg {
  width: 0.85cqw;
  height: auto;
}

.pc-avatar-wrap {
  position: relative;
  width: 4.1cqw;
  height: 4.1cqw;
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
  justify-self: center;
  cursor: pointer;
}

.pc-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 95, 110, 0.45) 0%, rgba(25, 28, 36, 0.9) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.player-card.is-captain .pc-avatar {
  border-color: rgba(247, 197, 72, 0.65);
}

.pc-avatar svg {
  width: 62%;
  height: 62%;
  opacity: 0.65;
}

.pc-cam-btn {
  position: absolute;
  right: -0.15cqw;
  bottom: -0.1cqw;
  width: 1.45cqw;
  height: 1.45cqw;
  border-radius: 50%;
  background: #1a1e28;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.pc-cam-btn svg {
  width: 0.85cqw;
  height: 0.85cqw;
}

.sr-only-file {
  display: none;
}

.pc-field {
  display: flex;
  flex-direction: column;
  gap: 0.22cqw;
}

.pc-field input[type="text"],
.pc-field input[type="email"],
.pc-field input[type="tel"] {
  height: 2.05cqw;
  font-size: 0.74cqw;
  padding: 0 0.55cqw;
}

.phone-input-group,
.dob-input-group {
  position: relative;
  display: flex;
  align-items: center;
  height: 2.05cqw;
  border-radius: 0.48cqw;
  background: rgba(24, 28, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 0.45cqw;
}

.phone-input-group input,
.dob-input-group input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  height: 100%;
  padding-left: 0.35cqw;
}

.flag-prefix {
  display: inline-flex;
  align-items: center;
  gap: 0.22cqw;
  padding-right: 0.3cqw;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.68cqw;
  color: #ccc;
}

/* CSS Lebanese Flag icon */
.lb-flag {
  width: 1.05cqw;
  height: 0.72cqw;
  border-radius: 1px;
  background: linear-gradient(180deg, #ed1c24 0%, #ed1c24 28%, #ffffff 28%, #ffffff 72%, #ed1c24 72%, #ed1c24 100%);
  position: relative;
  display: inline-block;
}

.lb-flag::after {
  content: '🌲';
  position: absolute;
  inset: 0;
  font-size: 0.42cqw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dob-cal-ic {
  width: 0.95cqw;
  height: 0.95cqw;
  flex-shrink: 0;
  opacity: 0.75;
}

/* Registration Footer Bar */
.reg-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.2cqw;
}

.terms-label {
  display: flex;
  align-items: center;
  gap: 0.6cqw;
  cursor: pointer;
  font-size: 0.86cqw;
  color: #e4eaf4;
}

.terms-label input {
  display: none;
}

.terms-box {
  width: 1.25cqw;
  height: 1.25cqw;
  border-radius: 0.28cqw;
  border: 1.5px solid #f7c548;
  background: rgba(20, 16, 8, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.terms-label input:checked + .terms-box {
  background: #f7c548;
}

.terms-label input:checked + .terms-box::after {
  content: '✓';
  color: #161004;
  font-size: 0.85cqw;
  font-weight: 900;
}

.gold-link {
  color: #f7c548;
  text-decoration: underline;
  font-weight: 600;
}

.btn-continue-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6cqw;
  padding: 0 1.8cqw;
  height: 3.15cqw;
  border-radius: 0.7cqw;
  background: linear-gradient(180deg, #ffe787 0%, #f3b830 52%, #c98612 100%);
  border: 1.5px solid #fff3a6;
  color: #161004;
  font-family: inherit;
  font-size: 1.02cqw;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(247, 197, 72, 0.5), inset 0 1px 2px #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-continue-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(247, 197, 72, 0.75), inset 0 1px 2px #ffffff;
}

/* ==========================================================================
   NATIVE DIALOG MODAL WITH @starting-style
   ========================================================================== */
.league-modal {
  margin: auto;
  border: none;
  background: transparent;
  padding: 0;
  max-width: 580px;
  width: 92vw;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.94) translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}

.league-modal[open] {
  opacity: 1;
  transform: scale(1) translateY(0);
}

@starting-style {
  .league-modal[open] {
    opacity: 0;
    transform: scale(0.94) translateY(12px);
  }
}

.league-modal::backdrop {
  background: rgba(4, 8, 16, 0.78);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease, overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}

.league-modal[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .league-modal[open]::backdrop {
    opacity: 0;
  }
}

.modal-glass-box {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(46, 34, 14, 0.95) 0%, rgba(14, 18, 28, 0.98) 100%);
  border: 1.5px solid #f7c548;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(247, 197, 72, 0.3);
  padding: 28px;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.modal-review-title {
  font-size: 22px;
  font-weight: 900;
  color: #f7c548;
  margin-bottom: 6px;
}

.modal-review-list {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-player-row {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(247, 197, 72, 0.25);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.btn-modal-primary {
  padding: 10px 22px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffe787 0%, #f3b830 52%, #c98612 100%);
  border: 1px solid #fff3a6;
  color: #161004;
  font-weight: 800;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .floodlight-flare,
  .led-colon {
    animation: none;
  }
}

/* Registration section is taller to fit the extra per-player safety fields */
.section-register .stage-canvas { aspect-ratio: 1672 / 1580; }

/* ==========================================================================
   RESPONSIVE: TABLET (<=1024px) and MOBILE (<=640px)
   The desktop design is an absolutely-positioned 1672px poster scaled with cqw.
   Below 1024px that math makes text unreadable, so every stage switches to a
   normal flow layout with px/clamp sizes. Desktop (>1024px) is untouched.
   ========================================================================== */
@media (max-width: 1024px) {
  html { -webkit-text-size-adjust: 100%; }
  .stage-dots { display: none; }
  br { display: none; }

  /* ---- header ---- */
  .header-inner { padding: 10px 20px; gap: 8px 12px; }
  .site-header.scrolled .header-inner { padding-block: 7px; }
  .brand-logo { gap: 8px; }
  .brand-b-icon { width: 30px; }
  .brand-en { font-size: 15px; }
  .brand-ar { font-size: 13px; margin-top: 0; }
  .main-nav { gap: 6px; margin-right: 14px; }
  .nav-link { font-size: 13px; padding: 7px 12px; }
  .btn-header-cta { padding: 9px 16px; border-radius: 10px; font-size: 13px; gap: 6px; }

  /* ---- shared stage -> flow ---- */
  .stadium-section .stage-canvas {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 64px 24px;
  }
  .stage-bg-img { object-fit: cover; filter: brightness(0.55); }
  .floodlight-flare, .steam-canvas { display: none; } /* desktop-poster coords: steam smears into a grey box on tall mobile sections */
  .section-showdown .stage-canvas { padding-top: 112px; }

  .hero-left-block, .pedestal-clock-overlay, .leaderboard-block, .bottom-dock,
  .prizes-left-block, .prizes-right-block, .how-header, .how-steps-row,
  .how-bottom-row, .reg-left-card, .reg-main-panel {
    position: relative;
    left: auto; top: auto; bottom: auto;
    width: 100%; height: auto;
  }
  .reveal-item { transform: translateY(16px); }

  /* ---- hero ---- */
  .eyebrow-gold { font-size: 12px; letter-spacing: 0.2em; }
  .hero-title-lockup { margin: 14px 0 16px; }
  .hero-laurel { width: clamp(26px, 6vw, 44px); }
  .hero-headline .line-silver { font-size: clamp(22px, 5.8vw, 44px); }
  .hero-headline .line-gold { font-size: clamp(22px, 5.8vw, 44px); }
  .hero-sub { font-size: clamp(14px, 3.2vw, 19px); margin-bottom: 12px; }
  .hero-desc { font-size: clamp(13px, 2.6vw, 16px); width: 100%; max-width: 520px; text-align: center; margin-bottom: 22px; }
  .btn-hero-register { width: min(100%, 320px); height: 52px; border-radius: 12px; font-size: 16px; gap: 10px; align-self: center; margin-left: 0; }
  .btn-hero-register .arrow-icon { font-size: 18px; }

  /* clock: no pedestal to sit on any more, so it becomes its own glass card */
  .pedestal-clock-overlay {
    max-width: 360px; align-self: center; gap: 10px; padding: 14px 16px;
    border-radius: 16px; background: var(--glass-dark);
    border: 1px solid rgba(247, 197, 72, 0.4); backdrop-filter: blur(10px);
  }
  .pedestal-title { font-size: 11px; gap: 8px; }
  .pedestal-title::before, .pedestal-title::after { width: 22px; }
  .led-display-box { width: 100%; height: 56px; border-radius: 8px; }
  .led-ghost, .led-digits { font-size: 32px; }
  .led-digits { grid-template-columns: 1fr 18px 1fr 18px 1fr; padding: 0 8px; }
  .pedestal-labels { width: 100%; font-size: 10px; grid-template-columns: 1fr 18px 1fr 18px 1fr; padding: 0 8px; }

  /* leaderboard */
  .lb-header { margin-bottom: 14px; }
  .lb-crown-emblem { gap: 6px; margin-bottom: 4px; }
  .lb-laurel-sm { width: 22px; }
  .lb-crown-svg { width: 34px; }
  .lb-title { font-size: clamp(22px, 5vw, 30px); }
  .lb-subtitle { font-size: 11px; margin-top: 2px; }
  .lb-card { border-radius: 18px; padding: 14px 12px 16px; max-width: 640px; }
  .lb-table-head, .lb-row { grid-template-columns: 44px minmax(0, 1fr) 64px; }
  .lb-table-head { font-size: 11px; padding: 0 8px 10px; }
  .lb-rows { gap: 6px; margin-top: 8px; max-height: none; overflow: visible; }
  .lb-row { height: 44px; padding: 0 8px; border-radius: 10px; font-size: 14px; }
  .rank-shield { width: 28px; height: 33px; }
  .rank-shield span { font-size: 13px; }
  .rank-num { font-size: 14px; }
  .col-team { gap: 8px; padding-left: 4px; min-width: 0; }
  .team-sil-icon { width: 24px; flex-shrink: 0; }
  .team-name-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* docks (shared) */
  .bottom-dock { flex-direction: column; align-items: stretch; gap: 22px; padding: 22px 18px; border-radius: 18px; }
  .timeline-steps { padding-right: 0; }
  .tl-icon { width: 36px; height: 36px; margin-bottom: 2px; }
  .tl-step { gap: 3px; }
  .tl-title { font-size: 13px; }
  .tl-date { font-size: 11px; }
  .tl-line { max-width: 60px; margin-top: -34px; }
  .dock-divider { width: 100%; height: 1px; margin: 0; background: linear-gradient(90deg, transparent, rgba(247, 197, 72, 0.45), transparent); }
  .dock-prize-pool { width: 100%; gap: 10px; }
  .dpp-header { font-size: 15px; gap: 8px; }
  .dpp-trophy-ic { width: 20px; height: 20px; }
  .dpp-cards { gap: 10px; }
  .dpp-card { height: 64px; border-radius: 10px; padding: 0 12px; gap: 8px; }
  .dpp-laurel { width: 18px; }
  .dpp-silver-cup { width: 28px; height: 28px; }
  .dpp-card-txt strong { font-size: 15px; }
  .dpp-card-txt span { font-size: 12px; }

  /* ---- prizes ---- */
  .gold-flare-line { margin: 14px 0; }
  .gold-flare-line.short { margin-top: 16px; }
  .prizes-title-lockup { gap: 8px; margin: 4px 0; }
  .prizes-laurel { width: clamp(28px, 6vw, 44px); }
  .prizes-headline { font-size: clamp(34px, 8vw, 60px); }
  .prizes-desc { font-size: clamp(14px, 2.8vw, 18px); margin-top: 4px; }
  .prizes-right-block { gap: 20px; }
  .prize-cards-grid { gap: 16px; width: 100%; max-width: 720px; margin: 0 auto; }
  .prize-major-card { height: auto; min-height: 320px; gap: 14px; border-radius: 18px; padding: 22px 16px 20px; }
  .pmc-crest { gap: 6px; }
  .pmc-laurel { width: 32px; }
  .pmc-crown { width: 34px; }
  .pmc-crest-center { gap: 4px; }
  .pmc-place-title { font-size: 22px; }
  .pmc-art-wrap { height: 150px; }
  .pmc-art-wrap::before { width: 280px; filter: blur(1px); }
  .pmc-art-wrap::after { width: 180px; }
  .pmc-reward-main { font-size: 22px; margin-bottom: 2px; }
  .pmc-reward-sub { font-size: 14px; }
  .prizes-meta-pill { width: 100%; max-width: 560px; height: auto; min-height: 56px; padding: 12px 18px; gap: 10px; }
  .pmp-half { gap: 8px; font-size: 14px; }
  .pmp-icon { width: 26px; height: 26px; }
  .prizes-dock { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; padding: 22px 18px; }
  .pd-sep { display: none; }
  .pd-item { gap: 12px; }
  .pd-icon { width: 44px; height: 44px; }
  .pd-text h3 { font-size: 16px; margin-bottom: 4px; }
  .pd-text p { font-size: 13px; line-height: 1.4; }

  /* ---- how it works ---- */
  .eyebrow-lined { gap: 10px; }
  .line-wing { width: 28px; }
  .how-title-lockup { gap: 10px; margin: 6px 0; }
  .how-laurel { width: clamp(28px, 6vw, 44px); }
  .how-headline { font-size: clamp(34px, 8vw, 60px); }
  .how-subtitle { font-size: clamp(14px, 2.8vw, 17px); }
  .how-steps-row { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 16px; }
  .step-chevron { display: none; }
  .how-step-card { width: auto; border-radius: 18px; padding: 34px 16px 20px; }
  .how-step-card:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
  .step-shield-badge { top: -18px; width: 38px; height: 45px; }
  .step-shield-badge span { font-size: 18px; }
  .hsc-icon-area { height: 70px; margin-bottom: 10px; }
  .hsc-svg { width: 60px; height: 60px; }
  .crispy-wing-img { width: 110px; }
  .hsc-title { font-size: 16px; min-height: 2.4em; }
  .hsc-title.single-line { min-height: 0; }
  .hsc-divider { margin: 10px 0 12px; }
  .hsc-desc { font-size: 13.5px; }
  .hsc-desc.compact { font-size: 13px; }
  .gold-highlight { font-size: 14px; }
  .hsc-challenge-box { margin-top: 8px; padding: 10px 12px; border-radius: 12px; gap: 8px; }
  .hcb-row { gap: 10px; font-size: 14px; }
  .hcb-row svg { width: 24px; height: 24px; }
  .hcb-multiline small { font-size: 12px; }

  .how-bottom-row { flex-direction: column; gap: 38px; margin-top: 6px; }
  .how-bottom-panel { border-radius: 20px; padding: 38px 16px 22px; }
  .panel-pill-tab { top: -18px; left: 20px; height: 36px; padding: 0 18px; gap: 8px; font-size: 14px; }
  .panel-pill-tab svg { width: 20px; height: 20px; }
  .fmt-ic { width: 30px; height: 30px; margin-bottom: 4px; }
  .fmt-champion-ic { gap: 2px; margin-bottom: 4px; }
  .fmt-laurel { width: 16px; }
  .fmt-cup { width: 30px; height: 30px; }
  .fmt-num { font-size: 22px; }
  .fmt-label { font-size: 13px; }
  .fmt-sub { font-size: 11px; }
  .fmt-arrow { font-size: 26px; }
  .kd-ic { width: 34px; height: 34px; margin-bottom: 4px; }
  .kd-num { font-size: 24px; }
  .kd-label { font-size: 13px; }
  .kd-sep { height: 80px; }

  /* ---- registration ---- */
  .reg-left-card { border-radius: 20px; padding: 22px 20px; gap: 14px; justify-content: center; }
  .rlc-trophy-wrap { height: 200px; }
  .rlc-trophy-wrap::before { width: 340px; filter: blur(1px); }
  .rlc-trophy-wrap::after { width: 240px; }
  .rlc-eyebrow { font-size: 12px; }
  .rlc-title { font-size: clamp(28px, 6vw, 40px); }
  .rlc-desc { font-size: 14px; margin-bottom: 4px; }
  .rlc-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .rlc-pill { height: 46px; border-radius: 10px; padding: 0 14px; gap: 12px; font-size: 14px; }
  .rlc-pill svg { width: 24px; height: 24px; }

  .reg-main-panel { border-radius: 20px; padding: 24px 18px; gap: 4px; }
  .rmp-title { font-size: clamp(22px, 5vw, 30px); }
  .rmp-subtitle { font-size: 14px; margin-top: 6px; }
  .reg-stepper { flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .step-pill { gap: 8px; padding: 6px 14px 6px 8px; font-size: 13px; }
  .step-circle { width: 24px; height: 24px; font-size: 12px; }
  .stepper-line { width: 20px; }
  .reg-form { gap: 16px; margin-top: 18px; }
  .reg-subpanel { border-radius: 14px; padding: 16px; }
  .subpanel-head { gap: 8px; margin-bottom: 12px; }
  .sp-icon { width: 22px; height: 22px; }
  .subpanel-head h3 { font-size: 16px; }
  .form-field { gap: 6px; }
  .form-field label, .pc-field label { font-size: 13px; gap: 6px; }
  .form-field input[type="text"], .pc-field input[type="text"],
  .pc-field input[type="email"], .pc-field input[type="tel"] {
    height: 44px; border-radius: 10px; padding: 0 12px; font-size: 16px; /* 16px stops iOS focus-zoom */
  }

  .players-grid { grid-template-columns: 1fr; gap: 22px; }
  .player-card { border-radius: 14px; padding: 24px 14px 16px; gap: 10px 12px; grid-template-columns: 90px 1fr 1fr; }
  .pc-shield { top: -10px; left: 12px; width: 30px; height: 36px; }
  .pc-shield span { font-size: 14px; }
  .captain-tag { top: 104px; bottom: auto; left: 12px; width: 90px; gap: 4px; font-size: 12px; }
  .captain-tag svg { width: 14px; }
  .pc-avatar-wrap { width: 72px; height: 72px; grid-row: 1 / span 5; align-self: start; margin-top: 6px; }
  .pc-cam-btn { right: -2px; bottom: -2px; width: 26px; height: 26px; }
  .pc-cam-btn svg { width: 14px; height: 14px; }
  .pc-field { gap: 5px; }
  .phone-input-group, .dob-input-group { height: 44px; border-radius: 10px; padding-left: 10px; }
  .phone-input-group input, .dob-input-group input { padding-left: 8px; }
  .flag-prefix { gap: 6px; padding-right: 8px; font-size: 14px; }
  .lb-flag { width: 18px; height: 13px; }
  .lb-flag::after { font-size: 8px; }
  .dob-cal-ic { width: 18px; height: 18px; }

  .reg-footer-bar { gap: 16px; padding-top: 4px; }
  .terms-label { gap: 10px; font-size: 14px; }
  .terms-box { width: 22px; height: 22px; border-radius: 5px; flex-shrink: 0; }
  .terms-label input:checked + .terms-box::after { font-size: 15px; }
  .btn-continue-review { height: 52px; padding: 0 26px; border-radius: 12px; font-size: 16px; gap: 10px; }
}

@media (max-width: 700px) {
  /* two compact rows: [logo .... Login Register] / [nav links, one line] */
  .header-inner { flex-wrap: wrap; align-items: center; padding: 8px 14px; gap: 6px 8px; }
  .brand-logo { flex: 1 1 0; min-width: 0; gap: 6px; }
  .brand-b-icon { width: 26px; }
  .brand-en { font-size: 13px; }
  .brand-ar { font-size: 11px; }
  .header-actions { order: 2; flex: none; gap: 6px; }
  .btn-header-cta { flex: none; white-space: nowrap; padding: 7px 10px; font-size: 11.5px; border-radius: 8px; }
  .main-nav { order: 3; width: 100%; margin: 0; gap: 0; justify-content: space-between; }
  .nav-link { white-space: nowrap; font-size: 13px; padding: 6px 8px; }
  .section-showdown .stage-canvas { padding-top: 116px; }
  .section-register .stage-canvas { padding-top: 116px; }
  .login-section { padding-top: 124px; }
}

@media (max-width: 640px) {
  .stadium-section .stage-canvas { padding: 56px 16px; gap: 24px; }
  .stage-bg-img, .login-bg { object-fit: contain; } /* zoomed out: whole image visible, section color fills the rest */
  /* hero: pin the trophy shot to the top, behind the headline, instead of a dim band mid-section */
  .section-showdown .stage-bg-img, .section-prizes .stage-bg-img { height: 780px; bottom: auto; object-fit: cover; object-position: 50% 30%; filter: blur(4px) brightness(0.65);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 55%, transparent 100%); }
  .section-register .stage-canvas { padding-top: 116px; }
  .section-showdown .stage-canvas { padding-top: 138px; }

  .timeline-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 8px; }
  .tl-line { display: none; }
  .tl-step { flex: 0 0 30%; }
  .dpp-cards { grid-template-columns: 1fr; }

  .prize-cards-grid { grid-template-columns: 1fr; max-width: 380px; }
  .prizes-meta-pill { padding: 12px 14px; font-size: 13px; }
  .pmp-half { font-size: 13px; }
  .prizes-dock { grid-template-columns: 1fr; gap: 20px; }

  .how-steps-row { grid-template-columns: 1fr; gap: 38px; max-width: 380px; margin: 0 auto; }
  .how-step-card:last-child { width: auto; }
  .format-stages { flex-wrap: wrap; justify-content: center; gap: 20px 8px; }
  .fmt-node { flex: 0 0 30%; }
  .fmt-arrow { display: none; }
  .kd-label { font-size: 12px; }

  .rlc-pills { grid-template-columns: 1fr; }
  .reg-main-panel { padding: 22px 14px; }
  .reg-subpanel { padding: 14px 12px; }
  .players-grid { grid-template-columns: 1fr; }
  .player-card { grid-template-columns: 1fr; }
  .pc-avatar-wrap { grid-column: 1 / -1; grid-row: auto; justify-self: center; }
  .captain-tag { top: 8px; left: auto; right: 12px; width: auto; }
  .stepper-line { display: none; }
  .step-pill { padding: 6px 12px 6px 6px; font-size: 12px; }
  .reg-footer-bar { flex-direction: column; align-items: stretch; }
  .btn-continue-review { width: 100%; }

  .modal-glass-box { padding: 22px 16px; }
  .modal-actions { flex-wrap: wrap; }
  .modal-actions > * { flex: 1 1 140px; }
}

/* ==========================================================================
   LOGIN PAGE
   ========================================================================== */
.login-section { position: relative; width: 100%; min-height: 100vh; min-height: 100dvh; display: flex; justify-content: center; align-items: center; padding: 110px 16px 48px; box-sizing: border-box; overflow: hidden; background: #050a14; }
.login-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; pointer-events: none; }
.login-panel { position: relative; z-index: 2; width: min(100%, 420px); display: flex; flex-direction: column; gap: 8px; padding: 32px 28px; border-radius: 20px; background: rgba(14, 12, 9, 0.82); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55); color: #fff; }
.login-panel h1 { margin: 0; font-size: 28px; font-weight: 900; font-style: italic; color: var(--gold-bright); letter-spacing: 1px; }
.login-sub { margin: 0 0 12px; font-size: 14px; color: var(--silver-mid); }
.login-panel label { font-size: 13px; font-weight: 600; color: #e2e8f2; margin-top: 6px; }
.login-panel input { width: 100%; height: 44px; border-radius: 10px; background: rgba(24, 28, 36, 0.85); border: 1px solid rgba(255, 255, 255, 0.22); padding: 0 14px; color: #fff; font: inherit; font-size: 15px; outline: none; }
.login-panel input:focus { border-color: #f7c548; box-shadow: 0 0 10px rgba(247, 197, 72, 0.35); }
.login-pass { position: relative; }
.login-pass input { padding-right: 64px; }
.login-pass button { position: absolute; right: 6px; top: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--gold-bright); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.login-error { min-height: 18px; margin: 4px 0; font-size: 13px; color: #ff7b7b; }
.login-panel .btn-continue-review { width: 100%; justify-content: center; }
.login-alt { margin: 8px 0 0; text-align: center; font-size: 13px; color: var(--silver-mid); }

/* Team name hero field */
.team-name-label { display: block; font-size: 0.95cqw; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 0.55cqw; }
.team-name-wrap { position: relative; display: flex; align-items: center; }
.team-name-ic { position: absolute; left: 1cqw; width: 1.9cqw; height: 1.9cqw; pointer-events: none; }
.team-name-input { width: 100%; height: 3.9cqw; border-radius: 0.8cqw; padding: 0 1.2cqw 0 3.6cqw; background: linear-gradient(180deg, rgba(36, 28, 12, 0.85), rgba(18, 20, 28, 0.9)); border: 1.5px solid rgba(247, 197, 72, 0.55); color: #fff; font-family: inherit; font-size: 1.7cqw; font-weight: 800; font-style: italic; letter-spacing: 0.02em; outline: none; box-shadow: inset 0 0 14px rgba(247, 197, 72, 0.08); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.team-name-input::placeholder { color: rgba(255, 255, 255, 0.35); font-weight: 600; }
.team-name-input:focus { border-color: #fff3a6; box-shadow: 0 0 18px rgba(247, 197, 72, 0.5), inset 0 0 14px rgba(247, 197, 72, 0.12); }
.team-name-input:user-invalid { border-color: #ff5c5c; box-shadow: 0 0 10px rgba(255, 92, 92, 0.4); }
.team-name-hint { margin: 0.5cqw 0 0; font-size: 0.78cqw; color: #aeb8c8; }
@media (max-width: 1024px) {
  .team-name-label { font-size: 14px; margin-bottom: 8px; }
  .team-name-ic { left: 14px; width: 26px; height: 26px; }
  .team-name-input { height: 56px; border-radius: 12px; padding: 0 14px 0 52px; font-size: 20px; }
  .team-name-hint { margin-top: 8px; font-size: 13px; }
}

/* Footer credit */
.site-footer { padding: 18px 16px 22px; text-align: center; font-size: 13px; color: var(--silver-dark); background: #050a14; }
.site-footer a { color: var(--gold-bright); font-weight: 700; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
