/* ═══════════════════════════════════════════════════════
   ASTRA AI — Astrologer Discovery System
   Cards · Carousel · Modal · Directory
   ═══════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --disc-bg: #0D1117;
  --disc-card-bg: #131924;
  --disc-card-border: rgba(255,255,255,0.07);
  --disc-accent: #7C3AED;
  --disc-indigo: #4F46E5;
  --disc-teal: #0D9488;
  --disc-gold: #F59E0B;
  --disc-pink: #EC4899;
  --disc-silver: #94A3B8;
  --disc-text: #F1F5F9;
  --disc-muted: #64748B;
  --disc-subtle: #334155;
}

/* ════════════════════════════════════════
   SECTION WRAPPER
   ════════════════════════════════════════ */
.disc-section {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  background: var(--disc-bg);
}

.disc-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124,58,237,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(79,70,229,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.disc-section-header {
  text-align: center;
  padding: 0 24px 48px;
  position: relative;
  z-index: 1;
}

.disc-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--disc-gold);
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

.disc-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--disc-text);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.disc-section-subtitle {
  font-size: 15px;
  color: var(--disc-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ════════════════════════════════════════
   ASTROLOGER CARD — Core Design
   ════════════════════════════════════════ */
.astro-card {
  position: relative;
  width: 290px;
  min-width: 290px;
  height: 520px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 2px 0px rgba(255,255,255,0.06) inset,
    0 24px 60px rgba(0,0,0,0.7),
    0 4px 16px rgba(0,0,0,0.4);
  background: #0f1623;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-select: none;
}

.astro-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(124,58,237,0.4), 0 0 30px rgba(124,58,237,0.15);
  border-color: rgba(124,58,237,0.4);
}

.astro-card.mini {
  width: 200px;
  min-width: 200px;
  height: 358px;
  border-radius: 18px;
}

/* Background stack layers */
.astro-card .layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.astro-card .layer.l3 {
  height: 52%;
  top: 6%;
  object-fit: contain;
  object-position: center top;
}

.astro-card .overlay {
  position: absolute;
  z-index: 10;
}

/* Info button */
.astro-card .info-btn,
.astro-card-info-btn {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 20;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.28);
  background: rgba(10,18,26,0.45);
  color: rgba(210,225,240,0.65);
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  font-family: Georgia, serif;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}

.astro-card .info-btn:hover,
.astro-card-info-btn:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* Badge */
.astro-card-badge {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 4px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.4);
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.astro-card-badge.top-rated {
  background: linear-gradient(180deg, #c2c8d2 0%, #9ba2ac 50%, #b0b8c2 100%);
  color: #16202a;
}

.astro-card-badge.premium {
  background: linear-gradient(180deg, #ffd700 0%, #daa520 50%, #ffd700 100%);
  color: #16202a;
  border-color: rgba(255,215,0,0.6);
}

.astro-card-badge.popular {
  background: linear-gradient(180deg, #ec4899 0%, #db2777 50%, #f472b6 100%);
  color: #fff;
  border-color: rgba(236,72,153,0.6);
}

/* ── Card Body / Text Block ── */
.astro-card .text-block {
  position: absolute;
  top: 53%;
  left: 0; right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 18px;
}

.astro-card.mini .text-block {
  top: 53%;
  padding: 0 12px;
}

/* scoped availability badge inside card */
.astro-card .astro-avail {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 20;
  background: rgba(10, 18, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 20px;
}

.astro-card .guru-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #e6eef5;
  text-align: center;
  letter-spacing: -0.4px;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.astro-card.mini .guru-name {
  font-size: 14px;
}

.astro-card .guru-spec {
  font-size: 11px;
  font-weight: 400;
  color: rgba(162,185,205,0.78);
  text-align: center;
  margin-top: 3px;
  letter-spacing: 0.1px;
}

.astro-card.mini .guru-spec {
  font-size: 10px;
}

/* Stats row */
.astro-card .stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}

.astro-card.mini .stats-row {
  margin-top: 6px;
  gap: 8px;
}

.astro-card .stat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #c5d8ea;
}

.astro-card.mini .stat {
  font-size: 10px;
}

.astro-card .star {
  color: #c8881c;
  font-size: 16px;
}

.astro-card .sep {
  width: 1.5px;
  height: 15px;
  background: rgba(255,255,255,0.2);
  border-radius: 1px;
}

/* Skill tiles row */
.astro-card .skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}

.astro-card.mini .skills {
  display: none;
}

.astro-card .tile {
  background: rgba(8,14,20,0.52);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 13px;
  padding: 6px 3px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
  backdrop-filter: blur(4px);
  min-width: 0;
}

.astro-card .tile:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.astro-card .tile-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
}

.astro-card .tile-label {
  font-size: 9px;
  font-weight: 500;
  color: rgba(165,192,215,0.8);
  text-align: center;
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
}

/* CTA button */
.astro-card .chat-btn,
.astro-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  border-radius: 12px;
  background: rgba(50, 75, 88, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(188, 215, 230, 0.82);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.astro-card .chat-btn::before,
.astro-card-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.astro-card .chat-btn:hover,
.astro-card-cta:hover {
  background: rgba(13, 140, 128, 0.38);
  border-color: rgba(20, 190, 170, 0.42);
  color: #90f5e5;
  box-shadow: 0 0 20px rgba(13, 140, 128, 0.2);
}

.astro-card .chat-btn.paid,
.astro-card-cta.paid {
  background: rgba(50, 75, 88, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(188, 215, 230, 0.82);
}

.astro-card .chat-btn.paid:hover,
.astro-card-cta.paid:hover {
  background: rgba(124, 58, 237, 0.35);
  border-color: rgba(124, 58, 237, 0.6);
  color: #fff;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

/* Availability dot */
.astro-avail {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  justify-content: center;
}

.astro-avail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.astro-avail.available .astro-avail-dot {
  background: #10B981;
  box-shadow: 0 0 6px rgba(16,185,129,0.8);
  animation: dotPulse 2s ease-in-out infinite;
}

.astro-avail.busy .astro-avail-dot {
  background: #F59E0B;
  box-shadow: 0 0 6px rgba(245,158,11,0.6);
}

.astro-avail.offline .astro-avail-dot {
  background: #475569;
}

.astro-avail.available { color: #34D399; }
.astro-avail.busy { color: #FCD34D; }
.astro-avail.offline { color: #64748B; }

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 6px rgba(16,185,129,0.8); }
  50% { box-shadow: 0 0 12px rgba(16,185,129,1), 0 0 20px rgba(16,185,129,0.4); }
}

/* ════════════════════════════════════════
   CAROUSEL
   ════════════════════════════════════════ */
.disc-carousel-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 12px 0 20px;
  /* Fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.disc-carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
  padding: 8px 40px;
  animation: carouselScroll 95s linear infinite;
}

.disc-carousel-track.paused {
  animation-play-state: paused;
}

@keyframes carouselScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(var(--carousel-offset, -50%)); }
}

/* Show All button */
.disc-show-all-wrap {
  display: flex;
  justify-content: center;
  padding: 32px 0 8px;
  position: relative;
  z-index: 1;
}

.disc-show-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: linear-gradient(135deg, #7C3AED, #4F46E5);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(124,58,237,0.4), 0 0 0 1px rgba(124,58,237,0.3);
  transition: all 0.25s ease;
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
}

.disc-show-all-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.disc-show-all-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 48px rgba(124,58,237,0.5), 0 0 0 1px rgba(124,58,237,0.5);
}

.disc-show-all-btn:hover::before {
  opacity: 1;
}

.disc-show-all-btn svg {
  transition: transform 0.2s;
}

.disc-show-all-btn:hover svg {
  transform: translateX(4px);
}

/* ════════════════════════════════════════
   DETAIL MODAL
   ════════════════════════════════════════ */
.disc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  padding: 20px;
}

.disc-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.disc-modal {
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  background: linear-gradient(145deg, #141d2e, #0f1623);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(124,58,237,0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.93) translateY(16px);
  transition: transform 0.22s cubic-bezier(0.22, 0.72, 0, 1);
}

.disc-modal-overlay.active .disc-modal {
  transform: scale(1) translateY(0);
}

/* Modal header close */
.disc-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.disc-modal-close:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

/* Main content */
.disc-modal-content {
  display: flex;
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* Left panel */
.disc-modal-left {
  width: 38%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.disc-modal-left .modal-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.disc-modal-left .modal-layer.ml1 { z-index: 1; }
.disc-modal-left .modal-layer.ml2 { z-index: 2; }
.disc-modal-left .modal-layer.ml3 {
  z-index: 3;
  height: 90%;
  top: 10%;
  object-fit: contain;
  object-position: center bottom;
}

.disc-modal-left-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, #141d2e 100%);
  pointer-events: none;
  z-index: 4;
}

.disc-modal-left-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid;
  z-index: 5;
}

/* Right panel */
.disc-modal-right {
  flex: 1;
  overflow-y: auto;
  padding: 32px 28px 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(124,58,237,0.3) transparent;
}

.disc-modal-right::-webkit-scrollbar {
  width: 4px;
}

.disc-modal-right::-webkit-scrollbar-thumb {
  background: rgba(124,58,237,0.3);
  border-radius: 999px;
}

.disc-modal-name {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--disc-text);
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.disc-modal-specialty {
  font-size: 13px;
  color: var(--disc-muted);
  margin: 0 0 16px;
}

.disc-modal-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.disc-modal-meta .stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.disc-modal-meta .stat-rating { color: var(--disc-gold); }
.disc-modal-meta .stat-users { color: var(--disc-muted); }

.disc-modal-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 16px 0;
}

.disc-modal-bio {
  font-size: 13px;
  color: var(--disc-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Skill tags */
.disc-modal-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.disc-modal-skill-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #A78BFA;
}

/* Pricing */
.disc-modal-pricing {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  margin-bottom: 20px;
}

.disc-modal-pricing .price-label {
  font-size: 11px;
  color: var(--disc-muted);
  font-weight: 500;
}

.disc-modal-pricing .price-value {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--disc-text);
}

.disc-modal-pricing .price-free {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #34D399;
}

.disc-modal-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  background: rgba(50, 75, 88, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(188, 215, 230, 0.82);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.disc-modal-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.disc-modal-cta-btn:hover {
  background: rgba(13, 140, 128, 0.38);
  border-color: rgba(20, 190, 170, 0.42);
  color: #90f5e5;
  box-shadow: 0 0 20px rgba(13, 140, 128, 0.2);
}

.disc-modal-cta-btn.paid {
  background: rgba(50, 75, 88, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(188, 215, 230, 0.82);
}

.disc-modal-cta-btn.paid:hover {
  background: rgba(124, 58, 237, 0.35);
  border-color: rgba(124, 58, 237, 0.6);
  color: #fff;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

/* CTAs */
.disc-modal-ctas {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
}

.disc-modal-cta-primary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  background: linear-gradient(135deg, #7C3AED, #4F46E5);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}

.disc-modal-cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(124,58,237,0.5);
}

.disc-modal-cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 20px;
  background: transparent;
  color: var(--disc-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.disc-modal-cta-secondary:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--disc-text);
  background: rgba(255,255,255,0.04);
}

/* Recommended row */
.disc-modal-recommended {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.disc-modal-rec-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--disc-muted);
  margin-bottom: 12px;
}

.disc-modal-rec-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.disc-modal-rec-row::-webkit-scrollbar { display: none; }

/* ════════════════════════════════════════
   DIRECTORY PAGE
   ════════════════════════════════════════ */
.disc-directory {
  min-height: 100vh;
  background: var(--disc-bg);
  padding: 100px 0 80px;
}

.disc-directory-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Directory header */
.disc-directory-header {
  margin-bottom: 36px;
}

.disc-directory-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--disc-text);
  margin: 0 0 6px;
}

.disc-directory-subtitle {
  font-size: 14px;
  color: var(--disc-muted);
  margin: 0 0 24px;
}

/* Search bar */
.disc-search-bar {
  position: relative;
  max-width: 480px;
  margin-bottom: 20px;
}

.disc-search-input {
  width: 100%;
  padding: 13px 48px 13px 44px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--disc-text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.disc-search-input::placeholder { color: var(--disc-muted); }

.disc-search-input:focus {
  border-color: rgba(124,58,237,0.5);
  background: rgba(124,58,237,0.06);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}

.disc-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--disc-muted);
  font-size: 15px;
  pointer-events: none;
}

.disc-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--disc-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  display: none;
  transition: color 0.2s;
}

.disc-search-clear:hover { color: var(--disc-text); }
.disc-search-clear.visible { display: block; }

/* Filter pills */
.disc-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.disc-filter-pill {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--disc-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.disc-filter-pill:hover {
  border-color: rgba(124,58,237,0.4);
  color: var(--disc-text);
  background: rgba(124,58,237,0.08);
}

.disc-filter-pill.active {
  background: rgba(124,58,237,0.2);
  border-color: rgba(124,58,237,0.5);
  color: #A78BFA;
}

/* Sort + results row */
.disc-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.disc-results-count {
  font-size: 13px;
  color: var(--disc-muted);
}

.disc-results-count strong {
  color: var(--disc-text);
  font-weight: 700;
}

.disc-sort-select {
  padding: 8px 32px 8px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--disc-text);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: all 0.2s;
}

.disc-sort-select:focus {
  border-color: rgba(124,58,237,0.5);
}

/* Grid */
.disc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) { .disc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .disc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .disc-grid { grid-template-columns: 1fr; } }

.disc-grid .astro-card {
  width: 100%;
  min-width: 0;
}

/* Empty state */
.disc-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--disc-muted);
}

.disc-empty-icon { font-size: 48px; margin-bottom: 16px; }
.disc-empty-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--disc-text);
  margin-bottom: 8px;
}
.disc-empty-text { font-size: 14px; }

/* Skeleton loader */
.astro-card-skeleton {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
}

.skeleton-block {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.04) 0%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 768px) {
  .disc-modal-content {
    flex-direction: column;
  }

  .disc-modal-left {
    width: 100%;
    height: 220px;
    flex-shrink: 0;
  }

  .disc-modal-left-gradient {
    background: linear-gradient(to bottom, transparent 50%, #141d2e 100%);
  }

  .disc-modal-right {
    padding: 20px;
  }

  .disc-modal-name {
    font-size: 20px;
  }

  .disc-modal-ctas {
    flex-direction: column;
  }

  .disc-show-all-btn {
    padding: 13px 28px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .disc-directory {
    padding: 80px 0 60px;
  }

  .disc-filters {
    gap: 6px;
  }

  .disc-filter-pill {
    font-size: 11px;
    padding: 6px 12px;
  }
}

/* ── Skeleton Shimmer Animation CSS ── */
.astro-card.skeleton {
  background: #0d121d !important;
  border: 1px solid rgba(255, 255, 255, 0.03) !important;
  box-shadow: none !important;
  cursor: default !important;
}

.astro-card.skeleton .skeleton-image-placeholder {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 48%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
}

.skeleton-shimmer {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04) !important;
}

.skeleton-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 100%
  );
  animation: shimmerSweep 1.5s infinite;
}

@keyframes shimmerSweep {
  0% { left: -150%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

.skeleton-text {
  border-radius: 4px;
}

.skeleton-tile {
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.03) !important;
}

.skeleton-btn {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.02) !important;
}

