/* ============================================================
   World Cup 2026 - Static Site Styles
   Ported from React/Tailwind to plain CSS
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', ui-sans-serif, system-ui, sans-serif;
  background: linear-gradient(180deg, #edf1f7 0%, #f7f9fc 100%);
  color: #0f1727;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; background: none; }
button:not(:disabled), a[href], input[type="range"] { cursor: pointer; }

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Anton', ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.01em;
}

/* --- CSS Variables --- */
:root {
  --primary: #2e46e8;
  --background: #edf1f7;
  --foreground: #0f1727;
  --card: rgba(255, 255, 255, 0.94);
  --card-foreground: #0f1727;
}

/* --- Container --- */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* --- Hero --- */
.wc-hero {
  position: relative;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
}
.wc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(127,215,255,0.16), transparent 22%),
    radial-gradient(circle at 84% 18%, rgba(255,255,255,0.12), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
  pointer-events: none;
  z-index: 0;
}
.wc-hero .container { position: relative; z-index: 10; padding-top: 1.5rem; padding-bottom: 4.5rem; }
.wc-hero-band {
  position: absolute;
  left: -2rem; right: -2rem; bottom: -4.5rem;
  height: 11rem;
  background: linear-gradient(90deg, rgba(46,70,232,0.95) 0%, rgba(46,70,232,0.92) 50%, rgba(46,70,232,0.78) 100%);
  transform: rotate(-4deg);
  box-shadow: 0 18px 40px rgba(15,23,39,0.2);
  z-index: 1;
}

/* Hero internal layout */
.hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem; }
.hero-logo { height: 2rem; width: auto; object-fit: contain; }
.hero-badge {
  border-radius: 1.6rem;
  background: #fff;
  padding: 1rem 1.25rem;
  color: #0f1727;
  box-shadow: 0 20px 34px rgba(15,23,39,0.22);
}
.hero-badge-year { font-size: 3.2rem; line-height: 0.82; }
.hero-badge-label { margin-top: 0.5rem; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: #0f172a; }
.hero-content { margin-top: 2.5rem; max-width: 48rem; }
.hero-eyebrow { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.34em; color: rgba(255,255,255,0.7); }
.hero-title { margin-top: 1.25rem; font-size: 3.5rem; line-height: 0.88; letter-spacing: 0.01em; color: #fff; }
.hero-title span { display: block; }
.hero-callouts { margin-top: 1.5rem; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.hero-callout {
  background: #fff;
  padding: 0.5rem 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f1727;
  box-shadow: 0 12px 22px rgba(15,23,39,0.14);
}

/* --- Selector Section --- */
.selector-wrapper {
  margin-left: auto; margin-right: auto;
  max-width: 64rem;
  border-radius: 2rem;
  background: #fff;
  padding: 2rem 1.25rem;
  text-align: center;
  box-shadow: 0 24px 70px rgba(15,23,39,0.08);
  margin-top: -1rem;
}
.selector-instructions {
  margin: 0 auto;
  max-width: 56rem;
  text-wrap: balance;
  font-size: 1.125rem;
  line-height: 2.25rem;
  color: #334155;
}
.selectors-grid { margin-top: 2.5rem; display: grid; align-items: center; gap: 1.5rem; }
.vs-circle {
  display: inline-flex;
  height: 4rem; width: 4rem;
  align-items: center; justify-content: center;
  border-radius: 9999px;
  border: 1px solid #d7dff6;
  background: #f6f8ff;
  font-size: 1.8rem;
  color: #8a93b2;
  box-shadow: 0 14px 28px rgba(15,23,39,0.05);
  margin: 0 auto;
}

/* --- Selector Card --- */
.wc-section-eyebrow {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase; color: #73809a;
}
.wc-selector-card {
  border: 1px solid rgba(15,23,39,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,250,255,0.96) 100%);
  border-radius: 1.75rem;
  padding: 1.35rem;
  box-shadow: 0 16px 42px rgba(15,23,39,0.06);
  text-align: left;
}
.team-display { margin-top: 1.25rem; display: flex; align-items: center; gap: 1rem; }
.team-flag { height: 3.5rem; width: 5rem; border-radius: 1rem; object-fit: cover; box-shadow: 0 12px 22px rgba(15,23,39,0.16); }
.team-name { font-size: 0.875rem; font-weight: 500; color: #475569; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-followers { margin-top: 0.25rem; font-size: 2rem; line-height: 1; letter-spacing: -0.01em; color: #0f1727; }
.team-followers-label { margin-top: 0.25rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: #64748b; }
.slider-wrapper { margin-top: 1.5rem; padding: 0 0.25rem; }

/* Slider */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 3px;
  background: #d9dfef; border-radius: 9999px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  height: 20px; width: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #2E46E8;
  box-shadow: 0 10px 20px rgba(46,70,232,0.28);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  height: 20px; width: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #2E46E8;
  box-shadow: 0 10px 20px rgba(46,70,232,0.28);
  cursor: pointer;
}

/* --- Start Button --- */
.start-button-wrapper { margin-top: 2rem; display: flex; justify-content: center; }
.start-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 3.5rem; min-width: 15rem;
  border-radius: 9999px;
  background: #2E46E8;
  padding: 0 2rem;
  font-size: 0.875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.24em;
  color: #fff;
  box-shadow: 0 16px 34px rgba(46,70,232,0.34);
  transition: background 200ms ease;
  border: none;
}
.start-button:hover:not(:disabled) { background: #2339cf; }
.start-button:disabled { background: #95a0df; cursor: not-allowed; }
.start-button svg { width: 1rem; height: 1rem; }

/* --- Comparison Zone --- */
.comparison-wrapper {
  border-radius: 2rem;
  background: #fff;
  padding: 1.25rem 1rem;
  box-shadow: 0 24px 70px rgba(15,23,39,0.08);
}
.scoreboard-grid { display: grid; gap: 1rem; }
.score-panel {
  border-radius: 1.4rem;
  background: #f5f8ff;
  padding: 1rem;
}
.score-panel .team-display { margin-top: 0.75rem; }
.score-flag { height: 2.5rem; width: 3.5rem; border-radius: 0.75rem; object-fit: cover; }
.score-name { font-size: 0.875rem; font-weight: 600; color: #475569; }
.score-followers { font-size: 2rem; line-height: 1; color: #0f1727; }
.status-panel {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border-radius: 1.4rem;
  background: #0f1727;
  padding: 1rem 1.25rem;
  text-align: center; color: #fff;
}
.status-eyebrow { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.24em; color: rgba(255,255,255,0.6); }
.status-count { margin-top: 0.5rem; font-size: 1.8rem; line-height: 1; }
.status-label { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); }

/* --- Pitch Surface --- */
.pitch-surface {
  position: relative;
  min-height: 38rem;
  overflow: hidden;
  border-radius: 2rem;
  border: 10px solid rgba(255,255,255,0.82);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 10%, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.02) 30%, rgba(255,255,255,0.08) 40%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.08) 60%, rgba(255,255,255,0.02) 70%, rgba(255,255,255,0.08) 80%, rgba(255,255,255,0.02) 90%, rgba(255,255,255,0.08) 100%),
    linear-gradient(180deg, #4fbd4f 0%, #2f972f 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.24), 0 20px 38px rgba(15,23,39,0.1);
  margin-top: 1.5rem;
  outline: none;
}
.pitch-surface::before {
  content: "";
  position: absolute; inset: 1rem;
  border: 2px solid rgba(255,255,255,0.74);
  border-radius: 1.35rem;
}
.pitch-half-line { position: absolute; background: rgba(255,255,255,0.75); }
.pitch-half-line-vertical {
  top: 1rem; bottom: 1rem; left: 50%; width: 2px;
  transform: translateX(-50%);
}
.pitch-center-circle {
  position: absolute; left: 50%; top: 50%;
  width: 7rem; height: 7rem;
  transform: translate(-50%, -50%);
  border-radius: 9999px;
  border: 2px solid rgba(255,255,255,0.74);
}
.pitch-box {
  position: absolute; top: 50%;
  width: 16%; height: 42%;
  transform: translateY(-50%);
  border: 2px solid rgba(255,255,255,0.74);
}
.pitch-box-left-side { left: 1rem; border-right: none; border-top-left-radius: 1.1rem; border-bottom-left-radius: 1.1rem; }
.pitch-box-right-side { right: 1rem; border-left: none; border-top-right-radius: 1.1rem; border-bottom-right-radius: 1.1rem; }
.pitch-small-box {
  position: absolute; top: 50%;
  width: 6%; height: 22%;
  transform: translateY(-50%);
  border: 2px solid rgba(255,255,255,0.74);
}
.pitch-small-box-left { left: 1rem; border-right: none; }
.pitch-small-box-right { right: 1rem; border-left: none; }

/* --- Pitch Player --- */
.pitch-player {
  position: absolute;
  width: 6.4rem;
  left: 50%; top: 50%;
  transform: translate(-50%, -59%);
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(15,23,39,0.35);
  backdrop-filter: blur(10px);
  padding: 0.38rem 0.34rem 0.42rem;
  box-shadow: 0 14px 24px rgba(15,23,39,0.16);
  transition: box-shadow 180ms ease, transform 180ms ease;
  text-align: center;
  display: block;
}
.pitch-player:hover, .pitch-player-active {
  box-shadow: 0 20px 34px rgba(15,23,39,0.2);
}
.pitch-player-link:hover, .pitch-player-link:focus-visible {
  transform: translate(-50%, -59%) scale(1.02);
  border-color: rgba(255,255,255,0.38);
  outline: none;
}
.pitch-avatar {
  margin: 0 auto;
  height: 2.8rem; width: 2.8rem;
  overflow: hidden;
  border-radius: 0.9rem;
  border: 2px solid rgba(255,255,255,0.88);
  box-shadow: 0 10px 18px rgba(15,23,39,0.14);
}
.pitch-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pitch-avatar-initials {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(36,72,255,0.22), rgba(127,215,255,0.22));
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: #0f1727;
}
.pitch-player-name {
  margin-top: 0.35rem;
  font-size: 0.68rem; line-height: 1.1;
  font-weight: 600; color: #fff;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pitch-player-social {
  margin-top: 0.25rem;
  display: flex; align-items: center; justify-content: center; gap: 0.25rem;
  font-size: 0.6rem; color: rgba(255,255,255,0.9);
}
.pitch-player-social svg { width: 0.75rem; height: 0.75rem; }

/* Player entrance animation */
@keyframes player-enter {
  from { opacity: 0; transform: translate(-50%, -59%) scale(0.8) translateY(18px); }
  to { opacity: 1; transform: translate(-50%, -59%) scale(1) translateY(0); }
}
.pitch-player-entering {
  animation: player-enter 0.45s ease-out forwards;
}

/* --- Bottom Panels --- */
.bottom-panels-grid { margin-top: 1.5rem; display: grid; gap: 1rem; }

/* Spotlight */
.spotlight-panel {
  border-radius: 1.6rem;
  background: #f7f9ff;
  padding: 1.25rem;
}
.spotlight-content { margin-top: 1rem; display: flex; align-items: center; gap: 1rem; }
.spotlight-avatar {
  height: 4.5rem; width: 4.5rem;
  overflow: hidden;
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 14px 24px rgba(15,23,39,0.08);
  flex-shrink: 0;
}
.spotlight-avatar img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-avatar-initials {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(36,72,255,0.22), rgba(127,215,255,0.22));
  font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: #0f1727;
}
.spotlight-name { font-size: 2rem; line-height: 1; color: #0f1727; }
.spotlight-meta { margin-top: 0.5rem; font-size: 0.875rem; font-weight: 600; color: #475569; }
.spotlight-followers { margin-top: 0.5rem; font-size: 1rem; font-weight: 700; color: #1e293b; }
.spotlight-placeholder { margin-top: 1rem; font-size: 0.875rem; line-height: 1.75rem; color: #64748b; }

/* Verdict */
.verdict-panel {
  border-radius: 1.6rem;
  background: #0f1727;
  padding: 1.25rem;
  color: #fff;
}
.verdict-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.verdict-eyebrow { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.24em; color: rgba(255,255,255,0.6); }
.verdict-title { margin-top: 0.75rem; font-size: 2.2rem; line-height: 1; color: #fff; }
.verdict-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; text-align: center; }
.verdict-stat {
  border-radius: 1rem;
  background: rgba(255,255,255,0.08);
  padding: 0.5rem 0.75rem;
}
.verdict-stat-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.6); }
.verdict-stat-value { margin-top: 0.25rem; font-size: 1.25rem; }
.verdict-description { margin-top: 1rem; font-size: 0.875rem; line-height: 1.75rem; color: rgba(255,255,255,0.72); }
.verdict-cards { margin-top: 1.25rem; display: grid; gap: 0.75rem; }
.verdict-card {
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.08);
  padding: 1rem;
}
.verdict-card-label { font-size: 0.62rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.55); }
.verdict-card-name { margin-top: 0.5rem; font-size: 1.8rem; line-height: 1; }
.verdict-card-info { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); }

/* --- Result Modal --- */
.result-modal-overlay {
  position: fixed; inset: 0;
  z-index: 120;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.result-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(5,10,28,0.72);
  backdrop-filter: blur(8px);
}
.result-modal {
  position: relative;
  width: 100%; max-width: 42rem;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.96);
  padding: 1.25rem;
  box-shadow: 0 32px 80px rgba(15,23,39,0.24);
  max-height: calc(100% - 2rem);
  overflow-y: auto;
  backdrop-filter: blur(20px);
}
.confetti-container { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.confetti-piece {
  position: absolute; top: -10%;
  width: 0.75rem; height: 1.2rem;
  border-radius: 9999px;
  opacity: 0;
  transform: translateY(-1.5rem) rotate(0deg);
  animation-name: confetti-fall;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  box-shadow: 0 10px 18px rgba(15,23,39,0.12);
}
@keyframes confetti-fall {
  0% { opacity: 0; transform: translate3d(0, -1.5rem, 0) rotate(0deg); }
  10% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(1.2rem, 21rem, 0) rotate(320deg); }
}
@keyframes modal-enter {
  from { opacity: 0; transform: scale(0.9) translateY(24px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.result-modal-animating {
  animation: modal-enter 0.42s ease-out forwards;
}
.modal-content { position: relative; z-index: 10; }
.modal-close {
  position: absolute; right: 0; top: 0;
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.75rem; width: 2.75rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: rgba(255,255,255,0.9);
  color: #475569;
  box-shadow: 0 10px 24px rgba(15,23,39,0.1);
  transition: background 180ms ease, color 180ms ease;
  font-size: 1.2rem; line-height: 1;
}
.modal-close:hover { background: #fff; color: #0f172a; }
.modal-close svg { width: 1rem; height: 1rem; }
.modal-eyebrow { text-align: center; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; color: #64748b; }
.modal-title { margin-top: 0.75rem; text-align: center; font-size: 2.3rem; line-height: 1; color: #0f1727; }
.modal-cards { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.modal-card-winner {
  border-radius: 1.6rem;
  background: linear-gradient(135deg, rgba(46,70,232,0.12), rgba(127,215,255,0.18));
  padding: 1rem 1.25rem;
}
.modal-card-loser {
  border-radius: 1.6rem;
  background: linear-gradient(135deg, rgba(15,23,39,0.06), rgba(15,23,39,0.02));
  padding: 1rem 1.25rem;
}
.modal-card-label { font-size: 0.66rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: #475569; }
.modal-card-team { margin-top: 0.75rem; display: flex; align-items: center; gap: 1rem; }
.modal-card-flag { height: 3.5rem; width: 5rem; border-radius: 1rem; object-fit: cover; box-shadow: 0 12px 24px rgba(15,23,39,0.14); }
.modal-card-name { font-size: 1.9rem; line-height: 1; color: #0f1727; }
.modal-card-followers { margin-top: 0.5rem; font-size: 1rem; font-weight: 700; color: #1e293b; }
.modal-play-again {
  margin-top: 1.25rem;
  display: flex; justify-content: center;
}

/* --- Share --- */
.share-section {
  margin-top: 1.25rem;
  border-radius: 1.7rem;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.95);
  padding: 1rem;
}
.share-header { display: flex; align-items: center; gap: 0.5rem; }
.share-header svg { width: 1rem; height: 1rem; color: #2E46E8; }
.share-header-text { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.26em; color: #64748b; }
.share-buttons { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.share-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(15,23,39,0.08);
  background: #fff;
  padding: 0.72rem 1rem;
  color: #0f1727;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.share-pill:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15,23,39,0.08);
  border-color: rgba(46,70,232,0.24);
}
.share-pill:disabled { opacity: 0.45; cursor: not-allowed; }
.share-pill svg { width: 0.875rem; height: 0.875rem; }
.copied-badge {
  margin-top: 1rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px;
  background: rgba(46,70,232,0.1);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem; font-weight: 600;
  color: #2E46E8;
}
.copied-badge svg { width: 0.875rem; height: 0.875rem; }

/* --- Footer --- */
.wc-footer {
  background: linear-gradient(135deg, #2437d7 0%, #2e46e8 55%, #304cff 100%);
  color: #fff;
}
.footer-inner {
  display: flex; flex-direction: column; gap: 1.25rem;
  padding: 1.75rem 0;
}
.footer-logo { height: 1.75rem; width: auto; object-fit: contain; }
.footer-email {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.9);
}
.footer-email:hover { color: #fff; }
.footer-email svg { width: 1rem; height: 1rem; }
.footer-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.footer-social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.5rem; width: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
}
.footer-social-icon svg { width: 1rem; height: 1rem; }

/* --- Utility --- */
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
  .wc-hero .container { padding-top: 2rem; padding-bottom: 5.5rem; }
  .wc-selector-card { padding: 1.55rem; }
  .hero-logo { height: 2.25rem; }
  .hero-badge { padding: 1.25rem 1.5rem; }
  .hero-badge-year { font-size: 4rem; }
  .hero-badge-label { font-size: 1rem; }
  .hero-callout { font-size: 1.25rem; }
  .hero-title { font-size: 4.7rem; }
  .selector-wrapper { padding: 2.5rem 2rem; }
  .selector-instructions { font-size: 1.25rem; }
  .comparison-wrapper { padding: 1.5rem; }
  .result-modal { padding: 1.75rem; }
  .modal-title { font-size: 2.8rem; }
  .verdict-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1023px) {
  .wc-hero-band { bottom: -3.4rem; height: 8.25rem; transform: rotate(-5deg); }
}

@media (max-width: 767px) {
  .wc-hero-band { bottom: -2.7rem; height: 6.4rem; }
  .pitch-surface {
    min-height: 58rem;
    border-width: 8px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 10%, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.02) 30%, rgba(255,255,255,0.08) 40%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.08) 60%, rgba(255,255,255,0.02) 70%, rgba(255,255,255,0.08) 80%, rgba(255,255,255,0.02) 90%, rgba(255,255,255,0.08) 100%),
      linear-gradient(90deg, #4fbd4f 0%, #2f972f 100%);
  }
  .confetti-piece { width: 0.56rem; height: 0.95rem; }
  .pitch-surface::before, .pitch-half-line, .pitch-center-circle, .pitch-box, .pitch-small-box { opacity: 0.92; }
  .pitch-half-line-vertical {
    top: 50%; bottom: auto; left: 1rem; right: 1rem;
    width: auto; height: 2px;
    transform: translateY(-50%);
  }
  .pitch-center-circle { width: 4.4rem; height: 4.4rem; }
  .pitch-box {
    top: auto; left: 50%;
    width: 38%; height: 12%;
    transform: translateX(-50%);
  }
  .pitch-box-left-side {
    left: 50%; right: auto; top: 1rem;
    border-right: 2px solid rgba(255,255,255,0.74);
    border-bottom: none;
    border-top-left-radius: 1.1rem; border-top-right-radius: 1.1rem;
    border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  }
  .pitch-box-right-side {
    left: 50%; right: auto; bottom: 1rem;
    border-left: 2px solid rgba(255,255,255,0.74);
    border-top: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 1.1rem; border-bottom-left-radius: 1.1rem;
    border-top-left-radius: 0;
  }
  .pitch-small-box {
    top: auto; left: 50%;
    width: 18%; height: 6.5%;
    transform: translateX(-50%);
  }
  .pitch-small-box-left {
    left: 50%; top: 1rem;
    border-right: 2px solid rgba(255,255,255,0.74);
    border-bottom: none;
  }
  .pitch-small-box-right {
    left: 50%; right: auto; bottom: 1rem;
    border-left: 2px solid rgba(255,255,255,0.74);
    border-top: none;
  }
  .pitch-player {
    width: 4rem;
    left: var(--pitch-mobile-left, 50%);
    top: var(--pitch-mobile-top, 50%);
    transform: translate(-50%, -57%);
    padding: 0.2rem;
    border-radius: 0.82rem;
    box-shadow: 0 8px 16px rgba(15,23,39,0.12);
  }
  .pitch-player-entering {
    animation-name: player-enter-mobile;
  }
  @keyframes player-enter-mobile {
    from { opacity: 0; transform: translate(-50%, -57%) scale(0.8) translateY(18px); }
    to { opacity: 1; transform: translate(-50%, -57%) scale(1) translateY(0); }
  }
  .pitch-player-link:hover, .pitch-player-link:focus-visible {
    transform: translate(-50%, -57%) scale(1.02);
  }
  .pitch-avatar { height: 1.75rem; width: 1.75rem; border-width: 1px; border-radius: 0.68rem; }
  .pitch-player-name { margin-top: 0.18rem; font-size: 0.48rem; }
  .pitch-player-social { font-size: 0.44rem !important; }
}

@media (min-width: 768px) {
  .pitch-player { width: 6rem; }
  .team-flag { height: 4rem; width: 6rem; }
  .team-followers { font-size: 2.35rem; }
  .pitch-player-social { font-size: 0.66rem; }
}

@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; max-width: 1320px; }
  .wc-hero .container { padding-top: 2.5rem; padding-bottom: 6.5rem; }
  .hero-logo { height: 2.5rem; }
  .hero-badge { padding: 1.5rem 1.75rem; }
  .hero-badge-year { font-size: 5.2rem; }
  .hero-title { font-size: 6.5rem; }
  .pitch-surface { min-height: 42rem; }
  .pitch-player { width: 6.5rem; }
  .selectors-grid { grid-template-columns: 1fr auto 1fr; }
  .scoreboard-grid { grid-template-columns: 1fr auto 1fr; align-items: end; }
  .bottom-panels-grid { grid-template-columns: 1.05fr 0.95fr; }
  .selector-wrapper { padding: 2.5rem; margin-top: -3.5rem; }
  .comparison-wrapper { padding: 2rem; }
  .score-panel { padding: 1rem 1.25rem; }
  .score-panel-right .team-display { flex-direction: row-reverse; }
  .score-panel-right { text-align: right; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1280px) {
  .hero-title { font-size: 7.5rem; }
}
