:root {
  --navy: #0b1b46;
  --navy-light: #142956;
  --yellow: #ff9e00;
  --white: #ffffff;
  --muted: #b5c1d9;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--navy);
  color: var(--white);
}

.arena {
  min-height: 100vh;
  padding: 3.2vw 5vw 2vw;
  display: flex;
  flex-direction: column;
  background: var(--navy);
}

.topbar, .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar {
  padding-bottom: 22px;
  border-bottom: 1px solid #344467;
}

.event-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.square {
  width: 17px;
  height: 17px;
  background: var(--yellow);
}

.event-label, .footer {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.stage {
  flex: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 5vw;
  align-items: center;
  padding: 45px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
}

.yellow-line {
  width: 36px;
  height: 4px;
  background: var(--yellow);
}

h1 {
  margin: 25px 0;
  font-size: clamp(48px, 6.5vw, 110px);
  line-height: 0.99;
  font-weight: 900;
  letter-spacing: -3px;
}

.dot { color: var(--yellow); }

.description {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 23px);
}

.countdown-area { margin-top: 55px; }

.countdown-label {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
}

.countdown {
  font-size: clamp(52px, 6vw, 100px);
  font-weight: 900;
  letter-spacing: -3px;
  font-variant-numeric: tabular-nums;
}

.announcement {
  color: var(--muted);
  font-size: 16px;
  font-style: italic;
}

.announcement strong {
  color: white;
  font-style: normal;
}

.qr-column { text-align: center; }

.qr-frame {
  background: white;
  padding: 22px;
  border-radius: 22px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.qr-placeholder {
  width: 100%;
  height: 100%;
  border: 3px dashed #d2d7e1;
  border-radius: 9px;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: center;
}

.qr-mark {
  color: var(--yellow);
  font-size: 100px;
  font-weight: 900;
  line-height: 1;
}

.qr-placeholder strong { font-size: 22px; }
.qr-placeholder small { color: #63718a; }

.qr-caption {
  margin-top: 25px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}

.qr-rule {
  margin: 25px auto 0;
  height: 5px;
  width: 100px;
  background: var(--yellow);
}

.footer {
  border-top: 1px solid #344467;
  padding-top: 20px;
}

@media (max-width: 800px) {
  .arena { padding: 25px; }
  .stage { grid-template-columns: 1fr; gap: 45px; }
  h1 { font-size: clamp(46px, 10vw, 75px); }
  .qr-column { max-width: 380px; width: 100%; margin: auto; }
  .event-label, .footer span:last-child { display: none; }
  .countdown-area { margin-top: 35px; }
}


/* STEP11H2B: Winner announcement */
[hidden] { display: none !important; }

.winner-stage {
  flex: 1;
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5vh 3vw;
}

.winner-eyebrow {
  color: var(--yellow);
  font-size: clamp(12px, 1.3vw, 20px);
  font-weight: 900;
  letter-spacing: 3px;
}

.winner-heading {
  max-width: 1200px;
  margin: 30px 0 20px;
  font-size: clamp(42px, 6vw, 105px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -2px;
}

.winner-subtitle {
  color: var(--muted);
  font-size: clamp(20px, 2.5vw, 38px);
}

.winner-count {
  margin-top: 20px;
  color: var(--yellow);
  font-size: clamp(130px, 22vw, 330px);
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.winner-name {
  max-width: 95%;
  color: var(--yellow);
  font-size: clamp(50px, 8vw, 140px);
  line-height: 1.1;
  font-weight: 900;
  overflow-wrap: anywhere;
  animation: winner-appear 650ms ease-out both;
}

.winner-score {
  margin-top: 28px;
  font-size: clamp(22px, 3vw, 48px);
  font-weight: 800;
  letter-spacing: 2px;
}

@keyframes winner-appear {
  from { opacity: 0; transform: scale(.88); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .winner-name { animation: none; }
}
