:root {
  /* Paleta Elegante Clara (Marfil, Perla, Platino y Coral IP BET) */
  --bg-deep: #e6ebf2;
  --bg-primary: #f5f7fb;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);

  /* Acento Rojo-Coral Elegante ("BET") */
  --bet-red: #ec381e;
  --bet-red-hover: #d62b12;
  --bet-red-dark: #b4210b;
  --bet-red-glow: rgba(236, 56, 30, 0.22);
  --bet-red-soft: rgba(236, 56, 30, 0.09);

  /* Tipografía Oscura Elegante y Grises Platinados */
  --ip-white: #121829;
  --text-primary: #121829;
  --laptop-silver: #5b667e;
  --laptop-dark: #8892a8;
  --border-subtle: rgba(18, 24, 41, 0.09);
  --border-neon: rgba(18, 24, 41, 0.16);

  /* Estados de Resolución */
  --status-live: #d97706;
  --status-live-bg: rgba(245, 158, 11, 0.14);
  --status-won: #059669;
  --status-won-bg: rgba(16, 185, 129, 0.14);
  --status-lost: #dc2626;
  --status-lost-bg: rgba(239, 68, 68, 0.13);
  --status-push: #475569;
  --status-push-bg: rgba(100, 116, 139, 0.15);

  /* VIP Champagne Gold */
  --vip-gold: #b45309;
  --vip-gold-soft: rgba(217, 119, 6, 0.12);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  /* Patrón SVG Sutil de Balones (Fútbol, Básquet, NFL), Raquetas de Tenis y Bates de Béisbol */
  --sports-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260' fill='none' stroke='%231e293b' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round' stroke-opacity='0.065'%3E%3C!-- Balon de Futbol --%3E%3Ccircle cx='48' cy='48' r='24'/%3E%3Cpolygon points='48,35 59,43 55,56 41,56 37,43'/%3E%3Cline x1='48' y1='35' x2='48' y2='24'/%3E%3Cline x1='59' y1='43' x2='70' y2='39'/%3E%3Cline x1='55' y1='56' x2='63' y2='66'/%3E%3Cline x1='41' y1='56' x2='33' y2='66'/%3E%3Cline x1='37' y1='43' x2='26' y2='39'/%3E%3C!-- Raqueta de Tenis y Pelota --%3E%3Cg transform='translate(145, 22) rotate(32)'%3E%3Cellipse cx='30' cy='26' rx='18' ry='23'/%3E%3Cline x1='16' y1='16' x2='44' y2='16'/%3E%3Cline x1='13' y1='26' x2='47' y2='26'/%3E%3Cline x1='16' y1='36' x2='44' y2='36'/%3E%3Cline x1='22' y1='6' x2='22' y2='46'/%3E%3Cline x1='30' y1='3' x2='30' y2='49'/%3E%3Cline x1='38' y1='6' x2='38' y2='46'/%3E%3Cpath d='M25,48 L30,58 L35,48'/%3E%3Crect x='28' y='58' width='4' height='24' rx='2'/%3E%3Ccircle cx='58' cy='44' r='7'/%3E%3Cpath d='M53,39 Q58,44 53,49'/%3E%3C/g%3E%3C!-- Bate de Beisbol y Pelota --%3E%3Cg transform='translate(28, 145) rotate(-35)'%3E%3Cpath d='M12,18 C12,12 20,12 20,18 L18,74 C18,77 14,77 14,74 Z'/%3E%3Cline x1='13' y1='62' x2='19' y2='62'/%3E%3Crect x='12' y='74' width='8' height='3' rx='1.5'/%3E%3Ccircle cx='42' cy='46' r='9'/%3E%3Cpath d='M36,40 Q42,46 36,52' stroke-dasharray='2 2'/%3E%3Cpath d='M48,40 Q42,46 48,52' stroke-dasharray='2 2'/%3E%3C/g%3E%3C!-- Balon de Basquetbol --%3E%3Cg transform='translate(155, 145)'%3E%3Ccircle cx='42' cy='42' r='23'/%3E%3Cline x1='19' y1='42' x2='65' y2='42'/%3E%3Cline x1='42' y1='19' x2='42' y2='65'/%3E%3Cpath d='M25,26 Q42,42 25,58'/%3E%3Cpath d='M59,26 Q42,42 59,58'/%3E%3C/g%3E%3C!-- Balon de Futbol Americano (NFL) --%3E%3Cg transform='translate(95, 95) rotate(-25)'%3E%3Cpath d='M10,28 Q34,4 58,28 Q34,52 10,28 Z'/%3E%3Cline x1='24' y1='28' x2='44' y2='28'/%3E%3Cline x1='28' y1='24' x2='28' y2='32'/%3E%3Cline x1='34' y1='24' x2='34' y2='32'/%3E%3Cline x1='40' y1='24' x2='40' y2='32'/%3E%3C/g%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  background-color: var(--bg-deep);
  background-image: var(--sports-pattern);
  color: var(--text-primary);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100dvh;
  overflow-x: hidden;
  user-select: none;
}

/* Contenedor tipo App Móvil con Grabados Deportivos Sutiles */
.mobile-viewport {
  width: 100%;
  max-width: 450px;
  min-height: 100dvh;
  margin: 0 auto;
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(245, 247, 251, 0.72) 55%, rgba(235, 240, 248, 0.85) 100%),
    var(--sports-pattern);
  background-size: 100% 100%, 240px 240px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 50px rgba(15, 23, 42, 0.12);
  border-left: 1px solid rgba(18, 24, 41, 0.08);
  border-right: 1px solid rgba(18, 24, 41, 0.08);
  padding-bottom: 118px;
}

/* Header Superior Elegante Claro */
.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 11px;
}

.logo-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #1e293b 0%, #64748b 50%, var(--bet-red) 100%);
  box-shadow: 0 4px 12px rgba(236, 56, 30, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  font-size: 1.24rem;
  letter-spacing: 0.5px;
  line-height: 1.05;
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-name .ip-part {
  color: #121829;
}

.brand-name .bet-part {
  color: var(--bet-red);
}

.brand-subtitle {
  font-size: 0.68rem;
  color: var(--laptop-silver);
  font-weight: 700;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-won);
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.5);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.role-pill {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  border: 1px solid var(--border-neon);
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
}

.role-pill:hover {
  border-color: var(--bet-red);
}

.role-pill.admin-active {
  background: linear-gradient(135deg, var(--bet-red), #c8230c);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px var(--bet-red-glow);
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid var(--border-subtle);
  background: #f8fafc;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--bet-red);
  background: var(--bet-red-soft);
}

/* Barra de Estadísticas Rápidas */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 16px 6px;
}

.stat-chip {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  border-radius: 14px;
  padding: 9px 10px;
  text-align: center;
}

.stat-chip .stat-val {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.stat-chip .stat-val.accent {
  color: var(--bet-red);
}

.stat-chip .stat-val.green {
  color: var(--status-won);
}

.stat-chip .stat-lbl {
  font-size: 0.64rem;
  color: var(--laptop-silver);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Contenido Principal */
.app-content {
  flex: 1;
  padding: 10px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Banner Hero de Sección con Textura Deportiva Sutil */
.section-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 16px;
  background-color: #ffffff;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 65%, rgba(236, 56, 30, 0.08) 100%),
    var(--sports-pattern);
  background-size: 100% 100%, 200px 200px;
  border: 1px solid rgba(18, 24, 41, 0.1);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.section-banner.stakazo-banner {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 245, 243, 0.92) 60%, rgba(236, 56, 30, 0.14) 100%),
    var(--sports-pattern);
  border-color: rgba(236, 56, 30, 0.32);
  box-shadow: 0 8px 26px rgba(236, 56, 30, 0.09);
}

.section-banner.vip-banner {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 251, 235, 0.92) 60%, rgba(217, 119, 6, 0.14) 100%),
    var(--sports-pattern);
  border-color: rgba(217, 119, 6, 0.32);
}

.banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bet-red);
  color: #fff;
  margin-bottom: 8px;
  box-shadow: 0 3px 10px var(--bet-red-glow);
}

.banner-tag.gold {
  background: linear-gradient(135deg, #d97706, #b45309);
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.28);
}

.banner-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.banner-desc {
  font-size: 0.78rem;
  color: var(--laptop-silver);
  line-height: 1.45;
}

/* Tarjeta de Pick Elegante Clara */
.pick-card {
  background-color: #ffffff;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(249, 250, 253, 0.97) 100%),
    var(--sports-pattern);
  background-size: 100% 100%, 220px 220px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 15px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.pick-card.stakazo-card {
  border: 1.5px solid rgba(236, 56, 30, 0.42);
  box-shadow: 0 10px 26px rgba(236, 56, 30, 0.1);
}

.pick-card.vip-card {
  border: 1.5px solid rgba(217, 119, 6, 0.35);
}

.pick-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.league-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--laptop-silver);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.league-badge span.sport-pill {
  background: #eef2f8;
  color: var(--text-primary);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
}

/* Insignias de Resolución: En curso, Ganado, Perdido, Push */
.resolution-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 999px;
}

.resolution-badge.en_curso {
  background: var(--status-live-bg);
  color: var(--status-live);
  border: 1px solid rgba(217, 119, 6, 0.35);
}

.resolution-badge.ganado {
  background: var(--status-won-bg);
  color: var(--status-won);
  border: 1px solid rgba(5, 150, 105, 0.35);
}

.resolution-badge.perdido {
  background: var(--status-lost-bg);
  color: var(--status-lost);
  border: 1px solid rgba(220, 38, 38, 0.35);
}

.resolution-badge.push {
  background: var(--status-push-bg);
  color: var(--status-push);
  border: 1px solid rgba(71, 85, 105, 0.3);
}

/* Marcador y Equipos del Motor Deportivo */
.matchup-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 10px 0 14px;
  padding: 12px;
  background: #f4f7fc;
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 24, 41, 0.07);
}

.team-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.team-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  padding: 5px;
  object-fit: contain;
  border: 1px solid rgba(18, 24, 41, 0.1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.team-name {
  font-weight: 800;
  font-size: 0.8rem;
  line-height: 1.2;
  color: var(--text-primary);
}

.score-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 74px;
}

.score-numbers {
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  background: #ffffff;
  padding: 4px 12px;
  border-radius: 10px;
  border: 1px solid rgba(18, 24, 41, 0.12);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  letter-spacing: 1px;
}

.match-clock {
  font-size: 0.65rem;
  color: var(--laptop-silver);
  margin-top: 4px;
  font-weight: 700;
  text-align: center;
}

/* Caja de la Jugada / Selección */
.selection-box {
  background: linear-gradient(135deg, rgba(236, 56, 30, 0.07) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(236, 56, 30, 0.28);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 10px;
}

.selection-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.selection-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--laptop-silver);
  font-weight: 800;
}

.odds-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: var(--bet-red);
  padding: 3px 9px;
  border-radius: 7px;
  box-shadow: 0 2px 8px var(--bet-red-glow);
}

.selection-play {
  font-family: "Outfit", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.stake-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.73rem;
  color: var(--laptop-silver);
  font-weight: 700;
}

.stake-bars {
  display: flex;
  gap: 3px;
}

.stake-bar {
  width: 11px;
  height: 6px;
  border-radius: 3px;
  background: rgba(18, 24, 41, 0.12);
}

.stake-bar.filled {
  background: var(--bet-red);
}

.pick-analysis {
  font-size: 0.78rem;
  color: #334155;
  line-height: 1.45;
  background: #f8fafc;
  padding: 10px 12px;
  border-radius: 10px;
  border-left: 3px solid var(--bet-red);
}

/* Estado Bloqueado (Stakazo y Grupo VIP) */
.locked-overlay-box {
  background: linear-gradient(180deg, #fafbfe 0%, #f1f5fb 100%);
  border: 1.5px dashed rgba(236, 56, 30, 0.45);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blurred-preview {
  filter: blur(6px);
  opacity: 0.4;
  pointer-events: none;
  user-select: none;
  margin-bottom: 10px;
}

.lock-badge-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bet-red-soft);
  border: 1.5px solid var(--bet-red);
  color: var(--bet-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.price-tag-large {
  font-family: "Outfit", sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--text-primary);
  margin: 6px 0;
}

.price-tag-large span {
  font-size: 0.85rem;
  color: var(--laptop-silver);
  font-weight: 600;
}

/* Botones Principales */
.btn-primary {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 13px 18px;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--bet-red) 0%, #c8230c 100%);
  box-shadow: 0 6px 18px var(--bet-red-glow);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(236, 56, 30, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-gold {
  background: linear-gradient(135deg, #d97706 0%, #92400e 100%);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.28);
}

.btn-secondary {
  border: 1px solid var(--border-neon);
  background: #ffffff;
  color: var(--text-primary);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--bet-red);
  background: var(--bet-red-soft);
}

/* Menú de Resolución Manual (Para el Administrador) */
.admin-resolution-panel {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(18, 24, 41, 0.15);
}

.admin-res-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--laptop-silver);
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.res-buttons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.res-btn {
  border: 1px solid rgba(18, 24, 41, 0.12);
  background: #f8fafc;
  color: var(--laptop-silver);
  border-radius: 9px;
  padding: 7px 4px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
}

.res-btn.active.en_curso {
  background: var(--status-live-bg);
  color: var(--status-live);
  border-color: var(--status-live);
}

.res-btn.active.ganado {
  background: var(--status-won-bg);
  color: var(--status-won);
  border-color: var(--status-won);
}

.res-btn.active.perdido {
  background: var(--status-lost-bg);
  color: var(--status-lost);
  border-color: var(--status-lost);
}

.res-btn.active.push {
  background: var(--status-push-bg);
  color: var(--status-push);
  border-color: var(--status-push);
}

/* Formularios y Portal de Administrador */
.admin-card {
  background-color: #ffffff;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(249, 251, 254, 0.97) 100%),
    var(--sports-pattern);
  background-size: 100% 100%, 220px 220px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  background: #eef2f8;
  padding: 5px;
  border-radius: 13px;
  border: 1px solid var(--border-subtle);
}

.admin-tab-btn {
  border: none;
  background: transparent;
  color: var(--laptop-silver);
  padding: 9px 4px;
  font-size: 0.69rem;
  font-weight: 800;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-tab-btn.active {
  background: var(--bet-red);
  color: #fff;
  box-shadow: 0 3px 10px var(--bet-red-glow);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--laptop-silver);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid rgba(18, 24, 41, 0.14);
  border-radius: 11px;
  padding: 11px 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: #ffffff;
  border-color: var(--bet-red);
  box-shadow: 0 0 0 3px rgba(236, 56, 30, 0.14);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Selector de Partidos Reales del Motor Deportivo */
.engine-matches-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 4px;
}

.engine-match-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(18, 24, 41, 0.09);
  cursor: pointer;
  transition: all 0.18s ease;
}

.engine-match-item:hover,
.engine-match-item.selected {
  border-color: var(--bet-red);
  background: rgba(236, 56, 30, 0.08);
}

.engine-match-teams {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-primary);
}

.engine-match-teams img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.engine-match-meta {
  text-align: right;
  font-size: 0.68rem;
  color: var(--laptop-silver);
  font-weight: 700;
}

/* Barra de Navegación Inferior estilo App Nativa (Botones y Texto Grandes) */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 450px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1.5px solid rgba(18, 24, 41, 0.1);
  box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  justify-content: space-around;
  gap: 8px;
  padding: 12px 12px calc(14px + env(safe-area-inset-bottom));
  z-index: 50;
}

.nav-item {
  flex: 1;
  border: 1px solid rgba(18, 24, 41, 0.08);
  background: #f8fafc;
  color: var(--laptop-silver);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 16px;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.nav-item.active {
  color: var(--text-primary);
  background: rgba(236, 56, 30, 0.1);
  border-color: rgba(236, 56, 30, 0.45);
  box-shadow: 0 4px 14px rgba(236, 56, 30, 0.14);
}

.nav-item.active .nav-icon-wrap {
  background: var(--bet-red);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 3px 10px var(--bet-red-glow);
  transform: scale(1.06);
}

.nav-icon-wrap {
  width: 48px;
  height: 36px;
  font-size: 1.3rem;
  border-radius: 999px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(18, 24, 41, 0.08);
  transition: all 0.2s ease;
}

/* Modal de Inicio de Sesión y Checkout de TipsterPage */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media (min-width: 480px) {
  .modal-backdrop {
    align-items: center;
  }
}

.modal-sheet {
  width: 100%;
  max-width: 440px;
  background-color: #ffffff;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(247, 249, 253, 0.97) 100%),
    var(--sports-pattern);
  background-size: 100% 100%, 220px 220px;
  border-top: 1.5px solid var(--border-neon);
  border-radius: 26px 26px 0 0;
  padding: 22px 20px 28px;
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.2);
  max-height: 92dvh;
  overflow-y: auto;
}

@media (min-width: 480px) {
  .modal-sheet {
    border-radius: 24px;
    border: 1px solid var(--border-neon);
  }
}

/* Toast Notification */
.toast-container {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: 90%;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: #ffffff;
  border: 1.5px solid var(--bet-red);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
  color: var(--text-primary);
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.25s ease-out;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Selector de Todos los Métodos de Pago en Plataforma */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pay-method-btn {
  background: #f8fafc;
  border: 1.5px solid rgba(18, 24, 41, 0.1);
  border-radius: 13px;
  padding: 10px 6px;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  transition: all 0.18s ease;
}

.pay-method-btn .pay-icon {
  font-size: 1.25rem;
}

.pay-method-btn small {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.6rem;
  color: var(--laptop-silver);
  font-weight: 600;
}

.pay-method-btn.active {
  background: rgba(236, 56, 30, 0.1);
  border-color: var(--bet-red);
  box-shadow: 0 4px 12px var(--bet-red-glow);
}

.hidden {
  display: none !important;
}
