/* ================================================
   BOTONES.CSS - Estilos de botones 3D y especiales
   ================================================ */

.btn-3d-container {
  width: 100%;
  display: flex;
  height: 60px;
  margin: 15px 0;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.6),
    inset 0 2px 2px rgba(255, 255, 255, 0.3),
    inset 0 -4px 6px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.1s ease;
  position: relative;
}

.btn-3d-delgado {
  height: 48px !important;
  margin: 10px 0 !important;
}

.btn-3d-container:active {
  transform: scale(0.96) translateY(2px);
}

.btn-3d-icon {
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.12);
  font-size: 24px;
}

.btn-3d-delgado .btn-3d-icon {
  width: 52px;
}

.btn-3d-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
  padding: 0 10px;
}

/* Variantes de color de botones 3D */

.btn-3d-gris {
  background: var(--grad-gris-3d);
  color: #1a1a1a;
}

.btn-3d-amarillo {
  background: var(--grad-amarillo-3d);
  color: #221a00;
}

.btn-3d-rojo {
  background: var(--grad-rojo-3d);
  color: #fff;
}

/* Botón de ayuda */
.btn-ayuda-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 204, 0, 0.3);
  border-radius: 40px;
  padding: 10px 22px;
  margin: 20px auto 0 auto;
  cursor: pointer;
  transition: all 0.25s ease;
  width: fit-content;
  min-width: 160px;
  backdrop-filter: blur(6px);
}

.btn-ayuda-container:hover {
  background: rgba(255, 204, 0, 0.18);
  border-color: var(--premium);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 204, 0, 0.25);
}

.ayuda-texto {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--premium);
  text-transform: uppercase;
}

/* Botón para ver anuncio */
.anuncio-3d-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grad-amarillo-3d);
  color: #221a00;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
  transition: all 0.1s ease;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 11px;
  white-space: nowrap;
}

.anuncio-3d-btn:active {
  transform: scale(0.95);
}

.anuncio-3d-icon {
  font-size: 15px;
}

.anuncio-3d-text {
  font-size: 10px;
  font-weight: 900;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

/* Botón VIP para activar código */
.vip-codigo-card .btn-3d-container {
  margin-top: 8px;
}

/* Estilos adicionales para botones dentro de tarjetas VIP */
.vip-precio-card,
.vip-codigo-card {
  transition: transform 0.2s ease;
}

.vip-precio-card:hover,
.vip-codigo-card:hover {
  transform: translateY(-2px);
}

/* Botón de cerrar sesión en perfil */
.perfil-logout-btn {
  width: 100%;
  background: rgba(255, 60, 60, 0.06);
  color: rgba(255, 100, 100, 0.85);
  border: 1px solid rgba(255, 60, 60, 0.25);
  padding: 13px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 11.5px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.25s ease;
  margin-top: 10px;
}

.perfil-logout-btn:hover {
  background: rgba(255, 60, 60, 0.15);
  color: #ff6666;
  border-color: rgba(255, 60, 60, 0.4);
}

/* Botón de extender VIP */
#modalExtenderVIP button {
  transition: all 0.2s ease;
}

#modalExtenderVIP button:hover {
  transform: translateY(-1px);
}

/* Botón VIP del perfil */
.perfil-vip-btn {
  background: var(--premium);
  color: #000;
  border: none;
  padding: 10px 16px;
  border-radius: 22px;
  font-weight: 700;
  cursor: pointer;
  font-size: 10.5px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-shrink: 0;
  transition: all 0.2s;
}

.perfil-vip-btn:hover {
  background: #ffdd33;
  transform: scale(1.05);
}

/* ========== ANIMACIÓN DESBLOQUEO LEGENDARIO (VIP) ========== */
@keyframes legendaryUnlock {
  0% { 
    opacity: 0; 
    transform: scale(3) rotate(-5deg); 
    filter: brightness(2) drop-shadow(0 0 50px #ffcc00);
  }
  30% { 
    opacity: 1; 
    transform: scale(1.1) rotate(2deg); 
    filter: brightness(1.5) drop-shadow(0 0 30px #ffcc00);
  }
  50% {
    transform: scale(0.95) rotate(-1deg);
    filter: brightness(1.2) drop-shadow(0 0 20px #ffcc00);
  }
  70% {
    transform: scale(1.02) rotate(0.5deg);
  }
  100% { 
    opacity: 1; 
    transform: scale(1) rotate(0deg); 
    filter: brightness(1) drop-shadow(0 0 15px #ffcc00);
  }
}

@keyframes goldenGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255,204,0,0.4), inset 0 0 10px rgba(255,204,0,0.2); }
  50% { box-shadow: 0 0 50px rgba(255,204,0,0.8), inset 0 0 20px rgba(255,204,0,0.5); }
}

@keyframes floatParticles {
  0% { background-position: 0 0; }
  100% { background-position: 100px 100px; }
}

@keyframes particleFade {
  0% { opacity: 0; }
  30% { opacity: 0.5; }
  100% { opacity: 0.15; }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.vip-legendary-animation {
  animation: legendaryUnlock 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.vip-card-glow {
  animation: goldenGlow 2s infinite ease-in-out;
}

.vip-particle-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, #ffcc00 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0;
  animation: floatParticles 8s linear infinite, particleFade 1.5s ease-out forwards;
  pointer-events: none;
  z-index: -1;
}

#vipActivatedAlert > div {
  animation: fadeInScale 0.3s ease-out;
}
/* ========== BOTÓN ACTION (de styles.css) ========== */
.button-action {
    background: var(--primary);
    color: white;
    padding: 15px;
    width: 100%;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 10px;
    border: none;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(255, 60, 60, 0.3);
}

.button-action:active {
    transform: scale(0.96);
}

/* ========== BOTONES FLOTANTES (de styles.css) ========== */
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    background-color: var(--whatsapp);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.faq-float {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 20px;
    left: 20px;
    background-color: var(--premium);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.2s;
}

.faq-float:hover {
    transform: scale(1.05);
}

.faq-float img {
    width: 28px;
    height: 28px;
}

/* ========== PERFIL ICONO (de styles.css) ========== */
.perfil-icono {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 204, 0, 0.3);
    z-index: 15;
}

.perfil-icono:hover {
    background: rgba(255, 204, 0, 0.2);
    border-color: var(--premium);
    transform: scale(1.05);
}

/* ========== TIENDA ICONO (de styles.css) ========== */
.tienda-icono {
    position: absolute;
    top: 20px;
    left: 20px;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 204, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    transition: all 0.2s ease;
}

.tienda-icono:hover {
    background: rgba(255, 204, 0, 0.2);
    border-color: var(--premium);
    transform: scale(1.05);
}

.tienda-icono img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* ========== SELECTOR DE IDIOMA (de styles.css) ========== */
.idioma-selector {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 20;
}

.idioma-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 18px;
    transition: all 0.2s ease;
}

.idioma-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 204, 0, 0.4);
}

.idioma-flecha {
    font-size: 10px;
    color: #aaa;
    margin-left: 2px;
}

.idioma-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    background: #1a1a2a;
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    min-width: 140px;
    z-index: 99999;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.idioma-dropdown.show {
    display: block;
}

.idioma-opcion {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    color: #ccc;
    transition: all 0.15s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}

.idioma-opcion:last-child {
    border-bottom: none;
}

.idioma-opcion:hover {
    background: rgba(255, 204, 0, 0.15);
    color: #fff;
}

.idioma-opcion.activo {
    background: rgba(255, 204, 0, 0.1);
    color: var(--premium);
    font-weight: bold;
}

/* ========== BOTONES DE COMPARTIR (de styles.css) ========== */
.compartir-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 25px;
    border: 1px solid #333;
    background: rgba(0,0,0,0.5);
    color: #ccc;
    cursor: pointer;
    font-size: 12px;
    transition: 0.2s;
}

.compartir-btn:hover {
    transform: translateY(-1px);
}

.compartir-whatsapp:hover {
    background: rgba(37,211,102,0.15);
    border-color: #25d366;
    color: #25d366;
}

.compartir-facebook:hover {
    background: rgba(24,119,242,0.15);
    border-color: #1877f2;
    color: #1877f2;
}

.compartir-tiktok:hover {
    background: rgba(255,0,80,0.15);
    border-color: #ff0050;
    color: #ff0050;
}

.compartir-descargar:hover {
    background: rgba(255,204,0,0.15);
    border-color: var(--premium);
    color: var(--premium);
}

/* ========== BOTONES DEL MODAL COMPARTIR ========== */
.modal-compartir-cerrar {
    color: #666;
    font-size: 22px;
    cursor: pointer;
}

.modal-compartir-cerrar:hover {
    color: #fff;
}

/* ========== BOTONES DE CÓDIGO Y COMPARTIR ========== */
.codigo-copiar {
    cursor: pointer;
    font-size: 18px;
    transition: transform 0.2s;
}

.codigo-copiar:hover {
    transform: scale(1.2);
}

.codigo-compartir {
    cursor: pointer;
    background: transparent;
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 204, 0, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--premium);
    font-weight: 600;
    letter-spacing: 0;
    transition: all 0.2s ease;
}

.codigo-compartir:hover {
    background: rgba(255, 204, 0, 0.15);
    border-color: rgba(255, 204, 0, 0.7);
    transform: scale(1.03);
}

.codigo-compartir img {
    width: 18px;
    height: 18px;
    filter: brightness(1.2);
}

/* ========== BOTONES DE MODALES INFO PJ ========== */
.modal-info-pj-btn-guardar {
    background: var(--premium);
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: bold;
    flex: 2;
    cursor: pointer;
    font-size: 13px;
}

.modal-info-pj-btn-cancelar {
    background: transparent;
    border: 1px solid #444;
    color: #888;
    padding: 12px;
    border-radius: 12px;
    flex: 1;
    cursor: pointer;
    font-size: 13px;
}

/* ========== BOTONES MODAL AVISO INFO PJ ========== */
.modal-aviso-info-btn-si {
    background: var(--premium);
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: bold;
    flex: 1;
    cursor: pointer;
    font-size: 12px;
}

.modal-aviso-info-btn-omitir {
    background: transparent;
    border: 1px solid #444;
    color: #888;
    padding: 12px;
    border-radius: 12px;
    flex: 1;
    cursor: pointer;
    font-size: 12px;
}

/* ========== BOTONES MODAL REPORTE ========== */
.modal-reporte-btn-enviar {
    background: var(--premium);
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: bold;
    flex: 2;
    cursor: pointer;
    font-size: 13px;
}

.modal-reporte-btn-cancelar {
    background: transparent;
    border: 1px solid #444;
    color: #888;
    padding: 12px;
    border-radius: 12px;
    flex: 1;
    cursor: pointer;
    font-size: 13px;
}

/* ========== BOTONES PREMIUM TEASER ========== */
.teaser-cta-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--premium), #ffaa00);
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 6px 15px rgba(255, 204, 0, 0.3);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.teaser-cta-btn:hover {
    transform: scale(0.98);
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.4);
    background: linear-gradient(135deg, #ffdd33, #ffbb00);
}

.teaser-cta-btn:active {
    transform: scale(0.96);
}

/* ========== BOTÓN CERRAR MODAL (X) ========== */
.cerrar-modal {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: url('../img-iconos-2/share_close.png') no-repeat center center;
    background-size: contain;
    cursor: pointer;
    transition: 0.2s;
    z-index: 10;
    font-size: 0;
    color: transparent;
}

.cerrar-modal:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.cerrar-modal-faq {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: url('../img-iconos-2/share_close.png') no-repeat center center;
    background-size: contain;
    cursor: pointer;
    transition: 0.2s;
    z-index: 10;
    font-size: 0;
    color: transparent;
}

.cerrar-modal-faq:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* ========== BOTÓN FORO PREMIUM ========== */
.foro-btn-premium {
    background: transparent;
    color: var(--premium);
    border: 1px solid var(--premium);
    padding: 10px 28px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: 0.2s;
}

.foro-btn-premium:hover {
    background: rgba(255, 204, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.15);
}
/* ========== EFECTO TÁCTIL :active PARA TODOS LOS BOTONES ========== */
.btn-3d-container:active { transform: scale(0.96) translateY(2px); }
.button-action:active { transform: scale(0.96); opacity: 0.8; }
.anuncio-3d-btn:active { transform: scale(0.95); opacity: 0.8; }
.perfil-logout-btn:active { background: rgba(255, 60, 60, 0.25); }
.perfil-vip-btn:active { transform: scale(0.95); }
.codigo-copiar:active { transform: scale(0.9); }
.codigo-compartir:active { transform: scale(0.95); opacity: 0.7; }
.compartir-btn:active { transform: scale(0.95); opacity: 0.7; }
.modal-info-pj-btn-guardar:active { opacity: 0.7; }
.modal-info-pj-btn-cancelar:active { opacity: 0.7; }
.modal-aviso-info-btn-si:active { opacity: 0.7; }
.modal-aviso-info-btn-omitir:active { opacity: 0.7; }
.modal-reporte-btn-enviar:active { opacity: 0.7; }
.modal-reporte-btn-cancelar:active { opacity: 0.7; }
.teaser-cta-btn:active { transform: scale(0.96); opacity: 0.8; }
.foro-btn-premium:active { opacity: 0.7; }
.tienda-btn-comprar:active { opacity: 0.7; }
.tienda-btn-recargar:active { opacity: 0.7; }