/* ==========================================================================
   STARKS OFFICIAL 9:16 TALL SCREEN KIOSK DISPLAY
   Move the Money Across Africa · The STARKS Exchange · PAPSS COWRY 2026
   Proportional cqi + vh scaling so content fills 100% of any 9:16 screen
   (390x693, 768x1024, 1080x1920) with zero wasted vertical space.
   ========================================================================== */

:root {
  --starks-black: #040404;
  --starks-navy-deep: #02081a;
  --starks-navy-mid: #061844;
  --starks-navy-glow: #0b2b73;
  --starks-orange: #DD5A20;
  --starks-gold: #FACC15;
  --starks-amber: #F59E0B;
  --starks-almond: #FA9A60;
}

/* --------------------------------------------------------------------------
   Landing / Attract State:
   Remove top navigation header, floating map, and tablet rotate modal
   -------------------------------------------------------------------------- */
#app-viewport.state-attract .app-header,
#app-viewport.screen-attract .app-header {
  display: none !important;
}

#app-viewport.state-attract .map-container-root,
#app-viewport.screen-attract .map-container-root {
  display: none !important;
}

#app-viewport.state-attract ~ #orientation-prompt-modal,
#app-viewport.screen-attract ~ #orientation-prompt-modal,
body:has(#app-viewport.state-attract) #orientation-prompt-modal,
body:has(#app-viewport.screen-attract) #orientation-prompt-modal,
body:has(#view-attract.active) #orientation-prompt-modal,
#orientation-prompt-modal[aria-hidden="true"] {
  display: none !important;
}

#app-viewport.state-attract {
  background: #020614;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  margin: 0;
  padding: 0;
}

#view-attract.game-screen-view {
  width: 100% !important;
  max-width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  background: #020614;
  position: relative;
  overflow: hidden;
}

#view-attract.game-screen-view.active {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   9:16 Poster Container (Container Query Enabled for Exact Proportional Fit)
   -------------------------------------------------------------------------- */
.kiosk-9-16-wrapper.starks-tall-display,
.kiosk-9-16-wrapper.starks-tall-display.attract-content-wrap {
  position: relative !important;
  container-type: inline-size;
  width: 100% !important;
  max-width: min(100vw, calc(100vh * 9 / 16)) !important;
  max-width: min(100vw, calc(100dvh * 9 / 16)) !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  gap: clamp(4px, 0.9vh, 18px) !important;
  padding: clamp(6px, 1.3vh, 24px) clamp(10px, 3.8cqi, 42px) 0 clamp(10px, 3.8cqi, 42px) !important;
  box-sizing: border-box !important;
  background:
    radial-gradient(ellipse at 72% 28%, rgba(221, 90, 32, 0.24) 0%, transparent 48%),
    radial-gradient(ellipse at 25% 20%, rgba(30, 80, 190, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 60%, rgba(15, 52, 140, 0.58) 0%, transparent 70%),
    linear-gradient(180deg, #041236 0%, #061c52 38%, #04133a 75%, #071026 100%) !important;
  color: #FFFFFF !important;
  user-select: none !important;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.98) !important;
  text-align: left !important;
  overflow: hidden !important;
}

/* Ambient Light Streaks & Glowing Stars */
.starks-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 14%, rgba(255, 255, 255, 0.6) 50%, transparent 100%),
    radial-gradient(1.2px 1.2px at 84% 11%, rgba(250, 204, 21, 0.7) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 42% 34%, rgba(56, 189, 248, 0.65) 50%, transparent 100%),
    radial-gradient(1.2px 1.2px at 90% 42%, rgba(255, 255, 255, 0.5) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 14% 58%, rgba(250, 204, 21, 0.55) 50%, transparent 100%),
    radial-gradient(1.2px 1.2px at 88% 72%, rgba(56, 189, 248, 0.55) 50%, transparent 100%);
}

.starks-light-streaks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  background:
    linear-gradient(132deg, transparent 74%, rgba(250, 154, 96, 0.35) 79%, rgba(254, 240, 138, 0.55) 81%, transparent 84%),
    linear-gradient(48deg, transparent 78%, rgba(56, 189, 248, 0.25) 82%, transparent 86%),
    linear-gradient(-42deg, transparent 82%, rgba(221, 90, 32, 0.4) 86%, rgba(250, 204, 21, 0.5) 87.5%, transparent 90%);
  opacity: 0.75;
}

.kiosk-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   ZONE 1: CENTERED BRAND HEADER & HERO PROMOTION
   ========================================================================== */
.kiosk-zone-promotion {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.9vh, 16px);
  flex-shrink: 0;
}

/* 3-Tier Centered Brand Header */
.starks-brand-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.45vh, 8px);
  text-align: center;
}

.starks-brand-logo-row {
  display: inline-flex;
  align-items: center;
  gap: clamp(5px, 1.4cqi, 16px);
}

.starks-brand-icon {
  width: clamp(18px, 4.6cqi, 48px);
  height: clamp(18px, 4.6cqi, 48px);
  filter: drop-shadow(0 0 10px rgba(221, 90, 32, 0.65));
}

.starks-brand-wordmark {
  font-size: clamp(1.1rem, 5.4cqi, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  line-height: 1;
}

.starks-exchange-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 2cqi, 22px);
  width: 84%;
  max-width: 78cqi;
}

.exchange-hairline {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.starks-brand-exchange {
  font-size: clamp(0.46rem, 1.85cqi, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #E2E8F0;
  white-space: nowrap;
}

.starks-event-badge {
  background: linear-gradient(90deg, #EA580C 0%, #F97316 50%, #F59E0B 100%);
  color: #FFFFFF;
  font-size: clamp(0.5rem, 2cqi, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  padding: clamp(2px, 0.45vh, 8px) clamp(10px, 3.2cqi, 34px);
  border-radius: 9999px;
  text-transform: uppercase;
  box-shadow: 0 2px 16px rgba(234, 88, 12, 0.65);
}

/* Hero 2-Column Split */
.kiosk-promo-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(6px, 2cqi, 22px);
  background: transparent;
  border: none;
  padding: 0;
}

.kiosk-promo-text {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.9vh, 16px);
}

.kiosk-hero-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(2px, 0.45vh, 8px);
  font-size: clamp(1.1rem, 6.2cqi, 4.1rem) !important;
  font-weight: 900 !important;
  font-style: italic;
  line-height: 1.04 !important;
  letter-spacing: -0.02em !important;
  color: #FFFFFF !important;
  text-align: left !important;
}

.hero-line-1 {
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.across-africa-ribbon {
  display: inline-block;
  background: linear-gradient(90deg, #FACC15 0%, #F59E0B 65%, #EA580C 100%);
  padding: clamp(2px, 0.45vh, 8px) clamp(8px, 2.4cqi, 26px);
  transform: skewX(-10deg);
  border-radius: clamp(3px, 0.6cqi, 8px);
  box-shadow: 0 4px 20px rgba(250, 204, 21, 0.45), 0 0 26px rgba(234, 88, 12, 0.45);
}

.across-africa-ribbon span {
  display: inline-block;
  transform: skewX(10deg);
  color: #1C1208;
  font-weight: 950;
  font-style: italic;
  white-space: nowrap;
}

.kiosk-hero-desc {
  margin: 0 !important;
  padding-left: clamp(6px, 1.6cqi, 16px);
  border-left: clamp(2px, 0.4cqi, 4px) solid #FACC15;
  font-size: clamp(0.55rem, 2.35cqi, 1.55rem) !important;
  font-style: italic;
  line-height: 1.3 !important;
  color: #E2E8F0 !important;
  text-align: left !important;
}

/* 3 Vertically Stacked Feature Pills */
.kiosk-feature-pills.attract-stat-pills {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: clamp(3px, 0.7vh, 12px) !important;
  margin-top: clamp(2px, 0.3vh, 6px);
}

.starks-pill,
.kiosk-feature-pills .starks-pill {
  display: inline-flex;
  align-items: center;
  gap: clamp(5px, 1.4cqi, 16px);
  font-size: clamp(0.56rem, 2.35cqi, 1.55rem);
  font-weight: 800;
  font-style: italic;
  padding: clamp(3px, 0.65vh, 12px) clamp(10px, 2.6cqi, 28px);
  min-width: clamp(110px, 37cqi, 400px);
  border-radius: 9999px;
  background: rgba(6, 18, 52, 0.78) !important;
  backdrop-filter: blur(8px);
  color: #FFFFFF !important;
}

.pill-orange {
  border: clamp(1.2px, 0.2cqi, 2.2px) solid rgba(251, 146, 60, 0.85);
  box-shadow: 0 0 14px rgba(251, 146, 60, 0.25);
}

.pill-cyan {
  border: clamp(1.2px, 0.2cqi, 2.2px) solid rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}

.pill-emerald {
  border: clamp(1.2px, 0.2cqi, 2.2px) solid rgba(52, 211, 153, 0.85);
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.25);
}

/* Current Natural Earth Africa Map Container */
.kiosk-promo-visual {
  position: relative;
  width: 100%;
  height: clamp(110px, 25vh, 480px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.starks-africa-network-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(234, 88, 12, 0.45));
}

/* ==========================================================================
   ZONE 2: TOURNAMENT STANDINGS & LEADERBOARD
   ========================================================================== */
.kiosk-zone-leaderboard {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: clamp(4px, 0.9vh, 16px);
  min-height: 0;
  height: 100%;
  overflow: hidden;
  width: 100%;
}

/* Section Heading: Laurels + Overlapping Gamepad + Wide Skewed Gold-Bordered Banner */
.kiosk-section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1.2cqi, 14px);
  width: 100%;
  flex-shrink: 0;
}

.laurel-svg {
  width: clamp(24px, 6.2cqi, 68px);
  height: clamp(28px, 7.2cqi, 78px);
  filter: drop-shadow(0 0 10px rgba(250, 204, 21, 0.75));
  flex-shrink: 0;
}

.heading-banner-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.heading-gamepad-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  margin-right: clamp(-14px, -2.6cqi, -28px);
  transform: rotate(-14deg);
  filter: drop-shadow(0 0 14px rgba(236, 72, 153, 0.85)) drop-shadow(0 0 6px rgba(249, 115, 22, 0.65));
}

.heading-gamepad-svg {
  width: clamp(32px, 8.2cqi, 88px);
  height: clamp(22px, 5.6cqi, 62px);
}

.heading-banner-skew {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(131, 24, 67, 0.75) 0%, rgba(30, 27, 75, 0.92) 28%, rgba(23, 37, 84, 0.94) 75%, rgba(49, 46, 129, 0.9) 100%);
  border: clamp(1.5px, 0.25cqi, 2.8px) solid #F59E0B;
  padding: clamp(4px, 0.75vh, 14px) clamp(14px, 4.2cqi, 46px) clamp(4px, 0.75vh, 14px) clamp(20px, 5.2cqi, 56px);
  transform: skewX(-14deg);
  border-radius: clamp(5px, 1cqi, 12px);
  box-shadow:
    0 0 24px rgba(236, 72, 153, 0.35),
    0 0 14px rgba(250, 204, 21, 0.35),
    inset 0 1px 0 rgba(254, 240, 138, 0.4);
}

.heading-title {
  display: inline-block;
  transform: skewX(14deg);
  font-size: clamp(0.78rem, 3.85cqi, 2.6rem);
  font-weight: 950;
  font-style: italic;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #FEF9C3 0%, #FDE047 55%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85));
  white-space: nowrap;
}

/* Stepped Podium (Top 3) */
.starks-podium-grid {
  display: grid;
  grid-template-columns: 1fr 1.16fr 1fr;
  align-items: flex-end;
  gap: clamp(4px, 1.2cqi, 14px);
  margin-top: clamp(14px, 2.4vh, 46px);
  flex-shrink: 0;
}

.starks-podium-card {
  position: relative;
  border-radius: clamp(10px, 2cqi, 22px);
  padding: clamp(16px, 2.6vh, 48px) clamp(4px, 1.4cqi, 16px) clamp(6px, 1vh, 18px) clamp(4px, 1.4cqi, 16px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1px, 0.35vh, 7px);
  box-sizing: border-box;
}

/* Rank 2 (Silver - Bright Glossy Cyan-Blue to Royal Navy) */
.podium-rank-2 {
  min-height: clamp(76px, 13vh, 265px);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(56, 189, 248, 0.72) 0%, transparent 62%),
    linear-gradient(180deg, #1D4ED8 0%, #1E40AF 40%, #0B1F54 100%);
  border: clamp(1.5px, 0.25cqi, 2.5px) solid #7DD3FC;
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.52), inset 0 2px 5px rgba(224, 242, 254, 0.55);
}

/* Rank 1 (Grand Champion - Taller Luminous Gold-Amber) */
.podium-rank-1 {
  min-height: clamp(92px, 15.5vh, 320px);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(254, 240, 138, 0.6) 0%, transparent 60%),
    linear-gradient(180deg, #F59E0B 0%, #D97706 42%, #78350F 100%);
  border: clamp(2px, 0.3cqi, 3px) solid #FEF08A;
  box-shadow: 0 0 38px rgba(250, 204, 21, 0.65), inset 0 2px 6px rgba(254, 249, 195, 0.6);
}

/* Rank 3 (Bronze - Warm Glowing Tangerine-to-Copper) */
.podium-rank-3 {
  min-height: clamp(76px, 13vh, 265px);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(251, 146, 60, 0.68) 0%, transparent 62%),
    linear-gradient(180deg, #EA580C 0%, #C2410C 42%, #6C240E 100%);
  border: clamp(1.5px, 0.25cqi, 2.5px) solid #FDBA74;
  box-shadow: 0 0 28px rgba(249, 115, 22, 0.52), inset 0 2px 5px rgba(255, 237, 213, 0.45);
}

/* Overlapping 3D Ribboned Medal Badges (#2 and #3) */
.podium-medal-badge {
  position: absolute;
  top: clamp(-16px, -2.3vh, -42px);
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.podium-medal-svg {
  width: clamp(32px, 7.6cqi, 82px);
  height: clamp(28px, 6.6cqi, 72px);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.75));
}

/* Trophy + Laurel Badge (#1) */
.champion-trophy-badge {
  position: absolute;
  top: clamp(-22px, -3.2vh, -58px);
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.champion-trophy-svg {
  width: clamp(54px, 13.5cqi, 145px);
  height: clamp(34px, 8.5cqi, 92px);
  filter: drop-shadow(0 0 16px rgba(250, 204, 21, 0.9));
}

.podium-rank-label {
  font-size: clamp(0.42rem, 1.65cqi, 1.1rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #E2E8F0;
  line-height: 1.15;
}

.podium-rank-1 .podium-rank-label {
  color: #FEF08A;
}

.podium-name {
  font-size: clamp(0.64rem, 2.7cqi, 1.8rem);
  font-weight: 900;
  color: #FFFFFF !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 96%;
  line-height: 1.15;
}

.podium-rank-1 .podium-name {
  font-size: clamp(0.72rem, 3.1cqi, 2.05rem);
}

.podium-org {
  font-size: clamp(0.44rem, 1.65cqi, 1.1rem);
  color: #CBD5E1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 96%;
  line-height: 1.15;
}

.podium-score {
  font-size: clamp(0.68rem, 3cqi, 2rem);
  font-weight: 950;
  color: #FEF08A;
  letter-spacing: -0.01em;
  margin-top: clamp(2px, 0.4vh, 6px);
}

.podium-rank-1 .podium-score {
  font-size: clamp(0.78rem, 3.6cqi, 2.4rem);
}

.podium-score .pts-unit {
  font-size: clamp(0.44rem, 1.75cqi, 1.15rem);
  font-weight: 800;
}

.podium-meta {
  font-size: clamp(0.42rem, 1.55cqi, 1.05rem);
  color: #E2E8F0;
  opacity: 0.92;
}

/* Standings Table (Ranks 4-8): Royal Blue Translucent Box with Cyan-Blue Border */
.starks-table-wrapper {
  background: linear-gradient(180deg, rgba(10, 32, 86, 0.84) 0%, rgba(6, 20, 56, 0.94) 100%);
  border: clamp(1.5px, 0.25cqi, 2.5px) solid rgba(56, 189, 248, 0.72);
  border-radius: clamp(8px, 1.8cqi, 20px);
  overflow-y: auto;
  overflow-x: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.35);
  flex: 0 1 auto;
  min-height: 0;
}

.starks-leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: clamp(0.5rem, 2.05cqi, 1.4rem);
}

.starks-leaderboard-table thead th {
  position: sticky;
  top: 0;
  background: rgba(8, 28, 76, 0.96);
  padding: clamp(3.5px, 0.65vh, 14px) clamp(6px, 2cqi, 24px);
  font-size: clamp(0.44rem, 1.6cqi, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93C5FD;
  border-bottom: 1px solid rgba(56, 189, 248, 0.38);
  z-index: 2;
}

.starks-leaderboard-table tbody td {
  padding: clamp(3px, 0.65vh, 14px) clamp(6px, 2cqi, 24px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.16);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.starks-leaderboard-table tbody tr:last-child td {
  border-bottom: none;
}

.td-rank { font-weight: 800; color: #FFFFFF; }
.td-contestant { font-weight: 800; color: #FFFFFF; max-width: 24cqi; }
.td-org { color: #CBD5E1; max-width: 26cqi; }
.td-time { color: #E2E8F0; }
.th-score, .td-score { font-weight: 950; color: #FACC15; text-align: right; }
.td-score .tbl-pts { font-size: 0.78em; font-weight: 800; }

.td-empty-standings {
  text-align: center;
  color: #CBD5E1;
  font-style: italic;
  padding: clamp(10px, 1.8vh, 26px) clamp(8px, 2cqi, 24px) !important;
  white-space: normal !important;
}

/* ==========================================================================
   ZONE 3: PLAY NOW QR CARD & GOLDEN SAVANNA SUNSET FOOTER
   ========================================================================== */
.kiosk-zone-qr {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.8vh, 16px);
  width: 100%;
  flex-shrink: 0;
}

.starks-qr-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(10px, 3cqi, 34px);
  background: linear-gradient(135deg, rgba(68, 30, 14, 0.9) 0%, rgba(28, 16, 28, 0.95) 55%, rgba(16, 24, 52, 0.94) 100%);
  border: clamp(1.5px, 0.28cqi, 3px) solid #F59E0B;
  border-radius: clamp(10px, 2.2cqi, 24px);
  padding: clamp(6px, 1.2vh, 22px) clamp(10px, 3cqi, 34px);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(254, 240, 138, 0.35);
}

.starks-qr-visual-box {
  position: relative;
  background: #FFFFFF;
  border-radius: clamp(6px, 1.4cqi, 16px);
  padding: clamp(3px, 0.6cqi, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.75);
  width: clamp(54px, 10vh, 190px);
  height: clamp(54px, 10vh, 190px);
  flex-shrink: 0;
}

.qr-image {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-starks-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(14px, 3.8cqi, 42px);
  height: clamp(14px, 3.8cqi, 42px);
  background: #FFFFFF;
  border-radius: clamp(3px, 0.6cqi, 8px);
  padding: clamp(1.5px, 0.3cqi, 4px);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
}

.starks-qr-info {
  display: flex;
  flex-direction: column;
  gap: clamp(2px, 0.55vh, 10px);
  min-width: 0;
}

.qr-heading-row {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.5cqi, 18px);
}

.qr-heading-text {
  font-size: clamp(0.95rem, 4.4cqi, 2.95rem);
  font-weight: 950;
  font-style: italic;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.05;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.qr-burst-svg {
  width: clamp(18px, 4.2cqi, 46px);
  height: clamp(14px, 3.2cqi, 36px);
}

.qr-subtext {
  margin: 0;
  font-size: clamp(0.5rem, 2.05cqi, 1.38rem);
  font-style: italic;
  line-height: 1.25;
  color: #F1F5F9;
}

.qr-btn-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: clamp(2px, 0.45vh, 8px);
}

.starks-play-pill-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(5px, 1.2cqi, 14px) !important;
  background: linear-gradient(90deg, #FDE047 0%, #FACC15 50%, #F59E0B 100%) !important;
  color: #1A1205 !important;
  border: 1.5px solid #FEF08A !important;
  font-size: clamp(0.7rem, 2.75cqi, 1.85rem) !important;
  font-weight: 950 !important;
  padding: clamp(5px, 0.9vh, 16px) clamp(14px, 4cqi, 44px) !important;
  min-height: clamp(32px, 4.8vh, 72px) !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  box-shadow: 0 0 22px rgba(250, 204, 21, 0.58) !important;
  width: fit-content !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  text-decoration: none !important;
}

.starks-play-pill-btn:hover,
.starks-play-pill-btn:active {
  transform: scale(1.04);
  box-shadow: 0 0 28px rgba(250, 204, 21, 0.85) !important;
}

.qr-pointer-hand {
  position: absolute;
  right: clamp(-10px, -2cqi, -22px);
  bottom: clamp(-8px, -1.5cqi, -16px);
  width: clamp(18px, 4cqi, 44px);
  height: clamp(18px, 4cqi, 44px);
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.75));
}

/* Footer Strip: Golden Sunset + Skyline + African Geometric Pattern */
.starks-footer-strip {
  width: calc(100% + clamp(20px, 7.6cqi, 84px));
  margin-left: calc(-1 * clamp(10px, 3.8cqi, 42px));
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.starks-savanna-svg {
  width: 100%;
  height: clamp(56px, 19.5cqi, 210px);
  display: block;
}

/* --------------------------------------------------------------------------
   Compact Vertical Viewports (e.g. 390x693)
   Preserves clean separation with zero overlap
   -------------------------------------------------------------------------- */
@media (max-height: 740px) {
  .kiosk-9-16-wrapper.starks-tall-display,
  .kiosk-9-16-wrapper.starks-tall-display.attract-content-wrap {
    gap: 4px !important;
    padding: 6px 10px 0 10px !important;
  }

  .kiosk-zone-promotion {
    gap: 4px !important;
  }

  .kiosk-hero-desc {
    display: none !important;
  }

  .kiosk-promo-visual {
    height: 82px !important;
  }

  .starks-podium-grid {
    margin-top: 8px !important;
  }

  .starks-podium-card {
    padding: 10px 2px 3px 2px !important;
  }

  .podium-rank-2,
  .podium-rank-3 {
    min-height: 68px !important;
  }

  .podium-rank-1 {
    min-height: 78px !important;
  }

  .podium-rank-label,
  .podium-org {
    display: none !important;
  }

  .starks-qr-card {
    padding: 5px 8px !important;
    gap: 8px !important;
  }

  .qr-subtext {
    display: none !important;
  }

  .starks-qr-visual-box {
    width: 48px !important;
    height: 48px !important;
  }

  .starks-play-pill-btn {
    min-height: 28px !important;
    padding: 3px 12px !important;
    font-size: 0.72rem !important;
  }

  .starks-footer-strip {
    width: calc(100% + 20px);
    margin-left: -10px;
  }

  .starks-savanna-svg {
    height: 46px !important;
  }
}

/* ==========================================================================
   NON-STOP KIOSK ANIMATIONS (Top 3 Leader Cards & All Icons)
   ========================================================================== */
@keyframes podiumFloat1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(clamp(-4px, -0.55vh, -8px)); }
}

@keyframes podiumFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(clamp(-3px, -0.4vh, -6px)); }
}

@keyframes iconFloatRock {
  0%, 100% { transform: translateY(0) rotate(-14deg); }
  50% { transform: translateY(-4px) rotate(-8deg); }
}

@keyframes laurelSwayLeft {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(-6deg) scale(1.06); }
}

@keyframes laurelSwayRight {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(6deg) scale(1.06); }
}

@keyframes badgeBob {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-50%) translateY(-4px) scale(1.05); }
}

@keyframes pillIconPulse {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.18) translateY(-1.5px); }
}

@keyframes starksBrandGlow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(221, 90, 32, 0.6)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 16px rgba(250, 204, 21, 0.9)); transform: scale(1.08); }
}

@keyframes burstSparkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.85; }
  50% { transform: scale(1.16) rotate(4deg); opacity: 1; }
}

@keyframes pointerTap {
  0%, 100% { transform: translate(2px, 2px) scale(1); }
  30% { transform: translate(-2px, -2px) scale(1); }
  42% { transform: translate(-6px, -6px) scale(0.8); }
  54% { transform: translate(-4px, -4px) scale(1.06); }
  75% { transform: translate(2px, 2px) scale(1); }
}

@keyframes playBtnPop {
  0%, 34%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 22px rgba(250, 204, 21, 0.58) !important;
  }
  42% {
    transform: translateY(2px) scale(0.95);
    box-shadow: 0 0 16px rgba(250, 204, 21, 0.45) !important;
  }
  52% {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 42px rgba(254, 240, 138, 0.98), 0 10px 26px rgba(245, 158, 11, 0.75) !important;
  }
  66% {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 0 28px rgba(250, 204, 21, 0.72) !important;
  }
}

@keyframes playBtnRipple {
  0%, 40% {
    transform: scale(0.92);
    opacity: 0;
  }
  46% {
    transform: scale(1);
    opacity: 0.85;
  }
  72%, 100% {
    transform: scale(1.26, 1.48);
    opacity: 0;
  }
}

/* Top 3 Leader Cards Continuous Wave & Glow */
.podium-rank-1 {
  animation: podiumFloat1 3.4s ease-in-out infinite;
}

.podium-rank-2 {
  animation: podiumFloat2 3.8s ease-in-out 0.6s infinite;
}

.podium-rank-3 {
  animation: podiumFloat2 3.8s ease-in-out 1.2s infinite;
}

/* Trophy & Medal Badges Continuous Motion */
.champion-trophy-badge {
  animation: badgeBob 2.6s ease-in-out infinite;
}

.podium-medal-badge {
  animation: badgeBob 3s ease-in-out 0.4s infinite;
}

/* Heading Icons */
.heading-gamepad-wrap {
  animation: iconFloatRock 2.8s ease-in-out infinite;
}

.laurel-left {
  transform-origin: bottom right;
  animation: laurelSwayLeft 3.2s ease-in-out infinite;
}

.laurel-right {
  transform-origin: bottom left;
  animation: laurelSwayRight 3.2s ease-in-out infinite;
}

/* Brand, Hero Pill Icons & QR CTA Icons */
.starks-brand-icon {
  animation: starksBrandGlow 2.8s ease-in-out infinite;
}

.starks-pill .pill-ico {
  display: inline-block;
  animation: pillIconPulse 2.2s ease-in-out infinite;
}

.pill-cyan .pill-ico {
  animation-delay: 0.4s;
}

.pill-emerald .pill-ico {
  animation-delay: 0.8s;
}

.qr-burst-svg {
  animation: burstSparkle 1.8s ease-in-out infinite;
}

.qr-pointer-hand {
  animation: pointerTap 2.2s ease-in-out infinite;
  z-index: 4;
}

.starks-play-pill-btn {
  position: relative !important;
  overflow: visible !important;
  animation: playBtnPop 2.2s ease-in-out infinite !important;
}

.starks-play-pill-btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 9999px;
  border: 2.5px solid #FEF08A;
  pointer-events: none;
  animation: playBtnRipple 2.2s ease-out infinite;
}
