/* ============================================================
   CRONORUN – INSCRIPCION.CSS
   Estilos específicos del formulario de inscripción
   ============================================================ */

/* ── SPLIT SCREEN LAYOUT ───────────────────────────────────── */
.split-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

@media (max-width: 900px) {
  .split-layout {
    flex-direction: column;
  }
}

/* ── LEFT PANEL (Hero/Info) ──────────────────────────────── */
.split-left {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 2rem;
}

@media (max-width: 900px) {
  .split-left {
    min-height: auto;
    padding: 3rem 1rem;
  }
}

.hero-3d-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.25) saturate(1.2);
  z-index: 0;
  transform: scale(1.05);
  animation: bg-pan 30s linear infinite alternate;
  transition: opacity 1.5s ease-in-out;
}

@keyframes bg-pan {
  0% {
    transform: scale(1.05) translate(0, 0);
  }

  100% {
    transform: scale(1.1) translate(-2%, 2%);
  }
}

.hero-3d-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 13, 13, 0.3) 0%, rgba(13, 13, 13, 0.8) 100%);
  z-index: 1;
}

.split-left-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 500px;
}

.split-logo {
  width: 180px;
  height: auto;
  transition: transform 0.3s ease;
}

.split-logo:hover {
  transform: scale(1.05);
}

#logo3d-container {
  width: 200px;
  height: 200px;
  max-width: 100%;
  cursor: grab;
  perspective: 1000px;
  margin: 0 auto;
}

#logo3d-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s ease-out;
}

#logo3d-img:hover {
  transform: translateY(-5px) scale(1.05);
}

.hero-3d-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.hero-3d-tagline {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cr-text, #fff);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-3d-free-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: var(--cr-red, #e63030);
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 2.2rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 4px 15px rgba(230, 48, 48, 0.2);
  }

  100% {
    box-shadow: 0 4px 25px rgba(230, 48, 48, 0.6);
  }
}

.glass-logo-ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.glass-logo-ring::before {
  content: "";
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,48,48,0.5) 0%, transparent 70%);
  z-index: -1;
  animation: pulse-ring 3s infinite alternate;
}

.glass-logo-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px rgba(230,48,48,0.4);
  border: 2px solid rgba(230,48,48,0.3);
}

@keyframes pulse-ring {
  0% { 
    transform: scale(0.9);
    opacity: 0.6;
  }
  100% { 
    transform: scale(1.15);
    opacity: 1;
  }
}

/* ── BANNER DEPORTIVO SPLIT ──────────────────────────────── */
.event-banner-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--cr-red, #e63030);
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05);
}

.event-banner-logo-wrap {
  flex-shrink: 0;
  width: 78px;
  height: 78px;
}

.event-banner-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6), 0 0 14px rgba(230,48,48,0.3);
  border: 1.5px solid rgba(230,48,48,0.25);
}

.event-banner-sep {
  width: 1px;
  height: 70px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.16), transparent);
  flex-shrink: 0;
}

.event-banner-info {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  flex: 1;
  min-width: 0;
}

.event-banner-edition {
  font-family: var(--font-mono, monospace);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cr-red, #e63030);
}

.event-banner-title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: clamp(2rem, 5.5vw, 2.7rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: white;
  line-height: 1;
  margin: 0;
  text-shadow: 0 2px 14px rgba(230,48,48,0.3);
}

.event-banner-title-run {
  color: var(--cr-red, #e63030);
}

.event-banner-meta {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  margin-top: 0.3rem;
}

.event-banner-meta-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.event-banner-meta-row span:last-child {
  font-family: var(--font-main, 'Barlow', sans-serif);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-banner-meta-icon {
  font-size: 0.7rem;
  flex-shrink: 0;
}

.event-banner-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 0.45rem;
  padding: 0.22rem 0.7rem;
  background: rgba(230, 48, 48, 0.12);
  border: 1px solid rgba(230, 48, 48, 0.3);
  border-radius: 50px;
  color: var(--cr-red, #e63030);
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  width: fit-content;
}

@media (max-width: 480px) {
  .event-banner-card {
    padding: 0.85rem 1rem;
    gap: 0.9rem;
  }
  .event-banner-logo-wrap {
    width: 64px;
    height: 64px;
  }
  .event-banner-sep {
    height: 58px;
  }
  .event-banner-title {
    font-size: 1.85rem;
  }
}

/* ── PRÓXIMO EVENTO SECTION ──────────────────────────────── */
.next-event-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.next-event-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.next-event-text {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.next-event-dot {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 48, 48, 0.6), transparent);
}

.hero-poster-container {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.poster-glow-ring {
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(230, 48, 48, 0.6), transparent 60%, rgba(230, 48, 48, 0.3));
  z-index: -1;
  animation: posterGlow 3s infinite alternate;
  pointer-events: none;
}

@keyframes posterGlow {
  0% { opacity: 0.5; transform: scale(0.99); }
  100% { opacity: 1; transform: scale(1.01); }
}

.hero-poster-container:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(230, 48, 48, 0.5);
}

.hero-poster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-3d-cupos {
  background: rgba(13, 13, 13, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.hero-3d-cupos-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cr-muted, #888);
}

.hero-3d-cupos-number {
  font-family: var(--font-display, monospace);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--cr-red, #e63030);
  text-shadow: 0 0 20px rgba(230, 48, 48, 0.4);
  transition: transform 0.3s;
}

.hero-3d-cupos-number.pop {
  transform: scale(1.2);
  color: #fff;
}

.hero-3d-cupos-sub {
  font-size: 0.7rem;
  color: var(--cr-muted, #888);
  margin-top: 0.25rem;
}

/* ── SOLD OUT BANNER ─────────────────────────────────────── */
.sold-out-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.25), rgba(200, 0, 0, 0.15));
  border: 2px solid rgba(255, 50, 50, 0.5);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  animation: soldOutPulse 2s infinite alternate;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.3), inset 0 0 20px rgba(255, 0, 0, 0.1);
}

@keyframes soldOutPulse {
  0% {
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3), inset 0 0 20px rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 50, 50, 0.5);
  }
  100% {
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.5), inset 0 0 30px rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 100, 100, 0.8);
  }
}

.sold-out-icon {
  font-size: 1.5rem;
  animation: soldOutIconPulse 1s infinite alternate;
}

@keyframes soldOutIconPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.2); }
}

.sold-out-text {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 1rem;
  font-weight: 900;
  color: #ff4444;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* ── CUPOS STATE STYLES ─────────────────────────────────── */
.hero-3d-cupos.low-cupos {
  border-color: rgba(255, 165, 0, 0.3);
  background: rgba(255, 165, 0, 0.1);
}

.hero-3d-cupos.low-cupos .hero-3d-cupos-number {
  color: orange;
  text-shadow: 0 0 20px rgba(255, 165, 0, 0.4);
}

.hero-3d-cupos.sold-out {
  border-color: rgba(255, 0, 0, 0.3);
  background: rgba(255, 0, 0, 0.1);
  animation: soldOutContainerPulse 2s infinite alternate;
}

@keyframes soldOutContainerPulse {
  0% { 
    border-color: rgba(255, 0, 0, 0.3);
    background: rgba(255, 0, 0, 0.1);
  }
  100% { 
    border-color: rgba(255, 0, 0, 0.6);
    background: rgba(255, 0, 0, 0.2);
  }
}

.hero-3d-cupos.sold-out .hero-3d-cupos-number {
  color: #ff0000;
  text-shadow: 0 0 30px rgba(255, 0, 0, 0.6);
  animation: numberFlash 1s infinite alternate;
}

@keyframes numberFlash {
  0% { opacity: 1; }
  100% { opacity: 0.5; }
}

.hero-3d-cupos.sold-out .hero-3d-cupos-sub {
  color: #ff6666;
  font-weight: 600;
}


/* ── RIGHT PANEL (Glassmorphism Form) ────────────────────── */
.split-right {
  flex: 1;
  background: var(--cr-dark, #0d0d0d);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow-y: auto;
}

.split-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(230, 48, 48, 0.15), transparent 60%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .split-right {
    padding: 2rem 1rem;
  }
}

.glass-submit-btn {
  width: 100%;
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--cr-red) 0%, #ff5e62 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(230, 48, 48, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.glass-submit-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(230, 48, 48, 0.4);
  filter: brightness(1.1);
}

.glass-submit-btn:active {
  transform: translateY(0) scale(0.98);
}

.glass-submit-btn::after {
  content: '→';
  transition: transform 0.3s ease;
}

.glass-submit-btn:hover::after {
  transform: translateX(5px);
}

/* ── DISABLED SUBMIT BUTTON (SOLD OUT) ─────────────────── */
.glass-submit-btn:disabled {
  background: linear-gradient(135deg, #555 0%, #666 100%);
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
  opacity: 0.6;
}

.glass-submit-btn:disabled:hover {
  transform: none !important;
  box-shadow: none;
  filter: none;
}

.glass-submit-btn:disabled::after {
  content: '🚫';
  transform: none;
}

/* ── FORM DISABLED OVERLAY ─────────────────────────────── */
.glass-form.disabled-form {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.glass-form.disabled-form::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 24px;
  pointer-events: none;
}

/* ── SOLD OUT MESSAGE IN FORM ──────────────────────────── */
.form-sold-out-message {
  display: none;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.15), rgba(200, 0, 0, 0.1));
  border: 1px solid rgba(255, 50, 50, 0.3);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #ff6666;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-sold-out-message.visible {
  display: block;
  animation: fadeInScale 0.3s ease;
}

/* ── FORM FOOTER ────────────────────────────────────────── */
.form-footer-info {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--cr-muted);
  line-height: 1.5;
}

.form-footer-info a {
  color: var(--cr-red);
  text-decoration: none;
  font-weight: 600;
}

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.glass-form-wrapper {
  width: 100%;
  max-width: 600px;
  position: relative;
  z-index: 2;
  margin: 2rem auto;
}

.glass-header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
}

.glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(230, 48, 48, 0.1);
  border: 1px solid rgba(230, 48, 48, 0.3);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(230, 48, 48, 0.2);
}

.glass-divider {
  width: 40px;
  height: 4px;
  background: linear-gradient(90deg, var(--cr-red), transparent);
  border-radius: 2px;
  margin: 1rem auto 1.5rem;
}

.glass-form-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: #fff;
}

.text-gradient {
  background: linear-gradient(135deg, var(--cr-red) 0%, #ff5e62 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-form-subtitle {
  color: var(--cr-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.pruebas-disponibles {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.prueba-chip {
  background: rgba(230, 48, 48, 0.12);
  border: 1px solid rgba(230, 48, 48, 0.35);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
}

.prueba-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1rem;
}

.glass-form {
  background: rgba(25, 25, 25, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7);
}

@media (max-width: 600px) {
  .glass-form {
    padding: 1.5rem;
  }
}

/* ── MODERN FORM FIELDS (FLOATING LABELS) ───────────────── */
.form-field-group {
  position: relative;
  margin-bottom: 1.75rem;
}

.form-error-msg {
  display: none;
  color: #ff4d4d;
  font-size: 0.78rem;
  margin-top: 0.4rem;
  padding-left: 0.25rem;
}

.form-field-group.has-error .field-wrapper {
  border-color: #ff4d4d;
  box-shadow: 0 0 12px rgba(255, 77, 77, 0.15);
}

.form-field-group.has-error .tribe-option-content {
  border-color: rgba(255, 77, 77, 0.3);
}

.form-field-group.has-error .form-error-msg {
  display: block;
}

.field-wrapper {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.field-wrapper:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
}

.field-wrapper:focus-within {
  border-color: var(--cr-red);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(230, 48, 48, 0.1);
}

.floating-input {
  width: 100%;
  padding: 1.5rem 1rem 0.6rem;
  background: transparent !important;
  border: none !important;
  color: white;
  font-size: 1rem;
  outline: none;
}

.floating-label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--cr-muted);
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.25s ease;
}

.floating-input:focus~.floating-label,
.floating-input:not(:placeholder-shown)~.floating-label,
.form-select:not([value=""])~.floating-label {
  top: 1rem;
  font-size: 0.75rem;
  color: var(--cr-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Specific fix for select with hidden default */
.form-select.floating-input {
  appearance: none;
  cursor: pointer;
}

.field-focus-line {
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--cr-red);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.field-wrapper:focus-within .field-focus-line {
  width: 60%;
}

/* ── RADIO CARDS MODERN ─────────────────────────────────── */
.section-sublabel {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cr-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.option-card-modern {
  position: relative;
  cursor: pointer;
}

.option-card-modern input {
  position: absolute;
  opacity: 0;
}

.option-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.option-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.option-text {
  font-size: 0.9rem;
  color: var(--cr-text-2);
  font-weight: 500;
}

.option-card-modern:hover .option-content {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.option-card-modern input:checked+.option-content {
  border-color: var(--cr-red);
  background: rgba(230, 48, 48, 0.08);
}

.option-card-modern input:checked+.option-content .option-dot {
  border-color: var(--cr-red);
  background: var(--cr-red);
  box-shadow: 0 0 10px var(--cr-red);
}

.option-card-modern input:checked+.option-content .option-text {
  color: white;
}

/* ── MODERN UPLOAD ──────────────────────────────────────── */
.modern-upload-box {
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.modern-upload-box:hover {
  border-color: var(--cr-red);
  background: rgba(230, 48, 48, 0.03);
}

.modern-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.upload-icon-modern {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.upload-text-modern {
  font-size: 0.9rem;
  color: var(--cr-muted);
}

.upload-preview-modern {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.upload-preview-modern.has-image {
  opacity: 1;
}

.modern-upload-box.has-file {
  border-style: solid;
  border-color: var(--cr-green);
}

.field-hint {
  font-size: 0.75rem;
  color: var(--cr-muted);
  margin-top: 0.5rem;
  opacity: 0.8;
}

/* ── ANIMATIONS ─────────────────────────────────────────── */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  animation: slide-up 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slide-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-error-msg {
  display: none;
  font-size: 0.75rem;
  color: var(--cr-red);
  margin-top: 0.4rem;
  padding-left: 0.5rem;
}

.has-error .form-error-msg {
  display: block;
}

.has-error .field-wrapper {
  border-color: var(--cr-red) !important;
}



/* ── Form layout ─────────────────────────────────────────── */
.form-section {
  padding-bottom: var(--space-3xl);
}

.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.form-card {
  background: var(--cr-card);
  border: 1px solid var(--cr-border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.form-section-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cr-red);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--cr-border-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* ── Option cards (radio) ────────────────────────────────── */
.option-grid {
  display: grid;
  gap: var(--space-sm);
}

.option-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.option-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.option-card {
  position: relative;
  cursor: pointer;
}

.option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.85rem 0.5rem;
  background: var(--cr-dark-3);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.option-card input:checked+.option-label {
  border-color: var(--cr-red);
  background: rgba(230, 48, 48, 0.10);
}

.option-label:hover {
  border-color: var(--cr-border);
  background: var(--cr-dark-4);
}

.option-emoji {
  font-size: 1.5rem;
}

.option-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cr-text);
}

.option-sublabel {
  font-size: 0.72rem;
  color: var(--cr-muted);
  text-transform: none;
  font-family: var(--font-body);
}

/* ── Upload area ─────────────────────────────────────────── */
.upload-area {
  position: relative;
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.upload-area:hover,
.upload-area.has-file {
  border-color: var(--cr-border);
  background: rgba(230, 48, 48, 0.04);
}

.upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.upload-text {
  font-size: 0.9rem;
  color: var(--cr-muted-light);
}

.upload-hint {
  font-size: 0.75rem;
  color: var(--cr-muted);
  margin-top: 0.25rem;
}

.upload-preview {
  display: none;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cr-border);
  margin: 0 auto var(--space-sm);
}

/* ── Submit button ───────────────────────────────────────── */
.submit-btn-wrap {
  margin-top: var(--space-xl);
}

/* ── Success overlay ─────────────────────────────────────── */
.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.success-overlay.show {
  display: flex;
  animation: fadeInScale 0.4s ease;
}

.success-card {
  background: var(--cr-card);
  border: 2px solid var(--cr-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-2xl) var(--space-xl);
  text-align: center;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-glow);
  position: relative;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
  display: block;
}

.success-title {
  font-size: 2rem;
  background: var(--cr-gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.success-text {
  color: var(--cr-muted-light);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}

.success-name {
  color: var(--cr-red-light);
  font-weight: 700;
}

/* ── Success Participants Mini-List ───────────────────────── */
.success-participants {
  margin-top: 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-align: left;
}

.sp-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sp-icon-wrap {
  background: rgba(255, 59, 48, 0.15);
  color: var(--cr-red);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-title {
  flex: 1;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sp-count {
  font-size: 0.7rem;
  background: var(--cr-red);
  color: white;
  border-radius: 10px;
  padding: 1px 8px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.sp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 170px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,59,48,0.3) transparent;
}

.sp-list .name-entry {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s;
}

.sp-list .name-entry.sp-me {
  background: rgba(255, 59, 48, 0.12);
  border-left: 3px solid var(--cr-red);
}

.sp-list .name-entry.sp-me .name-full {
  color: white;
  font-weight: 700;
}

.sp-me-tag {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--cr-red);
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid rgba(255, 59, 48, 0.4);
  border-radius: 4px;
  padding: 1px 5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  margin-left: auto;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .form-card {
    padding: var(--space-lg);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .option-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── TRIBE CARDS ─────────────────────────────────────────── */
.tribe-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.tribe-card {
  width: 100%;
}

.tribe-option-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.tribe-option-content:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateX(4px);
}

.tribe-card input:checked + .tribe-option-content {
  border-color: var(--cr-red);
  background: rgba(230, 48, 48, 0.1);
  box-shadow: 0 0 20px rgba(230, 48, 48, 0.15), inset 0 0 0 1px rgba(230, 48, 48, 0.2);
}

.tribe-emoji {
  font-size: 1.8rem;
  min-width: 2.2rem;
  text-align: center;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

.tribe-card input:checked + .tribe-option-content .tribe-emoji {
  transform: scale(1.15);
}

.tribe-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.tribe-title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.tribe-card input:checked + .tribe-option-content .tribe-title {
  color: #fff;
}

.tribe-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.3;
  transition: color 0.3s ease;
}

.tribe-card input:checked + .tribe-option-content .tribe-desc {
  color: rgba(255, 255, 255, 0.65);
}

/* ── ENHANCED SELECT DROPDOWN ────────────────────────────── */
.form-select.floating-input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 12px !important;
  padding-right: 2.5rem !important;
}

.form-select option {
  background: #1a1a1a;
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

/* ── DATE INPUT FIX ──────────────────────────────────────── */
input[type="date"].floating-input {
  color-scheme: dark;
}

input[type="date"].floating-input::-webkit-calendar-picker-indicator {
  filter: invert(0.7);
  cursor: pointer;
}

/* ── MOBILE DPI / RESPONSIVE POLISH ──────────────────────── */
@media (max-width: 900px) {
  .split-layout {
    flex-direction: column;
  }

  .split-left {
    min-height: 55vh;
    padding: 2rem 1rem;
    padding-top: calc(2rem + env(safe-area-inset-top));
  }

  .split-right {
    padding: 1.5rem 1rem;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }

  .glass-form {
    padding: 1.5rem;
    border-radius: 18px;
  }

  .glass-form-title {
    font-size: 2rem;
  }

  .tribe-emoji {
    font-size: 1.5rem;
    min-width: 1.8rem;
  }

  .tribe-title {
    font-size: 0.85rem;
  }

  .tribe-desc {
    font-size: 0.7rem;
  }
}

@media (max-width: 400px) {
  .glass-form {
    padding: 1.25rem;
  }

  .floating-input {
    font-size: 16px; /* Prevents iOS auto-zoom on focus */
  }

  .tribe-option-content {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }
}

/* High-DPI screens: crisper borders and shadows */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .field-wrapper {
    border-width: 0.5px;
  }

  .tribe-option-content {
    border-width: 0.5px;
  }

  .glass-form {
    border-width: 0.5px;
  }
}

/* Ultra-wide / tablet landscape */
@media (min-width: 1200px) {
  .split-left {
    flex: 1.2;
  }

  .glass-form-wrapper {
    max-width: 650px;
  }
}

/* ══════════════════════════════════════════════════════════════
   CUPOS GRID — dos cajas por prueba
   ══════════════════════════════════════════════════════════════ */
.cupos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  width: 100%;
}

.cupos-box {
  background: rgba(13, 13, 13, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.cupos-box.state-full {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
}

.cupos-prueba-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cr-red, #e63030);
  opacity: 0.85;
  margin-bottom: 0.1rem;
}

.cupos-box-prueba {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.cupos-box-number {
  font-family: var(--font-display, monospace);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: #4ade80;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
  transition: color 0.4s, text-shadow 0.4s, transform 0.2s;
}

.cupos-box-number.pop {
  transform: scale(1.18);
}

.cupos-box-label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  margin-top: 0.1rem;
}

.cupos-bar-wrap {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin: 0.5rem 0 0.25rem;
}

.cupos-bar-fill {
  height: 100%;
  background: #4ade80;
  border-radius: 2px;
  width: 0%;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s;
}

.cupos-box-sub {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.22);
}

/* ══════════════════════════════════════════════════════════════
   REGISTERED FAB
   ══════════════════════════════════════════════════════════════ */
.registered-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1c1c1c, #272727);
  border: 1px solid rgba(230, 48, 48, 0.45);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(230, 48, 48, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.registered-fab:hover {
  transform: scale(1.1);
  border-color: rgba(230, 48, 48, 0.8);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 24px rgba(230, 48, 48, 0.25);
}

.fab-live-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 7px #ef4444;
  animation: fabDotPulse 1.6s infinite;
}

@keyframes fabDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

.fab-count {
  position: absolute;
  bottom: -3px;
  right: -3px;
  background: var(--cr-red, #e63030);
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #0d0d0d;
  line-height: 1;
}

/* ══════════════════════════════════════════════════════════════
   REGISTERED PANEL
   ══════════════════════════════════════════════════════════════ */
.registered-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.registered-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.registered-panel {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 1002;
  width: min(400px, 100vw);
  height: 100%;
  background: #111111;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.75);
}

.registered-panel.open {
  right: 0;
}

/* Panel Header */
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.01);
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.panel-live-indicator {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ef4444;
  animation: liveFlash 1.6s infinite;
}

@keyframes liveFlash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.panel-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.panel-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Panel Summary */
.panel-summary {
  display: flex;
  align-items: stretch;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.015);
  flex-shrink: 0;
}

.panel-summary-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
}

.psb-count {
  font-family: var(--font-display, monospace);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--cr-red, #e63030);
}

.psb-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
}

.psb-cupos {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 0.1rem;
}

.panel-summary-sep {
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 0 0.5rem;
  align-self: stretch;
}

/* Panel Columns */
.panel-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.panel-column {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  min-height: 0;
}

.panel-column:last-child {
  border-right: none;
}

.panel-col-header {
  padding: 0.55rem 0.9rem;
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.01);
  flex-shrink: 0;
}

/* Names List */
.names-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
}

.name-entry {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.15s;
  animation: nameSlideIn 0.3s ease;
}

@keyframes nameSlideIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.name-entry:hover {
  background: rgba(255, 255, 255, 0.03);
}

.name-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.name-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.02rem;
}

.name-full {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.name-city {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.28);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.name-pos {
  font-family: var(--font-display, monospace);
  font-size: 0.6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.names-list-empty {
  padding: 1.75rem 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.18);
  font-style: italic;
}

@media (max-width: 600px) {
  .registered-fab {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .cupos-grid {
    gap: 0.5rem;
  }
  .cupos-box-number {
    font-size: 2.2rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   SOLDOUT OVERLAY — cierre automático profesional
   ══════════════════════════════════════════════════════════════ */
.soldout-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: radial-gradient(ellipse at 50% 0%, rgba(230, 48, 48, 0.12) 0%, rgba(0, 0, 0, 0.97) 70%);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.soldout-overlay.show {
  display: flex;
  animation: soldoutFadeIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes soldoutFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.soldout-card {
  background: linear-gradient(160deg, #161616 0%, #111111 100%);
  border: 1px solid rgba(230, 48, 48, 0.2);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 60px rgba(230, 48, 48, 0.08);
  animation: soldoutCardIn 0.7s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

@keyframes soldoutCardIn {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Logo */
.soldout-logo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(230, 48, 48, 0.3);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(230, 48, 48, 0.2);
}

.soldout-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badge */
.soldout-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(230, 48, 48, 0.12);
  border: 1px solid rgba(230, 48, 48, 0.4);
  color: #ff6b6b;
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
}

/* Title */
.soldout-title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.05;
  margin: 0;
}

.soldout-title-accent {
  background: linear-gradient(135deg, #e63030, #ff5e62);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Message */
.soldout-msg {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.soldout-msg strong {
  color: rgba(255, 255, 255, 0.7);
}

/* Stats row */
.soldout-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
}

.soldout-stat-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 1rem 0.5rem;
}

.soldout-stat-emoji {
  font-size: 1.4rem;
}

.soldout-stat-num {
  font-family: var(--font-display, monospace);
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.soldout-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
}

.soldout-stat-tag {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  margin-top: 0.1rem;
}

.soldout-stats-div {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.06);
}

/* Total line */
.soldout-total-line {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.soldout-total-num {
  font-family: var(--font-display, monospace);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--cr-red, #e63030);
}

.soldout-total-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Event card */
.soldout-event-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.85rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.soldout-event-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.soldout-event-icon {
  font-size: 0.9rem;
}

.soldout-event-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

/* Countdown */
.soldout-cd-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.soldout-cd-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.soldout-cd-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.soldout-cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-width: 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 0.5rem 0.4rem;
}

.soldout-cd-num {
  font-family: var(--font-display, monospace);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #e63030, #ff5e62);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.soldout-cd-lbl {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}

.soldout-cd-sep {
  font-size: 1.4rem;
  font-weight: 900;
  color: rgba(230, 48, 48, 0.5);
  margin-bottom: 6px;
}

/* Footer */
.soldout-footer-msg {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

@media (max-width: 480px) {
  .soldout-card {
    padding: 2rem 1.25rem;
    border-radius: 22px;
    gap: 0.9rem;
  }
  .soldout-cd-item {
    min-width: 40px;
  }
  .soldout-cd-num {
    font-size: 1.3rem;
  }
}