:root {
  --bg: linear-gradient(135deg, #111827, #0f172a, #0b1021);
  --card: rgba(255, 255, 255, 0.06);
  --accent: #7c3aed;
  --accent-2: #22d3ee;
  --text: #e5e7eb;
  --muted: #9ca3af;
}

body {
  min-height: 100vh;
  background-image: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--accent-2); }

.navbar-brand { font-weight: 800; letter-spacing: 0.03em; }

.glass {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.section-title {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f8fafc;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  color: #0b1021;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.35);
}

.badge-soft {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-zoom {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-zoom:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

.lightbox-backdrop img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
}

.avatar-picker button {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 22px;
  transition: transform 0.1s ease, background 0.2s ease;
}

.avatar-picker button.active {
  background: linear-gradient(135deg, #22d3ee, #7c3aed);
  color: #0b1021;
  transform: translateY(-2px);
}

.table-dark-glass {
  --bs-table-bg: rgba(255, 255, 255, 0.04);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
}

.orphan-card {
  cursor: pointer;
  overflow: hidden;
}
.orphan-img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 14px 14px 0 0;
}
.matched-out {
  animation: fadeSlide 0.35s ease forwards;
}
@keyframes fadeSlide {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(10px); }
}

@media (max-width: 767px) {
  .navbar-brand { font-size: 18px; }
  .glass { padding: 16px !important; }
}
