/* =============================================================================
   Prode Mundial 2026 - Widget Styles
   ============================================================================= */

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

:root {
  --prode-color: #1B1464;
  --prode-color-dark: #0D0B3E;
  --prode-color-light: #E8E6FF;
  --prode-color-accent: #E4002B;
  --prode-color-gold: #FFD700;
  --prode-color-green: #00A651;
  --prode-bg: #0D0B3E;
  --prode-card-bg: rgba(255,255,255,.07);
  --prode-text: #FFFFFF;
  --prode-text-muted: rgba(255,255,255,.6);
  --prode-border: rgba(255,255,255,.12);
  --prode-success: #00E676;
  --prode-error: #FF5252;
  --prode-warning: #FFD740;
  --prode-shadow: 0 4px 20px rgba(0,0,0,.3);
  --prode-shadow-lg: 0 10px 40px rgba(0,0,0,.5);
  --prode-radius: 16px;
  --prode-radius-sm: 10px;
}

.prode-flag-img {
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0,0,0,.3);
  object-fit: cover;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--prode-text);
  background: var(--prode-bg);
  background-image:
    radial-gradient(ellipse at 15% 10%, rgba(117,170,219,.2) 0%, transparent 40%),
    radial-gradient(ellipse at 85% 5%, rgba(117,170,219,.15) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.06) 0%, transparent 30%),
    radial-gradient(ellipse at 20% 50%, rgba(228,0,43,.1) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 60%, rgba(0,166,81,.08) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(255,215,0,.1) 0%, transparent 40%),
    radial-gradient(ellipse at 30% 80%, rgba(117,170,219,.1) 0%, transparent 35%);
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* === FIESTA LAYER (JS-generated) === */
#fiesta-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.fiesta-confetti {
  will-change: transform, top;
}
.fiesta-emoji {
  will-change: transform, top;
  filter: drop-shadow(0 0 4px rgba(0,0,0,.3));
}
.fiesta-crowd {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='80'%3E%3C!-- Silhouettes of cheering fans --%3E%3Cellipse cx='20' cy='55' rx='10' ry='14' fill='%23000' opacity='.12'/%3E%3Cellipse cx='20' cy='42' rx='7' ry='7' fill='%23000' opacity='.12'/%3E%3Cline x1='14' y1='35' x2='8' y2='22' stroke='%23000' stroke-width='2' opacity='.1'/%3E%3Cline x1='26' y1='35' x2='32' y2='20' stroke='%23000' stroke-width='2' opacity='.1'/%3E%3Cellipse cx='55' cy='50' rx='11' ry='16' fill='%23000' opacity='.1'/%3E%3Cellipse cx='55' cy='35' rx='7' ry='7' fill='%23000' opacity='.1'/%3E%3Cline x1='48' y1='28' x2='42' y2='15' stroke='%23000' stroke-width='2' opacity='.08'/%3E%3Cline x1='62' y1='28' x2='68' y2='18' stroke='%23000' stroke-width='2' opacity='.08'/%3E%3Cellipse cx='90' cy='52' rx='12' ry='15' fill='%23000' opacity='.11'/%3E%3Cellipse cx='90' cy='38' rx='8' ry='8' fill='%23000' opacity='.11'/%3E%3Cline x1='84' y1='30' x2='76' y2='16' stroke='%23000' stroke-width='2.5' opacity='.09'/%3E%3Cline x1='96' y1='30' x2='104' y2='14' stroke='%23000' stroke-width='2.5' opacity='.09'/%3E%3Cellipse cx='130' cy='56' rx='10' ry='13' fill='%23000' opacity='.1'/%3E%3Cellipse cx='130' cy='44' rx='7' ry='7' fill='%23000' opacity='.1'/%3E%3Cellipse cx='165' cy='50' rx='11' ry='15' fill='%23000' opacity='.12'/%3E%3Cellipse cx='165' cy='36' rx='7' ry='7' fill='%23000' opacity='.12'/%3E%3Cline x1='158' y1='29' x2='150' y2='14' stroke='%23000' stroke-width='2' opacity='.1'/%3E%3Cline x1='172' y1='29' x2='180' y2='12' stroke='%23000' stroke-width='2' opacity='.1'/%3E%3Cellipse cx='200' cy='53' rx='10' ry='14' fill='%23000' opacity='.1'/%3E%3Cellipse cx='200' cy='40' rx='7' ry='7' fill='%23000' opacity='.1'/%3E%3Cellipse cx='235' cy='48' rx='12' ry='16' fill='%23000' opacity='.11'/%3E%3Cellipse cx='235' cy='33' rx='8' ry='8' fill='%23000' opacity='.11'/%3E%3Cline x1='228' y1='25' x2='220' y2='10' stroke='%23000' stroke-width='2.5' opacity='.09'/%3E%3Cline x1='242' y1='25' x2='250' y2='12' stroke='%23000' stroke-width='2.5' opacity='.09'/%3E%3Cellipse cx='275' cy='55' rx='10' ry='13' fill='%23000' opacity='.1'/%3E%3Cellipse cx='275' cy='43' rx='7' ry='7' fill='%23000' opacity='.1'/%3E%3Cellipse cx='310' cy='50' rx='11' ry='15' fill='%23000' opacity='.12'/%3E%3Cellipse cx='310' cy='36' rx='7' ry='7' fill='%23000' opacity='.12'/%3E%3Cline x1='303' y1='29' x2='295' y2='15' stroke='%23000' stroke-width='2' opacity='.1'/%3E%3Cellipse cx='345' cy='53' rx='10' ry='14' fill='%23000' opacity='.1'/%3E%3Cellipse cx='345' cy='40' rx='7' ry='7' fill='%23000' opacity='.1'/%3E%3Cline x1='352' y1='33' x2='360' y2='18' stroke='%23000' stroke-width='2' opacity='.08'/%3E%3Cellipse cx='380' cy='50' rx='11' ry='16' fill='%23000' opacity='.11'/%3E%3Cellipse cx='380' cy='35' rx='8' ry='8' fill='%23000' opacity='.11'/%3E%3Cline x1='373' y1='27' x2='365' y2='12' stroke='%23000' stroke-width='2.5' opacity='.09'/%3E%3Cline x1='387' y1='27' x2='395' y2='10' stroke='%23000' stroke-width='2.5' opacity='.09'/%3E%3C/svg%3E") repeat-x bottom;
  background-size: 400px 80px;
  opacity: .4;
}

/* === CONFETTI CSS backup (SVG pattern) === */
body::before {
  content: '';
  position: fixed;
  top: -10px;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  z-index: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800'%3E%3C!-- Papelitos celestes argentinos --%3E%3Crect x='40' y='15' width='8' height='14' rx='1' fill='%2375AADB' opacity='.4' transform='rotate(25 44 22)'/%3E%3Crect x='180' y='45' width='10' height='6' rx='1' fill='%2375AADB' opacity='.35' transform='rotate(-35 185 48)'/%3E%3Crect x='350' y='20' width='7' height='13' rx='1' fill='%2375AADB' opacity='.45' transform='rotate(50 353 26)'/%3E%3Crect x='550' y='70' width='9' height='5' rx='1' fill='%2375AADB' opacity='.3' transform='rotate(-20 554 72)'/%3E%3Crect x='700' y='30' width='8' height='12' rx='1' fill='%2375AADB' opacity='.4' transform='rotate(40 704 36)'/%3E%3Crect x='120' y='130' width='6' height='14' rx='1' fill='%2375AADB' opacity='.35' transform='rotate(-55 123 137)'/%3E%3Crect x='450' y='150' width='9' height='7' rx='1' fill='%2375AADB' opacity='.4' transform='rotate(30 454 153)'/%3E%3Crect x='620' y='120' width='7' height='11' rx='1' fill='%2375AADB' opacity='.3' transform='rotate(-40 623 125)'/%3E%3C!-- Papelitos blancos --%3E%3Crect x='90' y='60' width='7' height='12' rx='1' fill='%23FFFFFF' opacity='.25' transform='rotate(-15 93 66)'/%3E%3Crect x='250' y='90' width='9' height='5' rx='1' fill='%23FFFFFF' opacity='.2' transform='rotate(45 254 92)'/%3E%3Crect x='400' y='50' width='6' height='13' rx='1' fill='%23FFFFFF' opacity='.3' transform='rotate(-60 403 56)'/%3E%3Crect x='580' y='35' width='8' height='6' rx='1' fill='%23FFFFFF' opacity='.2' transform='rotate(20 584 38)'/%3E%3Crect x='300' y='170' width='7' height='11' rx='1' fill='%23FFFFFF' opacity='.25' transform='rotate(-30 303 175)'/%3E%3Crect x='500' y='200' width='9' height='7' rx='1' fill='%23FFFFFF' opacity='.2' transform='rotate(55 504 203)'/%3E%3Crect x='150' y='220' width='6' height='10' rx='1' fill='%23FFFFFF' opacity='.22' transform='rotate(-45 153 225)'/%3E%3Crect x='680' y='180' width='8' height='5' rx='1' fill='%23FFFFFF' opacity='.18' transform='rotate(35 684 182)'/%3E%3C!-- Papelitos dorados --%3E%3Crect x='200' y='35' width='8' height='10' rx='1' fill='%23FFD700' opacity='.3' transform='rotate(15 204 40)'/%3E%3Crect x='480' y='100' width='6' height='12' rx='1' fill='%23FFD700' opacity='.25' transform='rotate(-50 483 106)'/%3E%3Crect x='650' y='60' width='9' height='7' rx='1' fill='%23FFD700' opacity='.3' transform='rotate(35 654 63)'/%3E%3Crect x='50' y='180' width='7' height='11' rx='1' fill='%23FFD700' opacity='.25' transform='rotate(-25 53 185)'/%3E%3Crect x='750' y='140' width='8' height='6' rx='1' fill='%23FFD700' opacity='.2' transform='rotate(60 754 143)'/%3E%3C!-- Papelitos rojos --%3E%3Crect x='130' y='80' width='6' height='11' rx='1' fill='%23E4002B' opacity='.3' transform='rotate(40 133 85)'/%3E%3Crect x='320' y='110' width='8' height='6' rx='1' fill='%23E4002B' opacity='.2' transform='rotate(-20 324 113)'/%3E%3Crect x='530' y='160' width='7' height='12' rx='1' fill='%23E4002B' opacity='.25' transform='rotate(50 533 166)'/%3E%3Crect x='720' y='90' width='5' height='10' rx='1' fill='%23E4002B' opacity='.2' transform='rotate(-35 722 95)'/%3E%3C!-- Papelitos verdes --%3E%3Crect x='280' y='140' width='8' height='7' rx='1' fill='%2300A651' opacity='.2' transform='rotate(25 284 143)'/%3E%3Crect x='600' y='50' width='6' height='11' rx='1' fill='%2300A651' opacity='.2' transform='rotate(-45 603 55)'/%3E%3Crect x='70' y='250' width='7' height='9' rx='1' fill='%2300A651' opacity='.15' transform='rotate(55 73 254)'/%3E%3C!-- Circulos/confetti redondo --%3E%3Ccircle cx='160' cy='100' r='4' fill='%2375AADB' opacity='.2'/%3E%3Ccircle cx='380' cy='80' r='3' fill='%23FFD700' opacity='.2'/%3E%3Ccircle cx='520' cy='130' r='3.5' fill='%23FFFFFF' opacity='.15'/%3E%3Ccircle cx='700' cy='50' r='4' fill='%2375AADB' opacity='.18'/%3E%3Ccircle cx='240' cy='200' r='3' fill='%23E4002B' opacity='.15'/%3E%3Ccircle cx='440' cy='230' r='4' fill='%2375AADB' opacity='.2'/%3E%3Ccircle cx='100' cy='300' r='3.5' fill='%23FFD700' opacity='.18'/%3E%3Ccircle cx='600' cy='250' r='3' fill='%23FFFFFF' opacity='.12'/%3E%3C!-- Estrellitas --%3E%3Cpolygon points='340,30 342,36 348,36 343,40 345,46 340,42 335,46 337,40 332,36 338,36' fill='%23FFD700' opacity='.2'/%3E%3Cpolygon points='140,170 142,176 148,176 143,180 145,186 140,182 135,186 137,180 132,176 138,176' fill='%23FFD700' opacity='.15'/%3E%3Cpolygon points='560,210 562,216 568,216 563,220 565,226 560,222 555,226 557,220 552,216 558,216' fill='%2375AADB' opacity='.15'/%3E%3C!-- Siluetas de hinchada abajo --%3E%3Cellipse cx='100' cy='370' rx='20' ry='8' fill='%2375AADB' opacity='.06'/%3E%3Cellipse cx='200' cy='380' rx='15' ry='25' fill='%23FFFFFF' opacity='.04'/%3E%3Cellipse cx='300' cy='375' rx='18' ry='22' fill='%2375AADB' opacity='.05'/%3E%3Cellipse cx='400' cy='370' rx='22' ry='8' fill='%23FFFFFF' opacity='.04'/%3E%3Cellipse cx='500' cy='378' rx='16' ry='24' fill='%2375AADB' opacity='.05'/%3E%3Cellipse cx='600' cy='372' rx='20' ry='20' fill='%23FFFFFF' opacity='.04'/%3E%3Cellipse cx='700' cy='375' rx='18' ry='8' fill='%2375AADB' opacity='.05'/%3E%3C/svg%3E");
  animation: confettiFall 25s linear infinite;
}
body::after {
  content: '';
  position: fixed;
  top: -10px;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  z-index: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800'%3E%3C!-- Segunda capa offset para densidad --%3E%3Crect x='60' y='40' width='7' height='13' rx='1' fill='%2375AADB' opacity='.35' transform='rotate(-30 63 46)'/%3E%3Crect x='220' y='70' width='9' height='6' rx='1' fill='%23FFFFFF' opacity='.2' transform='rotate(40 225 73)'/%3E%3Crect x='370' y='55' width='6' height='11' rx='1' fill='%2375AADB' opacity='.3' transform='rotate(-50 373 60)'/%3E%3Crect x='510' y='30' width='8' height='8' rx='1' fill='%23FFD700' opacity='.25' transform='rotate(25 514 34)'/%3E%3Crect x='660' y='80' width='7' height='12' rx='1' fill='%2375AADB' opacity='.35' transform='rotate(-15 663 86)'/%3E%3Crect x='100' y='160' width='8' height='6' rx='1' fill='%23FFFFFF' opacity='.18' transform='rotate(55 104 163)'/%3E%3Crect x='280' y='120' width='6' height='13' rx='1' fill='%2375AADB' opacity='.3' transform='rotate(-40 283 126)'/%3E%3Crect x='440' y='180' width='9' height='7' rx='1' fill='%23E4002B' opacity='.2' transform='rotate(35 444 183)'/%3E%3Crect x='590' y='140' width='7' height='10' rx='1' fill='%23FFFFFF' opacity='.2' transform='rotate(-25 593 145)'/%3E%3Crect x='740' y='110' width='8' height='5' rx='1' fill='%2375AADB' opacity='.25' transform='rotate(45 744 112)'/%3E%3Crect x='170' y='250' width='6' height='12' rx='1' fill='%23FFD700' opacity='.2' transform='rotate(-60 173 256)'/%3E%3Crect x='330' y='210' width='8' height='7' rx='1' fill='%2375AADB' opacity='.3' transform='rotate(20 334 213)'/%3E%3Crect x='490' y='240' width='7' height='11' rx='1' fill='%23FFFFFF' opacity='.18' transform='rotate(-35 493 245)'/%3E%3Crect x='630' y='200' width='9' height='6' rx='1' fill='%2375AADB' opacity='.25' transform='rotate(50 634 203)'/%3E%3Ccircle cx='80' cy='90' r='3.5' fill='%2375AADB' opacity='.2'/%3E%3Ccircle cx='300' cy='60' r='4' fill='%23FFFFFF' opacity='.15'/%3E%3Ccircle cx='460' cy='120' r='3' fill='%23FFD700' opacity='.2'/%3E%3Ccircle cx='620' cy='170' r='3.5' fill='%2375AADB' opacity='.18'/%3E%3Ccircle cx='200' cy='190' r='3' fill='%23E4002B' opacity='.12'/%3E%3Ccircle cx='550' cy='90' r='4' fill='%2375AADB' opacity='.15'/%3E%3Cpolygon points='450,50 452,56 458,56 453,60 455,66 450,62 445,66 447,60 442,56 448,56' fill='%23FFD700' opacity='.18'/%3E%3Cpolygon points='750,170 752,176 758,176 753,180 755,186 750,182 745,186 747,180 742,176 748,176' fill='%2375AADB' opacity='.12'/%3E%3C/svg%3E");
  animation: confettiFall2 18s linear infinite;
}
@keyframes confettiFall {
  from { transform: translateY(-800px); }
  to { transform: translateY(0); }
}
@keyframes confettiFall2 {
  from { transform: translateY(-800px) translateX(-30px); }
  to { transform: translateY(0) translateX(30px); }
}

.prode-app {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 24px;
  position: relative;
  z-index: 1;
}

/* Header */
.prode-header {
  background: linear-gradient(135deg, #1B1464 0%, #3D1E8E 40%, #E4002B 100%);
  color: white;
  margin: 0 -16px 16px;
  padding: 20px 16px;
  border-radius: 0 0 var(--prode-radius) var(--prode-radius);
  position: relative;
  overflow: hidden;
}
.prode-header::before {
  content: '⚽';
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 64px;
  opacity: .12;
  pointer-events: none;
  animation: ballBounce 3s ease-in-out infinite;
}
.prode-header::after {
  content: '🏆';
  position: absolute;
  bottom: 4px;
  left: 16px;
  font-size: 48px;
  opacity: .1;
  pointer-events: none;
  animation: trophyGlow 2s ease-in-out infinite alternate;
}
@keyframes ballBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(15deg); }
}
@keyframes trophyGlow {
  from { opacity: .08; transform: scale(1); }
  to { opacity: .15; transform: scale(1.05); }
}
.prode-header-inner {
  max-width: 900px;
  margin: 0 auto;
}
.prode-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.prode-header-subtitle {
  display: flex;
  gap: 16px;
  font-size: 12px;
  opacity: .8;
  margin-top: 6px;
  flex-wrap: wrap;
}
.prode-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.3px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.prode-brand {
  font-size: 11px;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255,255,255,.15);
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* Pool banner */
.prode-pool-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(255,215,0,.15) 0%, rgba(255,160,0,.1) 100%);
  border-radius: var(--prode-radius);
  padding: 14px 18px;
  margin: 0 0 16px;
  border: 1px solid rgba(255,215,0,.3);
}
.prode-pool-stat {
  display: flex;
  flex-direction: column;
}
.prode-pool-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: rgba(255,215,0,.7);
  font-weight: 600;
}
.prode-pool-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--prode-color-gold);
  line-height: 1.1;
  text-shadow: 0 1px 4px rgba(255,215,0,.3);
}
.prode-pool-live {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: var(--prode-color-accent);
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(228,0,43,.15);
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid rgba(228,0,43,.3);
}
.prode-pool-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--prode-color-accent);
  animation: pulse 1.5s infinite;
}
.prode-pool-flash {
  animation: flash 0.6s ease-out;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.2); }
}
@keyframes flash {
  0% { background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%); }
  50% { background: linear-gradient(135deg, #FDE68A 0%, #FBBF24 100%); transform: scale(1.02); }
  100% { background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%); transform: scale(1); }
}

/* Payment view */
.prode-payment-icon {
  font-size: 48px;
  text-align: center;
  margin: 0 0 8px;
}
.prode-payment-summary {
  background: rgba(255,255,255,.05);
  border-radius: var(--prode-radius-sm);
  padding: 14px 16px;
  margin: 20px 0;
  border: 1px solid var(--prode-border);
}
.prode-payment-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: var(--prode-text-muted);
}
.prode-payment-row:not(:last-child) {
  border-bottom: 1px solid var(--prode-border);
}
.prode-payment-row strong {
  color: white;
}

/* Views (screens) */
.prode-view {
  display: none;
  animation: fadeIn .2s ease-out;
}
.prode-view.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cards */
.prode-card {
  background: var(--prode-card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--prode-border);
  border-radius: var(--prode-radius);
  padding: 28px;
  box-shadow: var(--prode-shadow);
  max-width: 560px;
  margin: 0 auto 16px;
}
.prode-card-wide {
  max-width: 100%;
}
.prode-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--prode-text);
}
.prode-card h3 {
  color: var(--prode-color-gold);
}
.prode-lead {
  color: var(--prode-text-muted);
  margin: 0 0 20px;
}
.prode-fine {
  font-size: 12px;
  color: var(--prode-text-muted);
  margin: 16px 0 0;
  text-align: center;
}
.prode-rules {
  background: rgba(255,215,0,.08);
  border: 1px solid rgba(255,215,0,.2);
  border-radius: var(--prode-radius-sm);
  padding: 14px 14px 14px 32px;
  margin: 0 0 24px;
  font-size: 14px;
}
.prode-rules strong { color: var(--prode-color-gold); }
.prode-rules li {
  margin: 4px 0;
}

/* Buttons */
.prode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: var(--prode-radius-sm);
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  font-family: inherit;
  width: 100%;
  min-height: 44px;
}
.prode-btn:hover {
  transform: translateY(-1px);
}
.prode-btn:active {
  transform: translateY(0);
}
.prode-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}
.prode-btn-primary {
  background: linear-gradient(135deg, var(--prode-color-accent), #C40025);
  color: white;
  box-shadow: 0 3px 12px rgba(228,0,43,.3);
  position: relative;
  overflow: hidden;
}
.prode-btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,.15) 50%, transparent 60%);
  animation: btnShine 3s ease-in-out infinite;
}
@keyframes btnShine {
  0%, 100% { transform: translateX(-100%) rotate(45deg); }
  50% { transform: translateX(100%) rotate(45deg); }
}
.prode-btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #FF1744, var(--prode-color-accent));
  box-shadow: 0 4px 20px rgba(228,0,43,.6);
  transform: translateY(-2px) scale(1.02);
}
.prode-btn-secondary {
  background: rgba(255,255,255,.1);
  color: white;
  border: 1px solid var(--prode-border);
}
.prode-btn-secondary:hover:not(:disabled) {
  background: rgba(255,255,255,.15);
}
.prode-btn-google {
  background: white;
  color: #3C4043;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.prode-btn-google:hover:not(:disabled) {
  background: #F5F5F5;
  box-shadow: 0 3px 12px rgba(0,0,0,.3);
}
.prode-btn-link {
  background: transparent;
  border: none;
  color: var(--prode-color);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
}
.prode-btn-link:hover {
  background: var(--prode-color-light);
}

/* Forms */
form label {
  display: block;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--prode-text);
}
form input[type="text"],
form input[type="tel"],
form input[type="number"] {
  display: block;
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border: 1px solid var(--prode-border);
  border-radius: var(--prode-radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .15s;
  background: rgba(255,255,255,.08);
  color: white;
}
form input:focus {
  outline: none;
  border-color: var(--prode-color-gold);
  box-shadow: 0 0 0 3px rgba(255,215,0,.15);
}
form small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: normal;
  color: var(--prode-text-muted);
}

/* Error message */
.prode-error {
  color: var(--prode-error);
  font-size: 14px;
  margin: 8px 0 16px;
  min-height: 20px;
}

/* Spinner */
.prode-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,.15);
  border-top-color: var(--prode-color-gold);
  border-radius: 50%;
  margin: 40px auto 16px;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#view-loading { text-align: center; color: var(--prode-text-muted); }

/* Matches view */
.prode-matches-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}
.prode-matches-header h2 { margin: 0; }
.prode-matches-progress {
  font-size: 14px;
  font-weight: 600;
  background: rgba(255,215,0,.1);
  color: var(--prode-color-gold);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,215,0,.2);
}

.prode-phase {
  margin-bottom: 24px;
}
.prode-phase-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--prode-color-gold);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,215,0,.2);
}
.prode-group-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--prode-text-muted);
  margin: 12px 0 8px;
}

.prode-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: rgba(255,255,255,.04);
  border-radius: var(--prode-radius-sm);
  margin-bottom: 8px;
  border: 1px solid var(--prode-border);
  transition: all .15s;
}
.prode-match.filled {
  border-color: var(--prode-color-gold);
  background: rgba(255,215,0,.05);
}
.prode-match.locked {
  opacity: .6;
  pointer-events: none;
}
.prode-match-meta {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--prode-text-muted);
  text-align: center;
  margin-bottom: 4px;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
}
.prode-match-lock-badge {
  display: inline-block;
  background: #FEE2E2;
  color: #991B1B;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 10px;
}
.prode-match-team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}
.prode-match-team.home { justify-content: flex-end; text-align: right; }
.prode-match-team.away { justify-content: flex-start; text-align: left; }
.prode-match-flag { font-size: 20px; }
.prode-match-scores {
  display: flex;
  gap: 6px;
  align-items: center;
}
.prode-match-scores input {
  width: 44px;
  height: 40px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  border: 2px solid var(--prode-border);
  border-radius: 6px;
  font-family: inherit;
  -moz-appearance: textfield;
  background: rgba(255,255,255,.1);
  color: white;
}
.prode-match-scores input:focus {
  outline: none;
  border-color: var(--prode-color-gold);
  box-shadow: 0 0 0 2px rgba(255,215,0,.2);
}
.prode-match-scores input::-webkit-inner-spin-button,
.prode-match-scores input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.prode-match-scores-sep {
  color: var(--prode-text-muted);
  font-weight: 700;
}

/* Sticky submit footer */
.prode-sticky-footer {
  position: sticky;
  bottom: 0;
  background: linear-gradient(to top, var(--prode-bg) 80%, transparent);
  padding: 16px 0 4px;
  margin: 16px -8px -8px;
}

/* Success view */
.prode-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--prode-success);
  color: white;
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.prode-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.prode-stat {
  text-align: center;
  padding: 16px 8px;
  background: rgba(255,215,0,.08);
  border: 1px solid rgba(255,215,0,.2);
  border-radius: var(--prode-radius-sm);
}
.prode-stat-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--prode-color-gold);
  line-height: 1;
}
.prode-stat-label {
  display: block;
  font-size: 11px;
  color: var(--prode-text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 4px;
}
.prode-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.prode-actions .prode-btn {
  flex: 1;
  min-width: 150px;
}

/* Leaderboard */
.prode-lb {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.prode-lb th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--prode-text-muted);
  border-bottom: 1px solid var(--prode-border);
}
.prode-lb td {
  padding: 12px;
  border-bottom: 1px solid var(--prode-border);
  color: white;
}
.prode-lb tr.me td {
  background: rgba(255,215,0,.1);
  font-weight: 700;
}
.prode-lb-rank {
  font-weight: 800;
  color: var(--prode-color-gold);
  width: 40px;
}
.prode-lb-points {
  text-align: right;
  font-weight: 700;
  width: 80px;
  color: var(--prode-color-gold);
}

/* Mobile */
/* Tabs navigation */
.prode-tabs {
  display: flex;
  gap: 3px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  padding: 4px;
  border-radius: var(--prode-radius);
  margin: 0 0 14px;
  border: 1px solid var(--prode-border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.prode-tab {
  flex: 1;
  padding: 10px 12px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--prode-text-muted);
  cursor: pointer;
  border-radius: var(--prode-radius-sm);
  transition: all .15s;
  white-space: nowrap;
  font-family: inherit;
  min-width: 0;
}
.prode-tab:hover { background: rgba(255,255,255,.1); color: white; }
.prode-tab.active { background: var(--prode-color-accent); color: white; box-shadow: 0 2px 8px rgba(228,0,43,.4); }
.prode-tab-cta { color: var(--prode-color-gold); font-weight: 700; }
.prode-tab-cta.active { background: linear-gradient(135deg, var(--prode-color-gold), #FFA000); color: #1B1464; box-shadow: 0 2px 8px rgba(255,215,0,.4); }

/* Decoraciones flotantes de futbol */
.prode-app::before {
  content: '🇦🇷 ⚽ 🎉 🏟️ 🇦🇷 🎊 ⚽ 🏆 🇦🇷 🥅 🎉 ⚽ 🇦🇷 🎊 🏟️ ⚽';
  position: fixed;
  right: -30px;
  top: 100px;
  writing-mode: vertical-lr;
  font-size: 20px;
  letter-spacing: 20px;
  opacity: .08;
  pointer-events: none;
  z-index: 0;
  animation: floatRight 8s ease-in-out infinite alternate;
}
.prode-app::after {
  content: '⚽ 🇦🇷 🎊 🏆 🎉 🇦🇷 ⚽ 🥅 🎊 🇦🇷 ⚽ 🎉 🏟️ 🇦🇷 ⚽ 🎊';
  position: fixed;
  left: -30px;
  top: 150px;
  writing-mode: vertical-lr;
  font-size: 18px;
  letter-spacing: 22px;
  opacity: .07;
  pointer-events: none;
  z-index: 0;
  animation: floatLeft 10s ease-in-out infinite alternate;
}
@keyframes floatRight {
  from { transform: translateY(0) translateX(0); }
  to { transform: translateY(-20px) translateX(5px); }
}
@keyframes floatLeft {
  from { transform: translateY(0) translateX(0); }
  to { transform: translateY(15px) translateX(-5px); }
}

/* Tab content */
.prode-tab-content { display: none; animation: fadeIn .2s ease-out; }
.prode-tab-content.active { display: block; }

/* Hero banner */
.prode-hero {
  position: relative;
  border-radius: var(--prode-radius);
  overflow: hidden;
  margin-bottom: 16px;
  padding: 50px 20px 40px;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(0,100,0,.6) 0%, transparent 60%),
    linear-gradient(180deg, #0a1628 0%, #0d2140 30%, #0a3020 70%, #0d4a1a 100%);
  border: 1px solid rgba(255,215,0,.25);
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,.5), inset 0 -40px 60px rgba(0,80,0,.2);
}
.prode-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,215,0,.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(117,170,219,.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(117,170,219,.06) 0%, transparent 40%);
}
.prode-hero-content { position: relative; z-index: 2; }
.prode-hero-cup-emoji {
  font-size: 80px;
  display: block;
  margin: 0 auto 8px;
  filter: drop-shadow(0 0 30px rgba(255,215,0,.7)) drop-shadow(0 4px 16px rgba(0,0,0,.5));
  animation: cupFloat 3s ease-in-out infinite;
  line-height: 1;
}
@keyframes cupFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.03); }
}
.prode-hero-title {
  font-size: 32px;
  font-weight: 900;
  color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,.7), 0 0 40px rgba(255,215,0,.25);
  letter-spacing: 3px;
  margin: 0;
  line-height: 1.1;
}
.prode-hero-sub {
  color: rgba(255,255,255,.7);
  font-size: 15px;
  margin: 8px 0 0;
  font-weight: 600;
  letter-spacing: 1px;
}
.prode-hero-flags {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.prode-hero-flag-img {
  width: 36px;
  height: 27px;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.2);
}
.prode-hero-date {
  color: var(--prode-color-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 14px 0 0;
  opacity: .8;
}
/* Sparkles around the hero */
.prode-hero-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.prode-sparkle {
  position: absolute;
  color: var(--prode-color-gold);
  font-size: 14px;
  animation: sparkle 2.5s ease-in-out infinite;
  opacity: .5;
}
.s1 { top: 15%; left: 10%; animation-delay: 0s; }
.s2 { top: 25%; right: 12%; animation-delay: 0.5s; font-size: 10px; }
.s3 { bottom: 20%; left: 15%; animation-delay: 1s; }
.s4 { top: 10%; right: 20%; animation-delay: 1.5s; font-size: 18px; color: #FFF; opacity: .15; }
.s5 { bottom: 15%; right: 10%; animation-delay: 0.8s; font-size: 12px; }
.s6 { top: 40%; left: 5%; animation-delay: 1.2s; font-size: 16px; }
@keyframes sparkle {
  0%, 100% { opacity: .2; transform: scale(.8); }
  50% { opacity: .7; transform: scale(1.2); }
}

/* Key dates */
.prode-key-dates {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.prode-key-date {
  display: flex;
  gap: 10px;
  padding: 14px;
  background: rgba(255,255,255,.05);
  border-radius: var(--prode-radius-sm);
  border: 1px solid var(--prode-border);
}
.prode-key-date-icon { font-size: 24px; flex-shrink: 0; }
.prode-key-date strong { color: var(--prode-color-gold); }
.prode-key-date small { color: var(--prode-text-muted); font-size: 12px; }

/* Groups grid */
.prode-groups-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.prode-group-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  border-radius: var(--prode-radius);
  padding: 0;
  border: 1px solid var(--prode-border);
  overflow: hidden;
  transition: transform .15s, border-color .15s;
}
.prode-group-card:hover {
  transform: translateY(-3px);
  border-color: var(--prode-color-gold);
}
.prode-group-letter {
  font-size: 12px;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--prode-color-accent) 0%, #8B0019 100%);
  text-align: center;
}
.prode-group-body { padding: 4px 0; }
.prode-group-team {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--prode-border);
}
.prode-group-team:last-child { border-bottom: none; }
.prode-group-flag { width: 30px; text-align: center; }
.prode-group-name { font-weight: 600; flex: 1; color: white; }
.prode-group-conf {
  font-size: 9px;
  color: var(--prode-text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .3px;
}

/* Fixture */
.prode-fixture-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.prode-select {
  padding: 8px 12px;
  border: 1px solid var(--prode-border);
  border-radius: var(--prode-radius-sm);
  font-size: 13px;
  font-family: inherit;
  background: rgba(255,255,255,.08);
  color: white;
  cursor: pointer;
  flex: 1;
  min-width: 140px;
}
.prode-select:focus { outline: none; border-color: var(--prode-color-gold); }
.prode-select option { background: #1B1464; color: white; }
.prode-fixture-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--prode-color-gold);
  text-transform: capitalize;
  padding: 14px 0 6px;
  border-bottom: 1px solid rgba(255,215,0,.2);
  margin-bottom: 8px;
}
.prode-fixture-match {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 4px 12px;
  padding: 12px 14px;
  margin-bottom: 6px;
  background: rgba(255,255,255,.04);
  border-radius: var(--prode-radius-sm);
  border: 1px solid var(--prode-border);
  align-items: center;
  transition: border-color .15s, background .15s;
}
.prode-fixture-match:hover { border-color: var(--prode-color-gold); background: rgba(255,255,255,.08); }
.prode-fixture-time {
  font-size: 11px;
  font-weight: 700;
  color: white;
  background: var(--prode-color-accent);
  padding: 6px 0;
  border-radius: 6px;
  grid-row: 1 / 3;
  text-align: center;
  line-height: 1.3;
}
.prode-fixture-teams {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.prode-fixture-home { flex: 1; text-align: right; }
.prode-fixture-away { flex: 1; text-align: left; }
.prode-fixture-vs {
  color: white;
  background: var(--prode-text-muted);
  font-size: 10px;
  font-weight: 700;
  min-width: 28px;
  text-align: center;
  padding: 2px;
  border-radius: 4px;
}
.prode-fixture-score {
  background: var(--prode-color);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  min-width: 40px;
  text-align: center;
}
.prode-fixture-info {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--prode-text-muted);
}
.prode-fixture-group {
  background: rgba(228,0,43,.15);
  color: var(--prode-color-accent);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid rgba(228,0,43,.2);
}
.prode-fixture-venue { font-style: italic; color: var(--prode-text-muted); }

/* Venues */
.prode-venues-country {
  font-size: 16px;
  font-weight: 700;
  color: var(--prode-color-gold);
  padding: 16px 0 8px;
  border-bottom: 1px solid rgba(255,215,0,.2);
  margin-bottom: 12px;
}
.prode-venues-country:first-child { padding-top: 0; }
.prode-venues-grid {
  display: grid;
  grid-template-columns: 1fr;
}
.prode-venues-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.prode-venues-grid .prode-venues-country { grid-column: 1 / -1; }
.prode-venue-card {
  padding: 16px;
  background: rgba(255,255,255,.06);
  border-radius: var(--prode-radius-sm);
  border: 1px solid var(--prode-border);
  margin-bottom: 8px;
  margin-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .15s;
}
.prode-venue-card:hover { border-color: var(--prode-color-gold); }
.prode-venue-name {
  font-size: 15px;
  font-weight: 700;
  color: white;
}
.prode-venue-city {
  font-size: 13px;
  color: var(--prode-text-muted);
}
.prode-venue-capacity {
  font-size: 11px;
  color: var(--prode-color-gold);
  font-weight: 700;
  background: rgba(255,215,0,.1);
  border: 1px solid rgba(255,215,0,.2);
  padding: 3px 8px;
  border-radius: 10px;
  display: inline-block;
  align-self: flex-start;
  margin-top: 4px;
}

/* ===== JUEGOS ===== */
.juegos-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.juegos-tab {
  flex: 1;
  padding: 10px 8px;
  border: 2px solid var(--prode-border);
  background: rgba(255,255,255,.05);
  color: var(--prode-text-muted);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--prode-radius-sm);
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
  text-align: center;
  min-width: 0;
}
.juegos-tab:hover { border-color: var(--prode-color-gold); color: white; }
.juegos-tab.active {
  background: linear-gradient(135deg, var(--prode-color-accent), #8B0019);
  border-color: var(--prode-color-accent);
  color: white;
  box-shadow: 0 2px 8px rgba(228,0,43,.3);
}
.juego-panel { display: none; }
.juego-panel.active { display: block; animation: fadeIn .2s ease-out; }

/* Memory */
.memory-stats {
  text-align: center;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--prode-text-muted);
}
.memory-stats strong { color: var(--prode-color-gold); }
.memory-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}
.memory-card {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border: 2px solid var(--prode-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  gap: 4px;
  padding: 4px;
}
.memory-card:hover:not(.flipped):not(.matched) {
  border-color: var(--prode-color-gold);
  transform: scale(1.05);
}
.memory-card.flipped {
  background: rgba(255,255,255,.12);
  border-color: var(--prode-color-gold);
}
.memory-card.matched {
  background: rgba(0,230,118,.1);
  border-color: var(--prode-success);
}
.memory-card-back {
  font-size: 24px;
  opacity: .4;
}
.memory-card-name {
  font-size: 9px;
  color: var(--prode-text-muted);
  text-align: center;
  line-height: 1.1;
}
.memory-win {
  text-align: center;
  padding: 20px;
}
.memory-win h3 { color: var(--prode-color-gold); margin: 8px 0; }
.memory-win p { color: var(--prode-text-muted); margin-bottom: 16px; }

@media (max-width: 640px) {
  .memory-grid { grid-template-columns: repeat(4, 1fr); }
  .juegos-tab { font-size: 11px; padding: 8px 4px; }
}

/* ===== TRIVIA ===== */
.trivia-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.trivia-header-icon { font-size: 40px; }
.trivia-header h2 { margin: 0; }
.trivia-start { text-align: center; padding: 20px 0; }
.trivia-start p { color: var(--prode-text-muted); margin-bottom: 20px; }

.trivia-progress {
  height: 6px;
  background: rgba(255,255,255,.1);
  border-radius: 3px;
  margin-bottom: 12px;
  overflow: hidden;
}
.trivia-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--prode-color-accent), var(--prode-color-gold));
  border-radius: 3px;
  transition: width .4s ease;
}
.trivia-counter {
  font-size: 12px;
  color: var(--prode-text-muted);
  text-align: center;
  margin-bottom: 16px;
  font-weight: 600;
}
.trivia-question {
  font-size: 18px;
  font-weight: 700;
  color: white;
  text-align: center;
  padding: 20px 10px;
  margin-bottom: 20px;
  line-height: 1.4;
  background: rgba(255,255,255,.04);
  border-radius: var(--prode-radius-sm);
  border: 1px solid var(--prode-border);
}
.trivia-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.trivia-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255,255,255,.06);
  border: 2px solid var(--prode-border);
  border-radius: var(--prode-radius-sm);
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
  text-align: left;
}
.trivia-option:hover:not(:disabled) {
  border-color: var(--prode-color-gold);
  background: rgba(255,215,0,.08);
  transform: translateY(-1px);
}
.trivia-option-letter {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.trivia-option.correct {
  border-color: var(--prode-success);
  background: rgba(0,230,118,.12);
}
.trivia-option.correct .trivia-option-letter {
  background: var(--prode-success);
  color: white;
}
.trivia-option.wrong {
  border-color: var(--prode-error);
  background: rgba(255,82,82,.1);
}
.trivia-option.wrong .trivia-option-letter {
  background: var(--prode-error);
  color: white;
}

.trivia-feedback { min-height: 20px; }
.trivia-fact {
  padding: 16px;
  border-radius: var(--prode-radius-sm);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
}
.trivia-fact-correct {
  background: rgba(0,230,118,.1);
  border: 1px solid rgba(0,230,118,.3);
  color: var(--prode-success);
}
.trivia-fact-wrong {
  background: rgba(255,82,82,.1);
  border: 1px solid rgba(255,82,82,.3);
  color: #FF8A80;
}
.trivia-fact strong { display: block; margin-bottom: 4px; font-size: 15px; }
.trivia-next-btn { margin-top: 4px; }

.trivia-result {
  text-align: center;
  padding: 30px 0;
}
.trivia-result-emoji {
  font-size: 72px;
  margin-bottom: 12px;
  animation: trophyGlow 2s ease-in-out infinite alternate;
}
.trivia-result-score {
  font-size: 48px;
  font-weight: 900;
  color: var(--prode-color-gold);
  margin: 0;
  text-shadow: 0 0 20px rgba(255,215,0,.3);
}
.trivia-result-msg {
  font-size: 18px;
  color: white;
  margin: 8px 0;
  font-weight: 600;
}
.trivia-result-pct {
  color: var(--prode-text-muted);
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .trivia-options { grid-template-columns: 1fr; }
  .trivia-question { font-size: 16px; padding: 16px 8px; }
  .trivia-result-score { font-size: 36px; }
}

/* Empty state */
.prode-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--prode-text-muted);
}
.prode-empty p { margin: 8px 0; }

@media (max-width: 640px) {
  .prode-pool-banner { padding: 10px 12px; gap: 12px; flex-wrap: wrap; }
  .prode-pool-value { font-size: 18px; }
  .prode-pool-live { margin-left: 0; font-size: 9px; }
  .prode-tabs { gap: 1px; padding: 3px; }
  .prode-tab { padding: 8px 6px; font-size: 11px; }
  .prode-groups-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prode-venues-grid { grid-template-columns: 1fr; }
  .prode-key-dates { grid-template-columns: 1fr; }
  .prode-fixture-teams { font-size: 12px; }
  .prode-fixture-home, .prode-fixture-away { font-size: 11px; }
  .prode-card { padding: 20px; }
  .prode-card h2 { font-size: 18px; }
  .prode-match-team { font-size: 12px; }
  .prode-match-flag { font-size: 16px; }
  .prode-match-scores input { width: 38px; height: 36px; font-size: 16px; }
  .prode-actions { flex-direction: column; }
  .prode-stat-value { font-size: 22px; }
}
