body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* ===== VARIABLES PROFESIONALES ===== */
:root {
  --primary: #00BCD4;
  --primary-dark: #0097A7;
  --primary-light: #26C6DA;
  --accent: #00E5FF;
  --gold: #F4B400;
  --gold-dark: #D4A000;
  
  --dark: #0A0E27;
  --dark-secondary: #151937;
  --dark-card: #1A1F3A;
  --gray-900: #0F1419;
  --gray-800: #1C2938;
  --gray-700: #2A3F54;
  --gray-600: #495F7A;
  --gray-400: #8A9FB5;
  --gray-200: #E5EAF0;
  --white: #FFFFFF;
  
  --shadow-sm: 0 2px 8px rgba(0, 188, 212, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 188, 212, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 188, 212, 0.2);
  --shadow-xl: 0 12px 48px rgba(0, 188, 212, 0.3);
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #0A0E27 0%, #151937 50%, #1A1F3A 100%);
  background-attachment: fixed;
  color: #FFFFFF;
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.landing-container {
  min-height: 100vh;
  padding-bottom: 4rem;
}

/* ===== HEADER PROFESIONAL ===== */
.landing-header {
  background: rgba(10, 14, 39, 0.98);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 188, 212, 0.2);
  padding: 1rem 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-wrapper {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00BCD4, #0097A7);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 188, 212, 0.3);
}

.header-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}

.header-logo-fallback {
  color: #FFFFFF;
  color: var(--white);
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  color: var(--white);
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

/* ===== SECCIÓN PRINCIPAL ===== */
.plataformas-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.title-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.sparkle-left,
.sparkle-right {
  color: #00BCD4;
  color: var(--primary);
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #FFFFFF;
  color: var(--white);
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.8px;
}

.section-header p {
  font-size: 1rem;
  color: #8A9FB5;
  color: var(--gray-400);
  font-weight: 400;
}

/* ===== LOADING ===== */
.servicios-loading,
.empty-servicios {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(26, 31, 58, 0.6);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(0, 188, 212, 0.1);
}

.spinner {
  animation: spin 1s linear infinite;
  color: #00BCD4;
  color: var(--primary);
  margin-bottom: 1rem;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== GRID RESPONSIVE ===== */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  grid-gap: 1.75rem;
  gap: 1.75rem;
}

@media (max-width: 768px) {
  .servicios-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ===== CARD PROFESIONAL COMPACTA ===== */
.servicio-card {
  background: linear-gradient(145deg, rgba(26, 31, 58, 0.95), rgba(21, 25, 55, 0.95));
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 188, 212, 0.25);
  box-shadow: 0 8px 32px rgba(0, 188, 212, 0.2);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00BCD4, #00E5FF, #00BCD4);
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  opacity: 0;
  transition: opacity 0.3s;
}

.servicio-card:hover {
  transform: translateY(-8px);
  border-color: #00BCD4;
  border-color: var(--primary);
  box-shadow: 0 16px 48px rgba(0, 188, 212, 0.35);
}

.servicio-card:hover::before {
  opacity: 1;
}

/* ===== IMAGEN ===== */
.servicio-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #151937, #1C2938);
  background: linear-gradient(135deg, var(--dark-secondary), var(--gray-800));
}

.servicio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.badge-descuento {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #FF3D00, #DD2C00);
  color: #FFFFFF;
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(255, 61, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.3px;
}

/* ===== CONTENIDO COMPACTO ===== */
.servicio-content {
  padding: 1.5rem;
}

.servicio-nombre {
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.servicio-tipo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 188, 212, 0.12);
  color: #26C6DA;
  color: var(--primary-light);
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(0, 188, 212, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.servicio-descripcion {
  color: #8A9FB5;
  color: var(--gray-400);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* ===== PRECIO COMPACTO Y PROFESIONAL ===== */
.servicio-precio-box {
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 1.25rem;
  border: none;
  position: relative;
}

/* Precio tachado */
.precio-tachado {
  display: inline-block;
  color: #495F7A;
  color: var(--gray-600);
  text-decoration: line-through;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}

/* Contenedor del precio actual - INLINE */
.precio-actual-grande {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

/* Símbolo S/ - Tamaño normal */
.simbolo-moneda {
  font-size: 1.5rem;
  font-weight: 800;
  color: #F4B400;
  color: var(--gold);
  line-height: 1;
}

/* Valor del precio - Tamaño normal y profesional */
.valor-precio {
  font-size: 2.5rem;
  font-weight: 900;
  color: #F4B400;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -1px;
}

/* ===== BOTÓN CTA COMPACTO ===== */
.btn-contactar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 1.75rem;
  background: linear-gradient(135deg, #F4B400, #D4A000);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0A0E27;
  color: var(--dark);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(244, 180, 0, 0.3);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-contactar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent
  );
  transition: left 0.5s;
}

.btn-contactar:hover::before {
  left: 100%;
}

.btn-contactar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(244, 180, 0, 0.5);
  background: linear-gradient(135deg, #FFC107, #F4B400);
  background: linear-gradient(135deg, #FFC107, var(--gold));
}

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

/* ===== RESPONSIVE MÓVIL ===== */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1.875rem;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .servicio-content {
    padding: 1.25rem;
  }
  
  .valor-precio {
    font-size: 2.25rem;
  }
  
  .simbolo-moneda {
    font-size: 1.35rem;
  }
}

@media (max-width: 480px) {
  .plataformas-section {
    padding: 2rem 1rem;
  }
  
  .section-header h2 {
    font-size: 1.625rem;
  }
  
  .servicio-nombre {
    font-size: 1.25rem;
  }
  
  .servicio-content {
    padding: 1.125rem;
  }
  
  .valor-precio {
    font-size: 2rem;
  }
  
  .simbolo-moneda {
    font-size: 1.25rem;
  }
  
  .btn-contactar {
    font-size: 0.875rem;
    padding: 0.9rem 1.5rem;
  }
}

/* ===== RESPONSIVE PC GRANDE ===== */
@media (min-width: 1400px) {
  .servicios-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
/* ===== LOGO SUBTITLE ===== */
.logo-subtitle {
  font-size: 0.75rem;
  color: #8A9FB5;
  color: var(--gray-400);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===== HEADER FEATURES ===== */
.header-features {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 188, 212, 0.1);
  color: #26C6DA;
  color: var(--primary-light);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(0, 188, 212, 0.2);
}

@media (max-width: 768px) {
  .header-features {
    display: none;
  }
}

/* ===== CARACTERÍSTICAS DEL SERVICIO ===== */
.servicio-caracteristicas {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(0, 188, 212, 0.05);
  border-radius: 8px;
  border-left: 3px solid #00BCD4;
  border-left: 3px solid var(--primary);
}

.caracteristica-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #8A9FB5;
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 500;
}

.caracteristica-item svg {
  color: #26C6DA;
  color: var(--primary-light);
  flex-shrink: 0;
}

/* ===== PRECIO MEJORADO CON LABELS ===== */
.precio-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.precio-label,
.precio-label-actual {
  font-size: 0.85rem;
  color: #8A9FB5;
  color: var(--gray-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.precio-actual-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ===== FOOTER DEL SERVICIO ===== */
.servicio-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 188, 212, 0.15);
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #8A9FB5;
  color: var(--gray-400);
  font-size: 0.8rem;
  justify-content: center;
}

.footer-info svg {
  color: #00BCD4;
  color: var(--primary);
}

/* ===== FOOTER PRINCIPAL ===== */
.landing-footer {
  background: rgba(10, 14, 39, 0.95);
  border-top: 1px solid rgba(0, 188, 212, 0.2);
  padding: 3rem 2rem 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: #FFFFFF;
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-section p {
  color: #8A9FB5;
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #26C6DA;
  color: var(--primary-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #00E5FF;
  color: var(--accent);
  gap: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 188, 212, 0.1);
  color: #8A9FB5;
  color: var(--gray-400);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.login-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,<svg width=\"100\" height=\"100\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"50\" cy=\"50\" r=\"2\" fill=\"rgba%28255,255,255,0.1%29\"/></svg>");
  opacity: 0.3;
}

.login-box {
  background: white;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 450px;
  position: relative;
  z-index: 1;
  animation: slideIn 0.5s ease;
}

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

.login-header {
  text-align: center;
  margin-bottom: 35px;
}

.admin-icon {
  font-size: 4rem;
  margin-bottom: 15px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.login-header h2 {
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: 700;
}

.login-header p {
  color: #7f8c8d;
  font-size: 0.95rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: #2c3e50;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.error-message {
  background: #fee;
  color: #c33;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid #c33;
}

.btn-login {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-login:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-login:active:not(:disabled) {
  transform: translateY(0);
}

.btn-login:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.spinner-small {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.login-footer {
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.login-footer a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.login-footer a:hover {
  color: #764ba2;
}

/* Responsive */
@media (max-width: 480px) {
  .login-box {
    padding: 40px 25px;
  }
  
  .login-header h2 {
    font-size: 1.6rem;
  }
  
  .admin-icon {
    font-size: 3rem;
  }
}

/* ===== VARIABLES DEL DASHBOARD ===== */
:root {
  --primary: #00BCD4;
  --primary-dark: #0097A7;
  --primary-light: #26C6DA;
  --accent: #00E5FF;
  
  --success: #10B981;
  --success-light: #34D399;
  --error: #EF4444;
  --error-light: #F87171;
  --warning: #F59E0B;
  --info: #3B82F6;
  
  --dark: #0A0E27;
  --dark-secondary: #151937;
  --dark-card: #1A1F3A;
  --dark-hover: #1F2447;
  
  --gray-900: #0F1419;
  --gray-800: #1C2938;
  --gray-700: #2A3F54;
  --gray-600: #495F7A;
  --gray-500: #6B7D93;
  --gray-400: #8A9FB5;
  --gray-300: #A8B8C8;
  --gray-200: #E5EAF0;
  --gray-100: #F5F7FA;
  --white: #FFFFFF;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

/* ===== SECCIÓN DASHBOARD ===== */
.section-dashboard {
  padding: 2rem;
  min-height: 100vh;
  background: linear-gradient(135deg, #0A0E27 0%, #151937 100%);
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
  color: #FFFFFF;
  color: var(--white);
}

/* ===== LOADING STATE ===== */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 1rem;
}

.loading-state .spinner {
  color: #00BCD4;
  color: var(--primary);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.loading-state p {
  color: #8A9FB5;
  color: var(--gray-400);
  font-size: 1rem;
  font-weight: 500;
}

/* ===== ALERTS ===== */
.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-weight: 500;
  animation: slideInDown 0.3s ease-out;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  box-shadow: var(--shadow-md);
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.15));
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #F87171;
  color: var(--error-light);
}

.alert-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.15));
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
  color: var(--success-light);
}

.alert-close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.alert-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

/* ===== DASHBOARD HEADER ===== */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(0, 188, 212, 0.2);
}

.dashboard-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.dashboard-header p {
  color: #8A9FB5;
  color: var(--gray-400);
  font-size: 0.95rem;
}

/* ===== BOTÓN ADD ===== */
.btn-add-publicidad {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, #00BCD4, #0097A7);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  color: var(--white);
  border: none;
  border-radius: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0, 188, 212, 0.3);
}

.btn-add-publicidad:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 188, 212, 0.5);
  background: linear-gradient(135deg, #26C6DA, #00BCD4);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

/* ===== DASHBOARD STATS ===== */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: linear-gradient(145deg, #1A1F3A, #151937);
  background: linear-gradient(145deg, var(--dark-card), var(--dark-secondary));
  border: 1px solid rgba(0, 188, 212, 0.2);
  border-radius: 16px;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  box-shadow: var(--shadow-md);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: #00BCD4;
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(0, 188, 212, 0.3);
}

.stat-card svg {
  color: #00BCD4;
  color: var(--primary);
  flex-shrink: 0;
}

.stat-card > div {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.875rem;
  color: #8A9FB5;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  color: var(--white);
  line-height: 1;
  margin-top: 0.25rem;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(145deg, #1A1F3A, #151937);
  background: linear-gradient(145deg, var(--dark-card), var(--dark-secondary));
  border: 2px dashed rgba(0, 188, 212, 0.3);
  border-radius: 20px;
  border-radius: var(--radius-xl);
  margin-top: 2rem;
}

.empty-state svg {
  color: #495F7A;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.empty-state h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: #8A9FB5;
  color: var(--gray-400);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.btn-empty-add {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, #00BCD4, #0097A7);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  color: var(--white);
  border: none;
  border-radius: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0, 188, 212, 0.3);
}

.btn-empty-add:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 188, 212, 0.5);
}

/* ===== GRID DE PUBLICIDADES ===== */
.publicidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-gap: 1.75rem;
  gap: 1.75rem;
}

/* ===== CARD DE PUBLICIDAD ===== */
.publicidad-card {
  background: linear-gradient(145deg, #1A1F3A, #151937);
  background: linear-gradient(145deg, var(--dark-card), var(--dark-secondary));
  border: 1px solid rgba(0, 188, 212, 0.2);
  border-radius: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  box-shadow: var(--shadow-md);
  position: relative;
}

.publicidad-card:hover {
  transform: translateY(-6px);
  border-color: #00BCD4;
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(0, 188, 212, 0.3);
}

.publicidad-card.inactiva {
  opacity: 0.6;
  filter: grayscale(0.5);
}

/* IMAGEN DE LA PUBLICIDAD */
.publicidad-image {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #151937;
  background: var(--dark-secondary);
}

.publicidad-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

/* BADGES EN LA IMAGEN */
.publicidad-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
}

.publicidad-badge.activa {
  background: #10B981;
  background: var(--success);
  color: #FFFFFF;
  color: var(--white);
}

.publicidad-badge.inactiva {
  background: #495F7A;
  background: var(--gray-600);
  color: #E5EAF0;
  color: var(--gray-200);
}

.publicidad-precio-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  font-size: 1.125rem;
  font-weight: 800;
  color: #26C6DA;
  color: var(--primary-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  box-shadow: var(--shadow-md);
}

.publicidad-descuento-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.4rem 0.75rem;
  background: linear-gradient(135deg, #EF4444, #DC2626);
  background: linear-gradient(135deg, var(--error), #DC2626);
  color: #FFFFFF;
  color: var(--white);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* CONTENIDO DE LA PUBLICIDAD */
.publicidad-content {
  padding: 1.25rem;
}

.publicidad-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.publicidad-tipo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 188, 212, 0.12);
  color: #26C6DA;
  color: var(--primary-light);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(0, 188, 212, 0.25);
}

.publicidad-descripcion {
  color: #8A9FB5;
  color: var(--gray-400);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* PRECIOS */
.publicidad-precios {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(0, 188, 212, 0.08);
  border-radius: 8px;
  border-radius: var(--radius-sm);
  border-left: 3px solid #00BCD4;
  border-left: 3px solid var(--primary);
}

.precio-original {
  text-decoration: line-through;
  color: #6B7D93;
  color: var(--gray-500);
  font-size: 0.95rem;
  font-weight: 500;
}

.precio-actual {
  font-size: 1.5rem;
  font-weight: 800;
  color: #26C6DA;
  color: var(--primary-light);
}

/* CTA BUTTON */
.publicidad-cta {
  margin-bottom: 1rem;
}

.btn-adquirir {
  display: block;
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, #00BCD4, #0097A7);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  color: var(--white);
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

.btn-adquirir:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.5);
  background: linear-gradient(135deg, #26C6DA, #00BCD4);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-adquirir.disabled {
  background: #495F7A;
  background: var(--gray-600);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-adquirir.disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ACCIONES ADMIN */
.publicidad-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(0, 188, 212, 0.1);
}

.btn-toggle,
.btn-action {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem;
  border: none;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
  font-size: 0.875rem;
}

.btn-toggle {
  background: #2A3F54;
  background: var(--gray-700);
  color: #FFFFFF;
  color: var(--white);
}

.btn-toggle.activa {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  color: var(--success-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-toggle.inactiva {
  background: rgba(107, 125, 147, 0.2);
  color: #8A9FB5;
  color: var(--gray-400);
  border: 1px solid rgba(107, 125, 147, 0.3);
}

.btn-toggle:hover {
  transform: scale(1.05);
}

.btn-edit {
  background: rgba(59, 130, 246, 0.2);
  color: #3B82F6;
  color: var(--info);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-edit:hover {
  background: rgba(59, 130, 246, 0.3);
  transform: scale(1.05);
}

.btn-delete {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  color: var(--error-light);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-delete:hover {
  background: rgba(239, 68, 68, 0.3);
  transform: scale(1.05);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  animation: fadeIn 0.3s;
}

.modal-content {
  background: linear-gradient(145deg, #1A1F3A, #151937);
  background: linear-gradient(145deg, var(--dark-card), var(--dark-secondary));
  border: 1px solid rgba(0, 188, 212, 0.3);
  border-radius: 20px;
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideInUp 0.3s;
}

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

.modal-large {
  max-width: 700px;
}

/* MODAL HEADER */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid rgba(0, 188, 212, 0.2);
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.modal-subtitle {
  font-size: 0.875rem;
  color: #8A9FB5;
  color: var(--gray-400);
  font-weight: 400;
}

.modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  border-radius: var(--radius-sm);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  color: var(--error-light);
  transform: scale(1.1);
}

/* MODAL FORM */
.modal-form {
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #A8B8C8;
  color: var(--gray-300);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon svg {
  position: absolute;
  left: 1rem;
  color: #6B7D93;
  color: var(--gray-500);
  pointer-events: none;
}

.input-icon input,
.input-icon select {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 188, 212, 0.2);
  border-radius: 12px;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  color: var(--white);
  font-size: 0.95rem;
  transition: all 0.3s;
}

.input-icon input:focus,
.input-icon select:focus {
  outline: none;
  border-color: #00BCD4;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.textarea-field {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 188, 212, 0.2);
  border-radius: 12px;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  color: var(--white);
  font-size: 0.95rem;
  resize: vertical;
  font-family: inherit;
  transition: all 0.3s;
}

.textarea-field:focus {
  outline: none;
  border-color: #00BCD4;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.select-field {
  -webkit-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%2300BCD4%27 stroke-width=%272%27%3E%3Cpath d=%27M6 9l6 6 6-6%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

/* CHECKBOX */
.form-group-checkbox,
.form-group-checkbox-inline {
  margin-bottom: 1.25rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  color: #A8B8C8;
  color: var(--gray-300);
  font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: #00BCD4;
  accent-color: var(--primary);
  cursor: pointer;
}

/* IMAGE PREVIEW */
.image-preview {
  margin-top: 1rem;
  border-radius: 12px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(0, 188, 212, 0.2);
  max-height: 200px;
}

.image-preview img {
  width: 100%;
  height: auto;
  display: block;
}

/* SUBMIT BUTTON */
.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #00BCD4, #0097A7);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  color: var(--white);
  border: none;
  border-radius: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0, 188, 212, 0.3);
  margin-top: 1.5rem;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 188, 212, 0.5);
  background: linear-gradient(135deg, #26C6DA, #00BCD4);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-submit .spinner {
  animation: spin 1s linear infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-dashboard {
    padding: 1.5rem 1rem;
  }

  .dashboard-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .dashboard-header h2 {
    font-size: 1.5rem;
  }

  .btn-add-publicidad {
    width: 100%;
    justify-content: center;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .publicidades-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-content {
    max-width: 100%;
    margin: 1rem;
  }

  .modal-header,
  .modal-form {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .dashboard-header h2 {
    font-size: 1.375rem;
  }

  .stat-value {
    font-size: 1.75rem;
  }

  .publicidad-content h3 {
    font-size: 1.125rem;
  }

  .precio-actual {
    font-size: 1.25rem;
  }
}

/* ===== SCROLLBAR PERSONALIZADO ===== */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: #151937;
  background: var(--dark-secondary);
}

.modal-content::-webkit-scrollbar-thumb {
  background: #00BCD4;
  background: var(--primary);
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #26C6DA;
  background: var(--primary-light);
}

/* ===== PANTALLA DE CARGA PROFESIONAL ===== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #0F1936 0%, #1A2744 50%, #0F1936 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.6s ease-in;
  overflow: hidden;
}

/* Partículas decorativas de fondo */
.loading-screen::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  left: -100px;
  animation: float 6s ease-in-out infinite;
}

.loading-screen::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -150px;
  right: -150px;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 30px); }
}

.loading-content {
  text-align: center;
  animation: slideUp 0.8s ease-out;
  position: relative;
  z-index: 1;
}

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

/* ===== LOGO MUY GRANDE ===== */
.loading-logo {
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.logo-circle {
  width: 280px;
  height: 280px;
  position: relative;
  margin: 0 auto;
}

/* Anillos de pulso múltiples */
.logo-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  border: 3px solid rgba(0, 188, 212, 0.4);
  animation: pulseRing 2.5s ease-out infinite;
}

.logo-pulse::before,
.logo-pulse::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.3);
}

.logo-pulse::before {
  width: 110%;
  height: 110%;
  animation: pulseRing 2.5s ease-out infinite 0.5s;
}

.logo-pulse::after {
  width: 120%;
  height: 120%;
  animation: pulseRing 2.5s ease-out infinite 1s;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

/* Contenedor principal del logo */
.logo-icon-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 0 0 8px rgba(0, 188, 212, 0.1),
    0 0 0 16px rgba(0, 188, 212, 0.05),
    0 20px 60px rgba(0, 188, 212, 0.4),
    0 0 100px rgba(0, 229, 255, 0.3),
    inset 0 2px 20px rgba(255, 255, 255, 0.2);
  animation: floatLogo 4s ease-in-out infinite;
  padding: 12px;
  border: 4px solid rgba(255, 255, 255, 0.1);
}

@keyframes floatLogo {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0px) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-15px) scale(1.02);
  }
}

/* Imagen del logo - GRANDE */
.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  animation: breathe 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

/* Logo fallback si no carga */
.logo-fallback {
  color: white;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== TEXTO DE BIENVENIDA ===== */
.loading-text {
  margin-bottom: 3rem;
}

.loading-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: #8A9FB5;
  margin-bottom: 0.75rem;
  animation: fadeInText 1s ease-in 0.4s both;
  letter-spacing: 1px;
}

.loading-brand {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #00BCD4 0%, #26C6DA 50%, #00E5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  margin-bottom: 0.75rem;
  letter-spacing: -1.5px;
  animation: 
    fadeInText 1s ease-in 0.6s both,
    gradientShift 3s ease-in-out infinite,
    textGlow 2s ease-in-out infinite alternate;
  text-shadow: 0 4px 20px rgba(0, 188, 212, 0.3);
}

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

@keyframes textGlow {
  from {
    filter: drop-shadow(0 0 15px rgba(0, 188, 212, 0.5));
  }
  to {
    filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.8));
  }
}

.loading-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: #26C6DA;
  text-transform: uppercase;
  letter-spacing: 4px;
  animation: fadeInText 1s ease-in 0.8s both;
  text-shadow: 0 2px 10px rgba(0, 188, 212, 0.4);
}

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

/* ===== BARRA DE PROGRESO ===== */
.loading-progress {
  margin-bottom: 2.5rem;
  animation: fadeInText 1s ease-in 1s both;
}

.progress-bar {
  width: 380px;
  height: 6px;
  background: rgba(0, 188, 212, 0.12);
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  position: relative;
  box-shadow: 
    inset 0 2px 8px rgba(0, 0, 0, 0.3),
    0 2px 4px rgba(0, 188, 212, 0.1);
  border: 1px solid rgba(0, 188, 212, 0.2);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, 
    #00BCD4 0%, 
    #00E5FF 25%, 
    #26C6DA 50%, 
    #00E5FF 75%, 
    #00BCD4 100%
  );
  background-size: 200% 100%;
  border-radius: 12px;
  animation: progressMove 2.5s ease-in-out infinite;
  box-shadow: 
    0 0 20px rgba(0, 229, 255, 0.7),
    0 0 40px rgba(0, 188, 212, 0.4);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.3) 50%, 
    transparent 100%
  );
  animation: shimmer 1.5s infinite;
}

@keyframes progressMove {
  0% {
    width: 0%;
    background-position: 0% 50%;
  }
  50% {
    width: 75%;
    background-position: 100% 50%;
  }
  100% {
    width: 100%;
    background-position: 200% 50%;
  }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.loading-status {
  font-size: 1rem;
  color: #8A9FB5;
  font-weight: 500;
  letter-spacing: 0.8px;
}

/* ===== PUNTOS ANIMADOS ===== */
.loading-dots {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00BCD4, #00E5FF);
  box-shadow: 
    0 0 20px rgba(0, 188, 212, 0.7),
    0 0 40px rgba(0, 229, 255, 0.4);
  animation: dotBounce 1.5s ease-in-out infinite;
}

.dot:nth-child(1) {
  animation-delay: 0s;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotBounce {
  0%, 80%, 100% {
    transform: scale(0.7) translateY(0);
    opacity: 0.4;
  }
  40% {
    transform: scale(1.4) translateY(-12px);
    opacity: 1;
    box-shadow: 
      0 0 30px rgba(0, 188, 212, 1),
      0 0 60px rgba(0, 229, 255, 0.6);
  }
}

/* ===== RESPONSIVE - MÓVIL ===== */
@media (max-width: 768px) {
  .logo-circle {
    width: 240px;
    height: 240px;
  }

  .logo-icon-wrapper {
    width: 220px;
    height: 220px;
  }

  .loading-title {
    font-size: 1.25rem;
  }

  .loading-brand {
    font-size: 2.75rem;
  }

  .loading-subtitle {
    font-size: 1.1rem;
    letter-spacing: 3px;
  }

  .progress-bar {
    width: 300px;
  }
}

@media (max-width: 480px) {
  .logo-circle {
    width: 200px;
    height: 200px;
  }

  .logo-icon-wrapper {
    width: 180px;
    height: 180px;
    padding: 10px;
  }

  .loading-title {
    font-size: 1.1rem;
  }

  .loading-brand {
    font-size: 2.25rem;
    letter-spacing: -1px;
  }

  .loading-subtitle {
    font-size: 0.95rem;
    letter-spacing: 2px;
  }

  .progress-bar {
    width: 260px;
    height: 5px;
  }

  .dot {
    width: 12px;
    height: 12px;
  }
}

/* ===== PC GRANDE ===== */
@media (min-width: 1200px) {
  .logo-circle {
    width: 320px;
    height: 320px;
  }

  .logo-icon-wrapper {
    width: 300px;
    height: 300px;
  }

  .loading-brand {
    font-size: 4rem;
  }

  .progress-bar {
    width: 420px;
  }
}

