:root {
  --edo-wine: #8b2136;
  --edo-gold: #b89056;
  /* Sport + modern */
  --ink: #0f172a;           /* slate-900 */
  --muted: #64748b;         /* slate-500 */
  --panel: #ffffff;
  --bg: #0b1020;            /* deep navy */
  --brand: #6d28d9;         /* violet */
  --brand-2: #8b5cf6;       /* violet light */
  --success: #9B1073;
  --radius: 16px;
  --shadow: 0 18px 45px rgba(2,6,23,.12);
  --shadow-soft: 0 10px 24px rgba(2,6,23,.10);
}

* { box-sizing: border-box; }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background:
    radial-gradient(1100px 700px at 15% 8%, rgba(109,40,217,.18), transparent 60%),
    radial-gradient(900px 600px at 85% 80%, rgba(184,144,86,.14), transparent 55%),
    #f6f7fb;
  color: var(--ink);
}

/* Layout */
.container {
  padding-left: 16px;
  padding-right: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header / Hero - Banner optimizado */
.header-card {
  border: none !important;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  background: 
    url("/img/voces.jpeg") no-repeat center center;
  background-size: cover;
  aspect-ratio: 16/7;
  min-height: 300px;
}

/* Sin overlay para no tapar logos */
.header-card::before { display: none; }

.header-card .card-body {
  position: relative;
  z-index: 1;
  color: #fff;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 16px;
  text-align: center;
}

.hero-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 12px 0;
}

.hero-subtitle {
  margin: 0 0 20px 0;
  color: rgba(255,255,255,.85);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
}

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
}

.chip-dark {
  color: #0b1020;
  background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
  border: 1px solid rgba(15,23,42,.10);
}

.chip-danger {
  background: linear-gradient(135deg, #e91e63, #f06292);
  color: white;
  font-weight: 600;
}

/* Hero Bar */
.hero-bar {
  margin-top: 16px;
  width: min(760px, 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
}

.hero-bar__left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.9);
  font-size: .95rem;
  font-weight: 600;
}

/* Botones Hero */
.btn-hero {
  border-radius: 999px;
  padding: .65rem 1.25rem;
  font-weight: 900;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 12px 26px rgba(109,40,217,.25);
  text-decoration: none;
  transition: all .2s ease;
}

.btn-hero:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 32px rgba(109,40,217,.3);
}

/* Event Strip */
.event-strip {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  backdrop-filter: blur(8px);
  margin: 20px 0;
}

/* Formularios */
form.card {
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}

.form-section {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 24px 0 16px 0;
}

.form-control,
.form-select {
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 1px 0 rgba(2,6,23,.03);
  transition: all .2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(109,40,217,.4);
  box-shadow: 0 0 0 .25rem rgba(109,40,217,.15);
}

.form-control-lg,
.form-select-lg {
  padding: .85rem 1rem;
}

label.form-label {
  color: rgba(15,23,42,.8);
  font-weight: 600;
}

/* Switches */
.form-switch .form-check-input {
  width: 3rem;
  height: 1.6rem;
}

.form-switch .form-check-input:checked {
  background-color: var(--brand);
  border-color: var(--brand);
}

/* Botones generales */
.btn {
  border-radius: 14px;
  font-weight: 700;
  transition: all .2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  border: 0;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(109,40,217,.25);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-outline-secondary {
  border: 1px solid rgba(15,23,42,.2);
}

.btn-danger.text-white:hover {
  background: #c2185b !important;
}

/* Cards especiales */
#okBox {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

#okBox .card-body {
  background: linear-gradient(135deg, #0b1020 0%, #111b3a 50%, rgba(109,40,217,.6) 100%);
}

#okBox.show {
  animation: slideInUp 0.5s ease-out;
}

.text-gold { color: var(--edo-gold); }

#alertBox {
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.alert-warning {
  background: linear-gradient(180deg, #fff7ed 0%, #fffbeb 100%);
  color: #7c2d12;
}

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

/* Details y utilidades */
details { border-radius: 14px; }
details summary { user-select: none; }
.cursor-pointer { cursor: pointer; }
hr { opacity: .12; }

/* RESPONSIVE - MEJORADO */
@media (max-width: 992px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .hero-content { padding: 16px 12px; }
}

@media (max-width: 768px) {
  .header-card {
    aspect-ratio: 16/9;
    min-height: 250px;
    background-position: center 20% !important; /* Evita que se descuadre */
    background-attachment: scroll; /* Mejor performance en móvil */
  }
  
  .hero-bar {
    flex-direction: column;
    text-align: center;
    padding: 16px;
    gap: 12px;
  }
  
  .hero-bar__left {
    justify-content: center;
    width: 100%;
  }
  
  .event-strip {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 576px) {
  .hero-title { font-size: 1.875rem; }
  .container { padding-left: 8px; padding-right: 8px; }
  .hero-content { padding: 12px 8px; }
}

/*custom baner*/
.playera-section-horizontal {
  background: linear-gradient(145deg, #fff 0%, #fafbfc 100%);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(240, 98, 146, 0.15);
  box-shadow: 0 8px 32px rgba(240, 98, 146, 0.12);
}

.playera-header {
  display: flex;
  align-items: center;
  color: #1f2937;
  font-size: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(240, 98, 146, 0.2);
}

.info-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 6px 20px rgba(240, 98, 146, 0.25);
  border-left: 4px solid rgba(255,255,255,0.3);
  transition: all 0.2s ease;
  height: 100%;
}

.primary-banner {
  background: linear-gradient(135deg, #f06292 0%, #f8bbd9 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.secondary-banner {
  background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
  color: #fff;
  font-size: 13px;
}

.banner-icon {
  font-size: 20px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.playera-select {
  border: 2px solid rgba(240, 98, 146, 0.3) !important;
  border-radius: 16px !important;
  padding: 18px 24px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  background: #fff !important;
  box-shadow: 0 4px 12px rgba(240, 98, 146, 0.1);
  transition: all 0.3s ease !important;
}

.playera-select:focus {
  border-color: #f06292 !important;
  box-shadow: 0 0 0 0.25rem rgba(240, 98, 146, 0.2) !important;
  transform: translateY(-2px);
}
/*texto*/
.legal-text p {
  line-height: 1.7;
  margin-bottom: 1.25rem !important;
  text-align: justify;
}

.legal-text em {
  color: #6b7280;
  font-style: italic;
  background: rgba(107, 114, 128, 0.1);
  padding: 1px 4px;
  border-radius: 3px;
}

.legal-text strong {
  color: #1f2937;
}

/*boxes*/
.checkbox-label-improved {
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.checkbox-label-improved:hover {
  color: inherit !important;
  opacity: 0.8;
}

.form-check {
  padding-left: 0;
  margin-bottom: 0.75rem;
}

.form-check-input {
  margin-top: 0.2rem;
  /* Eliminé transform: scale(1.1) - ahora tamaño normal */
  border-radius: 0.375rem;
}

/*mobil baner inicii*/
@media (max-width: 768px) {
  .event-strip {
    padding: 1.25rem !important;
  }
  
  .event-strip .chip {
    font-size: .85rem !important;
    padding: .35rem .75rem !important;
    max-width: 100%;
    /* Evita que se alarguen horizontalmente */
    flex: 0 0 auto;
    word-break: break-word;
  }
  
  .event-strip .btn-hero {
    padding: .75rem 1.25rem !important;
    font-size: .95rem;
  }
}

.ati-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(109,40,217,.08) 0%, rgba(139,92,246,.06) 100%);
  border: 1px solid rgba(109,40,217,.15);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  font-size: .85rem;
  color: var(--ink);
  margin: 2rem auto 1rem;
  max-width: max-content;
  box-shadow: var(--shadow-soft);
  transition: all .3s ease;
}

.ati-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(109,40,217,.12) 0%, rgba(139,92,246,.10) 100%);
}

.ati-signature {
  font-weight: 700;
  color: var(--brand);
}

.ati-handle {
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'ui-monospace', monospace;
  letter-spacing: -.5px;
}

/* Móvil */
@media (max-width: 576px) {
  .ati-badge {
    flex-direction: column;
    text-align: center;
    padding: 14px 16px;
    gap: 4px;
  }
}

