.hero-partido-btn,
.btn-primary,
.btn-secondary,
.plan-btn,
.dest-btn,
.btn-ticket,
.btn-whatsapp {
  max-width: 100%;         
  min-width: 0;             
  box-sizing: border-box;   
  flex-shrink: 1;          
  white-space: normal;      
  overflow-wrap: break-word;
  text-align: center;
  justify-content: center;  
}

.hero-partido-btn {
  align-items: center;
  line-height: 1.3;
}

.hero-partido-meta span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn {

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  flex-shrink: 1;
  white-space: normal;
  overflow-wrap: break-word;
  text-align: center;
  line-height: 1.3;

  /* Identidad tipográfica Emelec */
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;

  /* Interacción */
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease,
              border-color 0.25s ease, transform 0.25s ease,
              box-shadow 0.25s ease;
}

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

/* ---------- Tamaños ---------------------------------------- */
.btn--sm { font-size: 12px; padding: 8px 16px;  border-radius: 6px;  }
.btn--md { font-size: 13px; padding: 11px 18px; border-radius: 10px; }
.btn--lg { font-size: 14px; padding: 16px 32px; border-radius: 8px;  }


.btn--solid {
  background: var(--gray);
  color: var(--blue-dark);
}
.btn--solid:hover {
  background: var(--gray-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 176, 188, 0.25);
}

/* Contorno — acción secundaria (como Ser Socio) */
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}
.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

/* Azul — acciones dentro de tarjetas (como btn-ticket) */
.btn--blue {
  background: var(--blue-mid);
  color: var(--white);
}
.btn--blue:hover {
  background: var(--gray);
  color: var(--blue-dark);
}

/* Fantasma — mínimo énfasis (como plan-btn no destacado) */
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
}
.btn--ghost:hover {
  border-color: var(--gray);
  color: var(--gray);
}

/* WhatsApp */
.btn--wa {
  background: #25D366;
  color: var(--white);
  border-radius: 100px;
  letter-spacing: 1px;
}
.btn--wa:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

/* ---------- Modificadores de ancho -------------------------- */

/* Ocupa todo el ancho del contenedor */
.btn--block {
  display: flex;
  width: 100%;
}

/* En flex: crece y se reparte el espacio con sus hermanos */
.btn--fluid { flex: 1; }


/* ============================================================
   RESPONSIVE GLOBAL DE BOTONES
   En pantallas táctiles/estrechas todos los botones de acción
   pasan a ancho completo (patrón Bootstrap .d-grid en móvil)
   ============================================================ */
@media (max-width: 700px) {
  .hero-partido-btn,
  .dest-btn,
  .btn--solid,
  .btn--blue {
    width: 100%;
  }
}
