* {
  box-sizing: border-box;
}

body {
  background: radial-gradient(ellipse at top, #1a1a3a 0%, #0a0a1f 60%, #050510 100%);
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 90px 80px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 150px 40px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 200px 120px, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 280px 60px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 340px 150px, rgba(255,255,255,0.5), transparent);
  background-repeat: repeat;
  background-size: 400px 200px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.content-wrap {
  position: relative;
  z-index: 1;
}

.logo-title {
  font-family: 'Orbitron', sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #b8c5e8 50%, #8fa3d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(139, 163, 214, 0.4);
  letter-spacing: 0.02em;
}

.glass-card {
  background: rgba(26, 26, 58, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
}

.neon-border {
  border-image: linear-gradient(90deg, #3b82f6, #a855f7) 1;
}

.badge-rifa {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.badge-compra {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #a855f7);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.scrollbar-thin::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.scrollbar-thin::-webkit-scrollbar-thumb {
  background: rgba(96, 165, 250, 0.4);
  border-radius: 3px;
}

.miniature-photo {
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #0d0d24;
}

.avatar-circle {
  background: linear-gradient(135deg, #3b82f6, #a855f7);
}

/* Loading spinner */
.spinner {
  border: 3px solid rgba(148, 163, 184, 0.2);
  border-top-color: #60a5fa;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Modal */
.modal-overlay {
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(4px);
}
