/* Estilos de Laboratorio IA en Enlace */

.ailab-messenger-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 120px);
  position: relative;
  background: var(--fondo, #f8fafc);
}

.ailab-chat-header {
  background: var(--fondo-tarjeta, #ffffff);
  border-bottom: 1px solid var(--borde, #e2e8f0);
  padding: 4px 8px;
  margin: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.ailab-characters-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 4px;
  margin: 0;
  -webkit-overflow-scrolling: touch;
}

.ailab-char-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--blanco, #ffffff);
  border: 1px solid var(--borde, #e2e8f0);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--texto-800, #334155);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

/* Botón flotante para bajar al último mensaje */
.ailab-scroll-bottom-btn {
  position: absolute;
  bottom: 72px;
  right: 16px;
  z-index: 105;
  background: var(--blanco, #ffffff);
  color: var(--morado-700, #7000ff);
  border: 1px solid var(--borde, #e2e8f0);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.ailab-scroll-bottom-btn.oculto {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.ailab-char-chip:hover, .ailab-char-chip.activo {
  background: var(--morado-600, #7000ff);
  color: #ffffff;
  border-color: var(--morado-600, #7000ff);
  box-shadow: 0 2px 8px rgba(112, 0, 255, 0.2);
}

/* Feed principal de interacción */
.ailab-messages-feed {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  -webkit-overflow-scrolling: touch;
}

.ailab-msg-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
  animation: slideUpFade 0.22s ease-out forwards;
}

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

.ailab-msg-row.me {
  align-items: flex-end;
}

.ailab-msg-row.ot {
  align-items: flex-start;
}

.ailab-msg-bubble {
  position: relative;
  max-width: 88%;
  font-size: 14px;
  line-height: 1.48;
  padding: 10px 14px;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ailab-msg-bubble.me {
  background: linear-gradient(135deg, #7000ff 0%, #9d00ff 100%);
  color: #ffffff;
  border-bottom-right-radius: 2px;
}

.ailab-msg-bubble.ot {
  background: var(--fondo-tarjeta, #ffffff);
  border: 1px solid var(--borde, #e2e8f0);
  color: var(--texto-900, #0f172a);
  border-bottom-left-radius: 2px;
}

.ailab-msg-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 4px;
  margin-left: 2px;
}

.ailab-msg-meta.me {
  color: var(--morado-700, #7000ff);
}

.ailab-msg-meta.ot {
  color: var(--morado-700, #7000ff);
}

.ailab-msg-delete-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 12px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.ailab-msg-delete-btn:hover {
  color: #ef4444;
}

/* Estado dinámico de la IA (Pensando, Buscando, etc.) */
.ailab-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(112,0,255,0.08) 0%, rgba(157,0,255,0.04) 100%);
  border: 1px solid rgba(112,0,255,0.2);
  border-radius: 12px;
  padding: 8px 14px;
  margin: 0 16px 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--morado-700, #6000e6);
}

.ailab-status-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--morado-600, #7000ff);
  margin-right: 6px;
  animation: pulseStatus 1.4s infinite;
}

@keyframes pulseStatus {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  .ailab-status-pulse { animation: none; }
}

/* Tarjeta de Perfil de Persona en Chat */
.ailab-profile-card {
  margin-top: 10px;
  padding: 12px;
  border-radius: 16px;
  background: var(--blanco, #ffffff);
  border: 1px solid var(--borde, #e2e8f0);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.ailab-profile-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.ailab-profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--morado-600, #7000ff);
}

.ailab-profile-info {
  display: flex;
  flex-direction: column;
}

.ailab-profile-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--texto-900, #0f172a);
  display: flex;
  align-items: center;
  gap: 4px;
}

.ailab-profile-username {
  font-size: 0.8rem;
  color: var(--texto-500, #64748b);
}

.ailab-profile-bio {
  font-size: 0.82rem;
  color: var(--texto-700, #334155);
  margin: 6px 0 10px;
  line-height: 1.4;
}

.ailab-profile-actions {
  display: flex;
  gap: 8px;
}

/* Botón Flotante Discreto para Abrir Compositor */
.ailab-fab-container {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 100;
}

.ailab-fab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7000ff 0%, #9d00ff 100%);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(112, 0, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ailab-fab-btn:active {
  transform: scale(0.92);
}

.ailab-fab-btn-icon {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

/* Compositor Desplegable (Bottom Sheet Drawer) */
.ailab-composer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.ailab-composer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.ailab-composer-sheet {
  background: var(--fondo-tarjeta, #ffffff);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 14px 16px 18px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 75vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

.ailab-composer-overlay.open .ailab-composer-sheet {
  transform: translateY(0);
}

.ailab-composer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--borde, #e2e8f0);
  padding-bottom: 8px;
}

.ailab-composer-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--texto-900, #0f172a);
}

.ailab-composer-close {
  background: var(--fondo, #f1f5f9);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--texto-600, #64748b);
}

.ailab-composer-attachments {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  max-height: 90px;
  overflow-y: auto;
}

.ailab-attachment-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--fondo, #f1f5f9);
  border: 1px solid var(--borde, #cbd5e1);
  border-radius: 12px;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.ailab-attachment-chip img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
}

.ailab-attachment-remove {
  background: rgba(0,0,0,0.15);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ailab-composer-textarea {
  width: 100%;
  height: 70px;
  min-height: 50px;
  max-height: 120px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--borde, #cbd5e1);
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--blanco, #ffffff);
  color: var(--texto-900, #0f172a);
  resize: vertical;
  outline: none;
  box-sizing: border-box;
}

.ailab-composer-textarea:focus {
  border-color: var(--morado-600, #7000ff);
  box-shadow: 0 0 0 3px rgba(112, 0, 255, 0.12);
}

.ailab-composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ailab-composer-tools-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fondo, #f1f5f9);
  border: 1px solid var(--borde, #e2e8f0);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--texto-800, #334155);
}

.ailab-card-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.ailab-card-btn {
  background: var(--fondo, #f1f5f9);
  border: 1px solid var(--borde, #e2e8f0);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--morado-700, #7000ff);
  cursor: pointer;
  transition: background 0.15s ease;
}

.ailab-card-btn:hover {
  background: rgba(112, 0, 255, 0.1);
}

/* =========================================================
   ESTILOS DE EXPERIENCIAS MULTIMEDIA Y MOTOR DE EFECTOS
   ========================================================= */

.ailab-experience-container {
  display: flex;
  flex-direction: column;
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  margin: 12px 16px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: #ffffff;
  position: relative;
}

.ailab-experience-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(30, 41, 59, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  font-weight: 700;
  gap: 8px;
  flex-wrap: wrap;
}

.ailab-experience-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ailab-experience-badge.live {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.ailab-experience-badge.scheduled {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.ailab-experience-badge.idle {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.ailab-experience-stage {
  position: relative;
  width: 100%;
  min-height: 220px;
  max-height: 400px;
  background: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ailab-media-player {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: contain;
  display: block;
}

/* Lector Progresivo de Libros y Textos */
.ailab-book-reader {
  width: 100%;
  padding: 24px;
  box-sizing: border-box;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #f8fafc;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.5s ease, color 0.5s ease;
}

.ailab-book-highlight {
  background: rgba(139, 92, 246, 0.25);
  color: #c084fc;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
}

/* Motor de Efectos Overlay */
.ailab-fx-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  transition: all 0.3s ease;
}

.ailab-fx-dim {
  background: rgba(0, 0, 0, 0.7);
}

.ailab-fx-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ailab-fx-vignette {
  background: radial-gradient(circle, transparent 35%, rgba(0, 0, 0, 0.85) 100%);
}

.ailab-fx-flash {
  background: #ffffff;
  animation: fxFlashPulse 0.35s ease-out forwards;
}

@keyframes fxFlashPulse {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

.ailab-fx-shake {
  animation: fxShake 0.45s ease-in-out;
}

@keyframes fxShake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-8px, 6px); }
  40% { transform: translate(8px, -6px); }
  60% { transform: translate(-6px, 8px); }
  80% { transform: translate(6px, -8px); }
}

.ailab-fx-zoom {
  animation: fxZoom 2.5s ease-out forwards;
}

@keyframes fxZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

/* Superposición de Texto Animado */
.ailab-overlay-text {
  position: absolute;
  bottom: 24px;
  left: 16px;
  right: 16px;
  z-index: 30;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.4);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  animation: slideUpFade 0.3s ease-out;
}

/* Superposición de Encuesta / Pregunta Interactiva */
.ailab-overlay-poll {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 40;
  width: 90%;
  max-width: 340px;
  background: rgba(30, 41, 59, 0.95);
  border: 1.5px solid #8b5cf6;
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  pointer-events: auto;
  animation: scaleIn 0.25s ease-out;
}

@keyframes scaleIn {
  from { transform: translate(-50%, -50%) scale(0.85); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.ailab-poll-option {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  text-align: left;
  transition: all 0.15s ease;
}

.ailab-poll-option:hover {
  background: #8b5cf6;
  border-color: #8b5cf6;
}

/* Botones y Controles de la Experiencia */
.ailab-experience-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(30, 41, 59, 0.95);
  gap: 8px;
  flex-wrap: wrap;
}

/* Orientación Horizontal (Landscape) Móvil */
@media (orientation: landscape) and (max-height: 500px) {
  .ailab-experience-stage.fullscreen-landscape {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    z-index: 3000 !important;
    background: #000000 !important;
  }

  .ailab-messages-feed.hidden-landscape {
    display: none !important;
  }
}

/* =========================================================
   ESTILOS ULTRAMODERNOS LINK VIDEO & LIVE HUB
   ========================================================= */
.linkvideo-hub-container {
  padding: 16px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.linkvideo-hero-card {
  position: relative;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 20px;
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.08);
}

.linkvideo-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--morado-700, #7c3aed);
  background: rgba(139, 92, 246, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.live-dot-mini {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-block;
}

.linkvideo-hero-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--texto-900, #0f172a);
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.linkvideo-hero-sub {
  font-size: 13px;
  color: var(--texto-600, #475569);
  margin: 0;
  max-width: 580px;
  line-height: 1.45;
}

.linkvideo-hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.linkvideo-btn-live {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.linkvideo-btn-live:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.4);
}

.linkvideo-btn-refresh {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.linkvideo-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.linkvideo-category-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.linkvideo-pill {
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--blanco, #ffffff);
  border: 1px solid var(--borde, #e2e8f0);
  color: var(--texto-700, #334155);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.linkvideo-pill:hover, .linkvideo-pill.active {
  background: var(--morado-600, #7c3aed);
  color: #ffffff;
  border-color: var(--morado-600, #7c3aed);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.linkvideo-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--blanco, #ffffff);
  border: 1px solid var(--borde, #e2e8f0);
  border-radius: 14px;
  padding: 6px 12px;
  min-width: 240px;
  flex: 1;
  max-width: 320px;
}

.linkvideo-search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 12.5px;
  color: var(--texto-900, #0f172a);
  width: 100%;
}

.linkvideo-section-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--texto-800, #1e293b);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.linkvideo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.linkvideo-card {
  position: relative;
  border-radius: 18px;
  background: var(--blanco, #ffffff);
  border: 1px solid var(--borde, #e2e8f0);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.linkvideo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.3);
}

.linkvideo-card-thumb-wrap {
  position: relative;
  width: 100%;
  height: 150px;
  background: #0f172a;
  overflow: hidden;
}

.linkvideo-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Reproductor de Audio Visualizador con Aurora, Anillos Pulsantes y Fondo Animado */
.audio-visualizer-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #1e1b4b, #311042, #0284c7);
  background-size: 400% 400%;
  animation: auroraGradientBg 12s ease infinite;
}

@keyframes auroraGradientBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.aurora-glow-effect {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.45) 0%, rgba(139, 92, 246, 0.35) 40%, rgba(56, 189, 248, 0) 70%);
  filter: blur(40px);
  animation: auroraPulse 4s ease-in-out infinite alternate;
}

@keyframes auroraPulse {
  0% { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0.95; }
}

.audio-pulse-ring-outer {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(244, 114, 182, 0.6);
  box-shadow: 0 0 35px rgba(236, 72, 153, 0.5), inset 0 0 25px rgba(139, 92, 246, 0.4);
  animation: ringPulseExpand 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes ringPulseExpand {
  0% { box-shadow: 0 0 15px rgba(236, 72, 153, 0.4), inset 0 0 10px rgba(139, 92, 246, 0.3); }
  50% { box-shadow: 0 0 45px rgba(236, 72, 153, 0.8), inset 0 0 35px rgba(56, 189, 248, 0.6); }
  100% { box-shadow: 0 0 15px rgba(236, 72, 153, 0.4), inset 0 0 10px rgba(139, 92, 246, 0.3); }
}

.audio-pulse-wave-expansion {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px solid rgba(168, 85, 247, 0.4);
  animation: waveExpand 2.8s linear infinite;
}

@keyframes waveExpand {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.audio-center-badge {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899, #8b5cf6, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 5;
}

.audio-meta-wrap {
  margin-top: 24px;
  text-align: center;
  z-index: 5;
  color: #ffffff;
  padding: 0 20px;
}

.audio-meta-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.audio-meta-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.linkvideo-card:hover .linkvideo-card-thumb {
  transform: scale(1.05);
}

.linkvideo-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  padding: 4px 9px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.linkvideo-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.linkvideo-card-title {
  font-weight: 800;
  font-size: 15px;
  color: var(--texto-900, #0f172a);
  margin-bottom: 4px;
  line-height: 1.35;
}

.linkvideo-card-desc {
  font-size: 12px;
  color: var(--texto-600, #64748b);
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.linkvideo-card-btn {
  width: 100%;
  border-radius: 12px;
  font-weight: 800;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
}
