/* ==========================================================================
   E-CARD KERIGMA — PRO ANDROID EDITION
   Sistema de Diseño Ultra-Premium Mobile-First
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Paleta Base */
  --bg-main: #07090e;
  --bg-surface: #0f121a;
  --bg-surface-elevated: rgba(23, 27, 38, 0.7);
  --bg-card: rgba(19, 21, 31, 0.75);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);

  /* Acentos de Marca (Ana Kerigma Pink & Purple) */
  --primary: #ec4899;
  --primary-glow: rgba(236, 72, 153, 0.35);
  --secondary: #8b5cf6;
  --secondary-glow: rgba(139, 92, 246, 0.35);
  --accent-fuchsia: #d946ef;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  /* Gradientes de Alta Fidelidad */
  --grad-primary: linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #8b5cf6 100%);
  --grad-hero: linear-gradient(180deg, rgba(7, 9, 14, 0.2) 0%, rgba(7, 9, 14, 0.95) 100%);
  --grad-card: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
  --grad-vcard: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #8b5cf6 100%);
  --grad-action-wa: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  --grad-action-call: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --grad-action-mail: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
  --grad-action-qr: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);

  /* Bordes & Sombras */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(236, 72, 153, 0.3);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(236, 72, 153, 0.25);

  /* Tipografía */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Safe Area / Insets para Android */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ==========================================================================
   Reset y Reglas Globales
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  background-color: var(--bg-main);
  color: #f1f5f9;
  font-family: var(--font-body);
  scroll-behavior: smooth;
  height: 100%;
}

body {
  background-color: var(--bg-main);
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(236, 72, 153, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Scrollbars personalizadas */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

/* ==========================================================================
   Contenedor Principal (Mobile-First 440px)
   ========================================================================== */
.app-container {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  background-color: var(--bg-surface);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  padding-bottom: calc(90px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
}

@media (min-width: 481px) {
  .app-container {
    margin: 20px auto;
    border-radius: 36px;
    border: 1px solid var(--border-subtle);
    min-height: calc(100vh - 40px);
  }
}

/* ==========================================================================
   Hero & Header Section
   ========================================================================== */
.hero-header {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.hero-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-header:hover .hero-cover {
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.1) 0%, rgba(15, 18, 26, 0.8) 70%, var(--bg-surface) 100%);
}

.hero-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.4;
  animation: pulse-slow 6s ease-in-out infinite alternate;
}
.glow-orb-1 { top: -30px; left: -20px; background: var(--primary); }
.glow-orb-2 { top: 20px; right: -30px; background: var(--secondary); animation-delay: -3s; }

/* ==========================================================================
   Perfil & Avatar
   ========================================================================== */
.profile-section {
  position: relative;
  margin-top: -85px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 5;
}

.avatar-container {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  padding: 4px;
  background: var(--grad-primary);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.avatar-container:active {
  transform: scale(0.95);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--bg-surface);
}

.badge-verified {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #10b981;
  border: 3px solid var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.5);
  animation: bounce-subtle 3s ease-in-out infinite;
}

.profile-info {
  margin-top: 14px;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 60%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.profile-tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ==========================================================================
   Barra de Acciones Rápidas (Tropicalización Android)
   ========================================================================== */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 18px 16px 8px;
  width: 100%;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 10px 4px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: #f1f5f9;
  position: relative;
  overflow: hidden;
}

.action-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity 0.2s ease;
}

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

.action-btn:hover::before {
  opacity: 1;
}

.action-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  margin-bottom: 6px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.action-btn:hover .action-icon {
  transform: translateY(-2px);
}

.action-label {
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
  text-align: center;
}

/* Iconos de acciones específicas */
.icon-whatsapp { background: var(--grad-action-wa); }
.icon-call { background: var(--grad-action-call); }
.icon-vcard { background: var(--grad-vcard); box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4); }
.icon-qr { background: var(--grad-action-qr); }
.icon-share { background: var(--grad-action-mail); }

/* ==========================================================================
   Secciones y Tarjetas
   ========================================================================== */
.content-body {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-box {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-box:hover {
  border-color: rgba(236, 72, 153, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.section-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.section-title i {
  color: var(--primary);
  font-size: 14px;
}

.bio-paragraph {
  font-size: 13.5px;
  line-height: 1.6;
  color: #cbd5e1;
}

/* ==========================================================================
   Roles Profesionales
   ========================================================================== */
.roles-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.role-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  color: #e2e8f0;
  transition: all 0.2s ease;
}

.role-pill:hover {
  background: rgba(236, 72, 153, 0.08);
  border-color: rgba(236, 72, 153, 0.2);
  transform: translateX(4px);
}

.role-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   Enlace Destacado (El Gen del Fan)
   ========================================================================== */
.featured-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
  border: 1px solid rgba(236, 72, 153, 0.3);
  border-radius: 20px;
  padding: 14px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.featured-link-card:active {
  transform: scale(0.97);
}

.featured-link-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.featured-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
}

.featured-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.featured-url {
  font-size: 11px;
  color: var(--primary);
  margin-top: 2px;
}

.featured-arrow {
  color: #94a3b8;
  font-size: 14px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.featured-link-card:hover .featured-arrow {
  color: white;
  transform: translateX(4px);
}

/* ==========================================================================
   Video Player Destacado
   ========================================================================== */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.video-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse-slow 1.5s infinite;
}

/* ==========================================================================
   Galería & Eventos (Carrusel Táctil Swipe)
   ========================================================================== */
.gallery-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.gallery-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: var(--grad-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 2px 10px var(--primary-glow);
}

.gallery-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.gallery-scroller::-webkit-scrollbar { display: none; }

.gallery-card {
  flex: 0 0 135px;
  height: 155px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  scroll-snap-align: start;
  border: 1px solid var(--border-subtle);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:active {
  transform: scale(0.95);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 9, 14, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
}

.gallery-card-title {
  font-size: 11px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

.gallery-card-count {
  font-size: 10px;
  color: #cbd5e1;
  margin-top: 2px;
}

/* ==========================================================================
   Redes Sociales
   ========================================================================== */
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.social-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  border-radius: 16px;
  text-decoration: none;
  color: #f1f5f9;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.social-pill:active {
  transform: scale(0.95);
}

.social-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.social-pill i {
  font-size: 18px;
  width: 22px;
  text-align: center;
}

.social-facebook i { color: #1877f2; }
.social-instagram i { color: #e1306c; }
.social-tiktok i { color: #00f2fe; }
.social-radio i { color: #f59e0b; }

/* ==========================================================================
   Barra Inferior Flotante (Sticky VCF & Share)
   ========================================================================== */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 440px;
  padding: 12px 16px calc(14px + var(--safe-bottom));
  background: rgba(15, 18, 26, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 10px;
  z-index: 40;
}

.btn-vcard-primary {
  flex: 1;
  background: var(--grad-vcard);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-vcard-primary:active {
  transform: scale(0.96);
}

.btn-share-secondary {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-share-secondary:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Modales & Visores (QR & Lightbox)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  padding: 28px 22px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-lg);
}

.modal-backdrop.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94a3b8;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.qr-image-wrapper {
  background: white;
  padding: 16px;
  border-radius: 20px;
  display: inline-block;
  margin: 18px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.qr-image-wrapper img {
  width: 200px;
  height: 200px;
  display: block;
}

.btn-download-qr {
  width: 100%;
  background: var(--grad-primary);
  color: white;
  border: none;
  border-radius: 16px;
  padding: 12px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px var(--primary-glow);
}

/* Lightbox Galería */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 14px;
  z-index: 10;
}

.lightbox-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

/* ==========================================================================
   Toast Notification Flotante
   ========================================================================== */
.toast-container {
  position: fixed;
  top: calc(20px + var(--safe-top));
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(16, 185, 129, 0.92);
  backdrop-filter: blur(12px);
  color: white;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  z-index: 150;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.toast-container.show {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Animaciones Keyframes
   ========================================================================== */
@keyframes pulse-slow {
  0% { transform: scale(1); opacity: 0.35; }
  100% { transform: scale(1.15); opacity: 0.6; }
}

@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   App Splash Screen & Zero-FOUC Transition
   ========================================================================== */
.app-splash-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background-color: var(--bg-main, #07090e);
  background-image: 
    radial-gradient(circle at 50% 30%, rgba(236, 72, 153, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.18) 0%, transparent 60%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s ease;
}

.app-splash-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
}

.splash-glass-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(19, 21, 31, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 36px 30px;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(236, 72, 153, 0.25);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  max-width: 320px;
  width: 100%;
}

.splash-logo-container {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
}

.splash-glow-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899, #d946ef, #8b5cf6);
  opacity: 0.85;
  filter: blur(10px);
  animation: splashPulse 2s infinite alternate ease-in-out;
}

.splash-icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(139, 92, 246, 0.3));
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 34px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.splash-app-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 4px;
}

.splash-app-title span {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.splash-app-subtitle {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 24px;
}

.splash-loader-bar {
  width: 140px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.splash-loader-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #06b6d4);
  border-radius: 999px;
  animation: splashShimmer 1.2s infinite ease-in-out;
}

@keyframes splashPulse {
  0% { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.12); opacity: 1; }
}

@keyframes splashShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

