/* ═══════════════════════════════════════════════════════════
   ALLO MEDIUM — Design System v2.0
   Premium Voyance Platform
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #0a0118; --bg2: #110225; --bg3: #1a0533;
  --violet: #7c3aed; --violet-light: #a855f7; --violet-dark: #5b21b6;
  --gold: #f59e0b; --gold-light: #fcd34d;
  --white: #ffffff; --gray-400: #9ca3af; --gray-600: #4b5563;
  --green: #10b981; --orange: #f97316; --red: #ef4444;
  --card-bg: rgba(255,255,255,0.04); --card-border: rgba(255,255,255,0.08);
  --radius: 12px; --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #0a0118; scroll-behavior: smooth; }
body {
  background: #0a0118; color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6; min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* TYPOGRAPHY */
h1 { font-size: clamp(2rem,5vw,3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.1rem,2vw,1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
.text-gold { color: #f59e0b; } .text-violet { color: #a855f7; }
.text-gray { color: #9ca3af; } .text-green { color: #10b981; }
.text-red { color: #ef4444; } .text-center { text-align: center; }
.font-bold { font-weight: 700; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition); white-space: nowrap; cursor: pointer;
  border: 2px solid transparent; text-decoration: none;
}
.btn-violet { background: linear-gradient(135deg,#7c3aed,#a855f7); color: #fff; box-shadow: 0 4px 15px rgba(124,58,237,0.4); }
.btn-violet:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(124,58,237,0.5); }
.btn-gold { background: linear-gradient(135deg,#f59e0b,#fcd34d); color: #0a0118; font-weight: 700; box-shadow: 0 4px 15px rgba(245,158,11,0.4); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(245,158,11,0.5); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { border-color: #a855f7; color: #a855f7; }
.btn-outline-violet { background: transparent; color: #a855f7; border: 2px solid #7c3aed; }
.btn-outline-violet:hover { background: #7c3aed; color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; border-radius: 8px; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: 12px; }
.btn-full { width: 100%; justify-content: center; }
.btn-danger { background: rgba(239,68,68,0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.btn-danger:hover { background: rgba(239,68,68,0.25); }

/* HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,1,24,0.93);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06); height: 68px;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.3rem; }
.logo-star { color: #f59e0b; } .logo-text { color: #fff; } .logo-accent { color: #a855f7; }
.nav-main { display: flex; align-items: center; gap: 2px; }
.nav-link { padding: 8px 12px; border-radius: 8px; font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.72); transition: all var(--transition); }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,0.08); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-auth-link { font-size: 0.88rem; color: rgba(255,255,255,0.72); padding: 8px 12px; border-radius: 8px; transition: all var(--transition); }
.nav-auth-link:hover { color: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamburger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all var(--transition); display: block; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 68px;
  background: radial-gradient(ellipse at 50% 0%, #2d1b69 0%, #0a0118 65%);
}
.stars-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.stars-bg::before, .stars-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.85) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 10%, rgba(255,255,255,0.65) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(255,255,255,0.9) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 50%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 60% 20%, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 50%, rgba(255,255,255,0.45) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(2px 2px at 15% 15%, rgba(245,158,11,0.6) 0%, transparent 100%),
    radial-gradient(2px 2px at 85% 85%, rgba(168,85,247,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 40%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 25%, rgba(255,255,255,0.55) 0%, transparent 100%);
  animation: twinkle 4s ease-in-out infinite alternate;
}
.stars-bg::after {
  background-image:
    radial-gradient(1px 1px at 55% 55%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 65%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 75% 35%, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 85%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 65% 15%, rgba(255,255,255,0.9) 0%, transparent 100%),
    radial-gradient(2px 2px at 88% 20%, rgba(245,158,11,0.4) 0%, transparent 100%);
  animation-delay: 2s; animation-duration: 5s;
}
@keyframes twinkle { from { opacity: 0.55; } to { opacity: 1; } }

.hero-inner { position: relative; z-index: 1; text-align: center; padding: 80px 24px; max-width: 920px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3);
  color: #fcd34d; padding: 8px 20px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 28px;
  animation: fadeDown 0.6s ease both;
}
.hero-title {
  font-size: clamp(2.4rem,6vw,4.2rem); font-weight: 900;
  line-height: 1.05; margin-bottom: 20px; letter-spacing: -0.03em;
  animation: fadeUp 0.7s ease 0.1s both;
}
.hero-subtitle {
  font-size: clamp(1rem,2vw,1.2rem); color: rgba(255,255,255,0.68);
  max-width: 600px; margin: 0 auto 36px; line-height: 1.65;
  animation: fadeUp 0.7s ease 0.2s both;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 52px; animation: fadeUp 0.7s ease 0.3s both; }
.hero-stats {
  display: flex; justify-content: center; align-items: center; gap: 40px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 20px 40px; animation: fadeUp 0.7s ease 0.4s both;
}
.hero-stat { text-align: center; }
.stat-val { display: block; font-size: 1.8rem; font-weight: 800; color: #f59e0b; }
.stat-lbl { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.48); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.hero-stat-sep { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }

/* LIVE SECTION */
.section-live { padding: 64px 0; background: linear-gradient(180deg,#0a0118 0%,#110225 50%,#0a0118 100%); }
.live-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.section-title { font-size: 1.5rem; font-weight: 700; }
.live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #10b981; margin-right: 8px; animation: pulse-green 2s infinite; }
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.link-more { color: #a855f7; font-size: 0.88rem; font-weight: 500; transition: color var(--transition); }
.link-more:hover { color: #fcd34d; }

.experts-scroll {
  display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent; cursor: grab;
}
.experts-scroll:active { cursor: grabbing; }
.experts-scroll::-webkit-scrollbar { height: 4px; }
.experts-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.expert-mini-card { flex: 0 0 158px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 18px 12px; text-align: center; transition: all var(--transition); }
.expert-mini-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-4px); border-color: rgba(124,58,237,0.3); }
.expert-mini-photo-wrap { position: relative; display: inline-block; margin-bottom: 10px; }
.expert-mini-photo { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.12); background: linear-gradient(135deg,#1a0533,#2d1b69); }
.status-dot { position: absolute; bottom: 2px; right: 2px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #0a0118; }
.status-dot.available { background: #10b981; }
.status-dot.busy { background: #f97316; }
.status-dot.offline { background: #6b7280; }
.expert-mini-name { font-size: 0.83rem; font-weight: 600; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.expert-mini-spec { font-size: 0.73rem; color: #9ca3af; margin-bottom: 5px; }
.expert-mini-stars { color: #f59e0b; font-size: 0.7rem; margin-bottom: 5px; }
.expert-mini-price { font-size: 0.78rem; color: #fcd34d; font-weight: 600; margin-bottom: 10px; }
.expert-mini-btn { display: block; font-size: 0.73rem; padding: 6px 12px; border-radius: 7px; background: linear-gradient(135deg,#7c3aed,#a855f7); color: #fff; font-weight: 600; transition: opacity var(--transition); }
.expert-mini-btn:hover { opacity: 0.85; }

/* SECTIONS */
.section { padding: 84px 0; }
.section-alt { background: #110225; }
.section-dark { background: #060010; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-subtitle { color: #9ca3af; margin-top: 12px; font-size: 1rem; max-width: 580px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.section-badge { display: inline-block; background: rgba(124,58,237,0.14); border: 1px solid rgba(124,58,237,0.3); color: #a855f7; padding: 6px 16px; border-radius: 100px; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }

/* EXPERTS GRID */
.experts-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 24px; }
.expert-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column; }
.expert-card:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.expert-card-photo { width: 100%; height: 220px; object-fit: cover; display: block; background: linear-gradient(135deg,#1a0533,#2d1b69); }
.expert-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.expert-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.expert-card-name { font-size: 1.05rem; font-weight: 700; }
.expert-card-spec { color: #9ca3af; font-size: 0.83rem; margin-bottom: 10px; }
.expert-card-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 0.83rem; }
.stars-filled { color: #f59e0b; } .rating-count { color: #9ca3af; }
.expert-card-stats { display: flex; gap: 14px; margin-bottom: 14px; padding: 10px; background: rgba(255,255,255,0.03); border-radius: 10px; }
.expert-stat { display: flex; flex-direction: column; }
.expert-stat-val { font-size: 0.88rem; font-weight: 700; color: #fcd34d; }
.expert-stat-lbl { font-size: 0.68rem; color: #9ca3af; }
.expert-card-methods { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.method-badge { padding: 3px 9px; background: rgba(124,58,237,0.14); border: 1px solid rgba(124,58,237,0.22); border-radius: 100px; font-size: 0.68rem; color: #a855f7; font-weight: 500; }
.expert-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.expert-card-price strong { color: #f59e0b; font-size: 1rem; font-weight: 800; }
.expert-card-price span { color: #9ca3af; font-size: 0.76rem; }

/* STATUS BADGES */
.badge-available { background: rgba(16,185,129,0.14); border: 1px solid rgba(16,185,129,0.28); color: #10b981; padding: 4px 10px; border-radius: 100px; font-size: 0.7rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.badge-busy { background: rgba(249,115,22,0.14); border: 1px solid rgba(249,115,22,0.28); color: #f97316; padding: 4px 10px; border-radius: 100px; font-size: 0.7rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.badge-offline { background: rgba(107,114,128,0.14); border: 1px solid rgba(107,114,128,0.28); color: #9ca3af; padding: 4px 10px; border-radius: 100px; font-size: 0.7rem; font-weight: 600; }

/* HOW IT WORKS */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 30px; text-align: center; }
.step-num { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#7c3aed,#a855f7); font-size: 1.3rem; font-weight: 800; color: #fff; box-shadow: 0 8px 24px rgba(124,58,237,0.4); }
.step-icon { font-size: 1.7rem; margin-bottom: 10px; }
.step-title { font-size: 0.97rem; font-weight: 700; margin-bottom: 8px; }
.step-desc { color: #9ca3af; font-size: 0.86rem; line-height: 1.65; }

/* SPECIALTIES */
.specialties-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(170px,1fr)); gap: 12px; }
.specialty-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 20px 12px; text-align: center; transition: all var(--transition); display: block; }
.specialty-card:hover { border-color: rgba(245,158,11,0.4); background: rgba(245,158,11,0.05); transform: translateY(-4px); }
.specialty-icon { font-size: 1.8rem; margin-bottom: 9px; display: block; }
.specialty-name { font-weight: 600; font-size: 0.86rem; margin-bottom: 3px; color: #fff; }
.specialty-count { color: #9ca3af; font-size: 0.75rem; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(285px,1fr)); gap: 18px; }
.testimonial-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 20px; }
.testimonial-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-text { color: rgba(255,255,255,0.75); font-size: 0.86rem; line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#7c3aed,#a855f7); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.92rem; flex-shrink: 0; }
.testimonial-name { font-weight: 600; font-size: 0.86rem; }
.testimonial-date { color: #9ca3af; font-size: 0.73rem; }

/* FAQ */
.faq-list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; overflow: hidden; transition: border-color var(--transition); }
.faq-item.open { border-color: rgba(124,58,237,0.3); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 17px 20px; font-size: 0.92rem; font-weight: 600; color: #fff; text-align: left; transition: background var(--transition); }
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-arrow { font-size: 0.75rem; color: #a855f7; transition: transform 0.3s ease; flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 18px; color: rgba(255,255,255,0.66); font-size: 0.86rem; line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* CTA */
.cta-section { padding: 84px 0; text-align: center; background: radial-gradient(ellipse at 50% 50%,rgba(124,58,237,0.18) 0%,transparent 70%); }
.cta-title { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; margin-bottom: 14px; }
.cta-desc { color: #9ca3af; font-size: 1rem; margin-bottom: 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* SOCIAL PROOF TOASTS */
.social-proof-container { position: fixed; bottom: 24px; left: 24px; z-index: 500; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.social-proof-toast { background: rgba(17,2,37,0.96); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; min-width: 255px; max-width: 305px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: slideInLeft 0.4s ease, fadeOutToast 0.4s ease 4.5s forwards; pointer-events: auto; }
@keyframes slideInLeft { from { transform: translateX(-110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOutToast { to { opacity: 0; transform: translateX(-20px); } }
.toast-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg,#7c3aed,#a855f7); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.toast-text { font-size: 0.79rem; line-height: 1.4; }
.toast-text strong { color: #fcd34d; }
.toast-time { font-size: 0.68rem; color: #9ca3af; margin-top: 2px; }

/* SEO CONTENT */
.seo-content { padding: 48px 0 36px; border-top: 1px solid rgba(255,255,255,0.06); }
.seo-content h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: rgba(255,255,255,0.65); }
.seo-content p { color: rgba(255,255,255,0.42); font-size: 0.86rem; line-height: 1.8; margin-bottom: 10px; max-width: 900px; }
.seo-content strong { color: rgba(255,255,255,0.58); }

/* FOOTER */
.site-footer { background: #060010; border-top: 1px solid rgba(255,255,255,0.06); padding: 52px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 36px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; margin-bottom: 12px; }
.footer-desc { color: #6b7280; font-size: 0.84rem; line-height: 1.7; margin-bottom: 16px; max-width: 270px; }
.footer-col h4 { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: #9ca3af; margin-bottom: 12px; font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li a { color: #6b7280; font-size: 0.84rem; transition: color var(--transition); }
.footer-col li a:hover { color: #fff; }
.footer-socials { display: flex; gap: 8px; }
.social-badge { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 5px 10px; font-size: 0.76rem; color: #9ca3af; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 18px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { color: #4b5563; font-size: 0.78rem; }
.footer-disclaimer { max-width: 520px; line-height: 1.6; }

/* ESPACE CLIENT */
.espace-layout { display: flex; min-height: calc(100vh - 68px); margin-top: 68px; }
.espace-sidebar { width: 225px; flex-shrink: 0; background: rgba(255,255,255,0.02); border-right: 1px solid rgba(255,255,255,0.06); padding: 24px 12px; position: sticky; top: 68px; height: calc(100vh - 68px); overflow-y: auto; }
.sidebar-user { padding: 0 4px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 12px; }
.sidebar-user-name { font-weight: 700; font-size: 0.88rem; }
.sidebar-user-email { color: #9ca3af; font-size: 0.73rem; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-nav { display: flex; flex-direction: column; gap: 3px; }
.sidebar-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 0.86rem; color: rgba(255,255,255,0.6); transition: all var(--transition); }
.sidebar-link:hover, .sidebar-link.active { background: rgba(124,58,237,0.14); color: #fff; }
.sidebar-link.active { color: #a855f7; }
.sidebar-icon { font-size: 1rem; width: 18px; text-align: center; }
.espace-main { flex: 1; padding: 36px; overflow-y: auto; min-width: 0; }
.espace-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 24px; }
.espace-subtitle { color: #9ca3af; font-size: 0.88rem; margin-top: -16px; margin-bottom: 24px; }

/* STATS CARDS */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 13px; margin-bottom: 24px; }
.stat-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 18px; transition: border-color var(--transition); }
.stat-card:hover { border-color: rgba(124,58,237,0.3); }
.stat-card-icon { font-size: 1.3rem; margin-bottom: 8px; }
.stat-card-value { font-size: 1.6rem; font-weight: 800; color: #fcd34d; margin-bottom: 3px; }
.stat-card-label { color: #9ca3af; font-size: 0.78rem; }

/* WALLET */
.wallet-card { background: linear-gradient(135deg,rgba(124,58,237,0.28),rgba(168,85,247,0.18)); border: 1px solid rgba(124,58,237,0.3); border-radius: 20px; padding: 26px; margin-bottom: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.wallet-balance { font-size: 2.6rem; font-weight: 900; color: #fcd34d; line-height: 1; }
.wallet-label { color: rgba(255,255,255,0.52); font-size: 0.86rem; margin-top: 5px; }
.wallet-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* PACKS */
.packs-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 16px; margin-bottom: 28px; }
.pack-card { background: rgba(255,255,255,0.04); border: 2px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 24px 16px; text-align: center; transition: all var(--transition); position: relative; }
.pack-card:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-4px); }
.pack-card.popular { border-color: rgba(245,158,11,0.45); }
.pack-popular-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg,#f59e0b,#fcd34d); color: #0a0118; font-size: 0.68rem; font-weight: 700; padding: 3px 14px; border-radius: 100px; white-space: nowrap; }
.pack-name { font-size: 0.93rem; font-weight: 700; margin-bottom: 10px; }
.pack-credits { font-size: 2rem; font-weight: 900; color: #a855f7; line-height: 1; }
.pack-credits-label { color: #9ca3af; font-size: 0.76rem; margin-bottom: 5px; margin-top: 2px; }
.pack-bonus { color: #10b981; font-size: 0.78rem; margin-bottom: 12px; font-weight: 600; min-height: 18px; }
.pack-price { font-size: 1.4rem; font-weight: 800; color: #fcd34d; margin-bottom: 16px; }

/* TRANSACTIONS */
.tx-list { display: flex; flex-direction: column; gap: 7px; }
.tx-item { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; }
.tx-desc { font-size: 0.86rem; }
.tx-date { color: #9ca3af; font-size: 0.75rem; margin-top: 2px; }
.tx-amount-credit { color: #10b981; font-weight: 700; font-size: 0.92rem; }
.tx-amount-debit { color: #f87171; font-weight: 700; font-size: 0.92rem; }

/* ADMIN */
.admin-layout { display: flex; min-height: calc(100vh - 68px); margin-top: 68px; }
.admin-sidebar { width: 225px; flex-shrink: 0; background: rgba(255,255,255,0.02); border-right: 1px solid rgba(255,255,255,0.06); padding: 18px 12px; position: sticky; top: 68px; height: calc(100vh - 68px); overflow-y: auto; }
.admin-sidebar-title { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: #6b7280; padding: 8px 12px 4px; font-weight: 600; }
.admin-main { flex: 1; padding: 28px; overflow-y: auto; min-width: 0; }
.admin-title { font-size: 1.45rem; font-weight: 700; margin-bottom: 18px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }

/* TABLES */
.table-wrapper { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; overflow: hidden; }
.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead { background: rgba(255,255,255,0.04); }
th { padding: 11px 16px; text-align: left; font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.06em; color: #9ca3af; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.06); white-space: nowrap; }
td { padding: 12px 16px; font-size: 0.84rem; color: rgba(255,255,255,0.82); border-bottom: 1px solid rgba(255,255,255,0.04); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }

/* SEGMENT BADGES */
.seg-vip_gold { background: rgba(245,158,11,0.18); color: #fcd34d; border: 1px solid rgba(245,158,11,0.38); border-radius: 100px; padding: 3px 9px; font-size: 0.68rem; font-weight: 700; white-space: nowrap; display: inline-block; }
.seg-vip_silver { background: rgba(156,163,175,0.18); color: #d1d5db; border: 1px solid rgba(156,163,175,0.35); border-radius: 100px; padding: 3px 9px; font-size: 0.68rem; font-weight: 700; white-space: nowrap; display: inline-block; }
.seg-vip_bronze { background: rgba(180,83,9,0.18); color: #fb923c; border: 1px solid rgba(180,83,9,0.3); border-radius: 100px; padding: 3px 9px; font-size: 0.68rem; font-weight: 700; white-space: nowrap; display: inline-block; }
.seg-hot { background: rgba(239,68,68,0.18); color: #f87171; border: 1px solid rgba(239,68,68,0.3); border-radius: 100px; padding: 3px 9px; font-size: 0.68rem; font-weight: 700; white-space: nowrap; display: inline-block; }
.seg-warm { background: rgba(249,115,22,0.14); color: #fb923c; border: 1px solid rgba(249,115,22,0.24); border-radius: 100px; padding: 3px 9px; font-size: 0.68rem; white-space: nowrap; display: inline-block; }
.seg-cold { background: rgba(107,114,128,0.1); color: #9ca3af; border: 1px solid rgba(107,114,128,0.2); border-radius: 100px; padding: 3px 9px; font-size: 0.68rem; white-space: nowrap; display: inline-block; }

/* KPI CARDS */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: 13px; margin-bottom: 24px; }
.kpi-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 18px; }
.kpi-label { color: #9ca3af; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.kpi-value { font-size: 1.8rem; font-weight: 800; color: #fcd34d; }
.kpi-sub { color: #9ca3af; font-size: 0.75rem; margin-top: 3px; }

/* FORMS */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.84rem; font-weight: 600; color: rgba(255,255,255,0.78); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 11px 14px; color: #fff; font-size: 0.92rem;
  font-family: inherit; transition: border-color var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: #7c3aed; background: rgba(255,255,255,0.08); }
.form-input::placeholder { color: #6b7280; }
.form-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239ca3af' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }
.form-textarea { min-height: 105px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-hint { color: #9ca3af; font-size: 0.75rem; margin-top: 4px; }

/* AUTH */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: radial-gradient(ellipse at 50% 0%,#2d1b69 0%,#0a0118 60%); padding-top: 88px; }
.auth-card { width: 100%; max-width: 430px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; padding: 38px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.auth-title { font-size: 1.65rem; font-weight: 800; margin-bottom: 7px; text-align: center; }
.auth-subtitle { color: #9ca3af; text-align: center; margin-bottom: 26px; font-size: 0.86rem; }
.auth-footer { text-align: center; margin-top: 18px; color: #9ca3af; font-size: 0.86rem; }
.auth-link { color: #a855f7; font-weight: 600; }

/* ALERTS */
.alert { padding: 12px 16px; border-radius: 10px; font-size: 0.86rem; margin-bottom: 13px; }
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.28); color: #6ee7b7; }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.28); color: #fca5a5; }
.alert-info { background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.28); color: #c4b5fd; }
.alert-warning { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.28); color: #fde68a; }

/* HOROSCOPE */
.horoscope-signs-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); gap: 13px; }
.sign-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 20px 12px; text-align: center; transition: all var(--transition); display: block; }
.sign-card:hover { border-color: rgba(245,158,11,0.38); transform: translateY(-4px); }
.sign-symbol { font-size: 2.1rem; margin-bottom: 7px; display: block; }
.sign-name { font-weight: 700; font-size: 0.92rem; margin-bottom: 2px; color: #fff; }
.sign-dates { color: #9ca3af; font-size: 0.73rem; margin-bottom: 8px; }
.sign-element { display: inline-block; font-size: 0.68rem; padding: 2px 8px; border-radius: 100px; }
.element-feu { background: rgba(239,68,68,0.14); color: #f87171; }
.element-terre { background: rgba(16,185,129,0.14); color: #6ee7b7; }
.element-air { background: rgba(59,130,246,0.14); color: #93c5fd; }
.element-eau { background: rgba(124,58,237,0.14); color: #c4b5fd; }
.score-bar { background: rgba(255,255,255,0.1); border-radius: 4px; height: 5px; margin-top: 8px; overflow: hidden; }
.score-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg,#7c3aed,#f59e0b); transition: width 0.8s ease; }
.horoscope-content { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.horoscope-domain { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 18px; }
.horoscope-domain-title { font-weight: 700; font-size: 0.92rem; margin-bottom: 9px; display: flex; align-items: center; gap: 7px; }
.horoscope-domain-text { color: rgba(255,255,255,0.7); font-size: 0.86rem; line-height: 1.7; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(295px,1fr)); gap: 22px; }
.blog-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; overflow: hidden; transition: all var(--transition); display: block; }
.blog-card:hover { border-color: rgba(124,58,237,0.3); transform: translateY(-4px); }
.blog-card-img { width: 100%; height: 170px; object-fit: cover; background: linear-gradient(135deg,#1a0533,#2d1b69); display: block; }
.blog-card-body { padding: 18px; }
.blog-card-cat { color: #a855f7; font-size: 0.73rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 7px; }
.blog-card-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 9px; line-height: 1.4; color: #fff; }
.blog-card-excerpt { color: #9ca3af; font-size: 0.81rem; line-height: 1.6; margin-bottom: 13px; }
.blog-card-meta { display: flex; justify-content: space-between; font-size: 0.73rem; color: #6b7280; }
.blog-article { max-width: 750px; margin: 0 auto; padding: 100px 24px 60px; }
.blog-article h1 { font-size: clamp(1.8rem,4vw,2.7rem); margin-bottom: 18px; line-height: 1.15; }
.blog-article .article-meta { color: #9ca3af; font-size: 0.83rem; margin-bottom: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.blog-article .article-content { color: rgba(255,255,255,0.75); line-height: 1.85; font-size: 0.95rem; }
.blog-article .article-content h2 { color: #fff; font-size: 1.45rem; margin: 32px 0 12px; }
.blog-article .article-content p { margin-bottom: 16px; }
.blog-article .article-content strong { color: #fcd34d; }
.blog-article .article-content ul { padding-left: 20px; margin-bottom: 16px; list-style: disc; }
.blog-article .article-content li { margin-bottom: 5px; }

/* MONEY PAGES */
.money-page { padding-top: 108px; padding-bottom: 60px; }
.money-page-layout { display: grid; grid-template-columns: 1fr 310px; gap: 44px; align-items: start; }
.money-page-content h1 { font-size: clamp(1.9rem,4vw,2.8rem); margin-bottom: 16px; }
.money-page-content .lead { font-size: 1.05rem; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 24px; }
.money-page-content p { color: rgba(255,255,255,0.66); line-height: 1.8; margin-bottom: 13px; font-size: 0.93rem; }
.money-page-content h2 { font-size: 1.35rem; margin: 28px 0 12px; }
.money-page-sidebar { position: sticky; top: 88px; }
.sidebar-experts-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 20px; margin-bottom: 14px; }
.sidebar-card-title { font-size: 0.92rem; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.sidebar-expert { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.sidebar-expert:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-expert-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg,#1a0533,#2d1b69); flex-shrink: 0; }
.sidebar-expert-name { font-weight: 600; font-size: 0.86rem; }
.sidebar-expert-price { color: #fcd34d; font-size: 0.76rem; margin-top: 2px; }

/* EXPERT PROFILE */
.expert-profile { padding-top: calc(68px + 28px); padding-bottom: 56px; }
.expert-profile-header { display: flex; gap: 32px; align-items: flex-start; margin-bottom: 40px; padding: 32px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; }
.expert-profile-photo { width: 145px; height: 145px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(124,58,237,0.38); flex-shrink: 0; background: linear-gradient(135deg,#1a0533,#2d1b69); }
.expert-profile-info { flex: 1; }
.expert-profile-name { font-size: 1.85rem; font-weight: 800; margin-bottom: 6px; }
.expert-profile-spec { color: #a855f7; font-size: 0.93rem; margin-bottom: 12px; }
.expert-profile-meta { display: flex; gap: 18px; margin-bottom: 14px; flex-wrap: wrap; }
.expert-profile-meta-item { display: flex; align-items: center; gap: 5px; font-size: 0.86rem; color: rgba(255,255,255,0.66); }
.expert-profile-bio { color: rgba(255,255,255,0.7); line-height: 1.78; font-size: 0.91rem; margin-bottom: 18px; }
.expert-profile-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.expert-profile-body { display: grid; grid-template-columns: 1fr 310px; gap: 32px; }
.consult-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 24px; position: sticky; top: 88px; }
.consult-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }
.consult-option { display: flex; justify-content: space-between; align-items: center; padding: 13px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; margin-bottom: 9px; transition: all var(--transition); }
.consult-option:hover { border-color: rgba(124,58,237,0.4); background: rgba(124,58,237,0.05); }
.consult-option-name { font-weight: 600; font-size: 0.88rem; }
.consult-option-price { color: #fcd34d; font-size: 0.83rem; font-weight: 600; }

/* REVIEWS */
.reviews-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.review-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 16px; }
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.review-author { font-weight: 600; font-size: 0.86rem; }
.review-date { color: #9ca3af; font-size: 0.73rem; }
.review-stars { color: #f59e0b; font-size: 0.8rem; margin-bottom: 7px; }
.review-text { color: rgba(255,255,255,0.66); font-size: 0.84rem; line-height: 1.65; }

/* QUESTION PAGE */
.question-hero { padding: 108px 0 56px; text-align: center; background: radial-gradient(ellipse at 50% 0%,#2d1b69 0%,#0a0118 60%); }
.question-hero h1 { font-size: clamp(1.8rem,4vw,2.8rem); margin-bottom: 14px; }
.question-hero p { color: rgba(255,255,255,0.66); font-size: 0.97rem; max-width: 580px; margin: 0 auto 28px; line-height: 1.65; }

/* FILTERS */
.filters-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; align-items: center; }
.filter-select { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 8px 13px; color: #fff; font-size: 0.86rem; cursor: pointer; }
.filter-select:focus { outline: none; border-color: #7c3aed; }

/* PAGINATION */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.page-btn { padding: 7px 13px; border-radius: 8px; font-size: 0.86rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); transition: all var(--transition); }
.page-btn:hover, .page-btn.active { background: rgba(124,58,237,0.3); border-color: rgba(124,58,237,0.5); color: #fff; }

/* BREADCRUMB */
.breadcrumb { display: flex; gap: 7px; align-items: center; color: #9ca3af; font-size: 0.8rem; margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { color: #9ca3af; transition: color var(--transition); }
.breadcrumb a:hover { color: #a855f7; }
.breadcrumb-sep { color: #4b5563; }

/* TARIFS */
.tarifs-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(210px,1fr)); gap: 18px; margin-top: 36px; }
.tarif-card { background: rgba(255,255,255,0.04); border: 2px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 26px 18px; text-align: center; transition: all var(--transition); position: relative; }
.tarif-card:hover { transform: translateY(-4px); border-color: rgba(124,58,237,0.35); }
.tarif-card.featured { border-color: rgba(245,158,11,0.45); }
.tarif-icon { font-size: 2rem; margin-bottom: 12px; }
.tarif-name { font-size: 1rem; font-weight: 700; margin-bottom: 7px; }
.tarif-credits { font-size: 1.9rem; font-weight: 900; color: #a855f7; }
.tarif-credits-lbl { font-size: 0.76rem; color: #9ca3af; margin-bottom: 5px; margin-top: 2px; }
.tarif-bonus { font-size: 0.78rem; color: #10b981; font-weight: 600; margin-bottom: 14px; min-height: 18px; }
.tarif-price { font-size: 1.5rem; font-weight: 900; color: #fcd34d; margin-bottom: 18px; }
.tarif-features { text-align: left; margin-bottom: 18px; display: flex; flex-direction: column; gap: 5px; }
.tarif-feature { font-size: 0.8rem; color: rgba(255,255,255,0.66); display: flex; gap: 6px; align-items: flex-start; }
.tarif-check { color: #10b981; flex-shrink: 0; }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 56px 20px; }
.empty-state-icon { font-size: 2.8rem; margin-bottom: 14px; }
.empty-state-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 7px; }
.empty-state-desc { color: #9ca3af; font-size: 0.88rem; margin-bottom: 22px; }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal { background: #110225; border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; padding: 32px; width: 100%; max-width: 450px; }
.modal-title { font-size: 1.35rem; font-weight: 700; margin-bottom: 18px; }
.modal-close { float: right; font-size: 1.3rem; color: #9ca3af; cursor: pointer; line-height: 1; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.fade-in { animation: fadeIn 0.6s ease both; }
.fade-up { animation: fadeUp 0.6s ease both; }
.animate-spin { animation: spin 1s linear infinite; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .expert-profile-header { flex-direction: column; align-items: center; text-align: center; }
  .expert-profile-body { grid-template-columns: 1fr; }
  .money-page-layout { grid-template-columns: 1fr; }
  .money-page-sidebar { display: none; }
  .horoscope-content { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-main { display: none; position: fixed; top: 68px; left: 0; right: 0; background: rgba(10,1,24,0.98); border-top: 1px solid rgba(255,255,255,0.08); padding: 16px; flex-direction: column; gap: 4px; z-index: 999; }
  .nav-main.open { display: flex; }
  .hamburger { display: flex; }
  .nav-actions .nav-auth-link { display: none; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 18px; }
  .hero-stat-sep { width: 100%; height: 1px; }
  .steps-grid { grid-template-columns: 1fr; }
  .espace-layout { flex-direction: column; }
  .espace-sidebar { width: 100%; position: relative; top: 0; height: auto; padding: 14px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; gap: 5px; }
  .espace-main { padding: 18px; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; position: relative; height: auto; }
  .admin-main { padding: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; }
  .wallet-card { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .blog-article { padding: 88px 16px 44px; }
  .expert-profile-header { padding: 22px; gap: 20px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .packs-grid, .tarifs-grid { grid-template-columns: 1fr 1fr; }
  .experts-grid { grid-template-columns: 1fr; }
  .specialties-grid { grid-template-columns: repeat(3,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .horoscope-signs-grid { grid-template-columns: repeat(3,1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
  .hero-stats { padding: 14px; }
  .section { padding: 56px 0; }
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0118; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* UTILS */
.mt-2{margin-top:8px}.mt-4{margin-top:16px}.mt-6{margin-top:24px}.mt-8{margin-top:32px}
.mb-2{margin-bottom:8px}.mb-4{margin-bottom:16px}.mb-6{margin-bottom:24px}.mb-8{margin-bottom:32px}
.p-4{padding:16px}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}
.justify-between{justify-content:space-between}.justify-center{justify-content:center}
.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}.hidden{display:none!important}
.w-full{width:100%}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.border-top{border-top:1px solid rgba(255,255,255,0.06);padding-top:18px}
.opacity-60{opacity:0.6}.text-sm{font-size:0.85rem}.text-xs{font-size:0.73rem}
.divider{height:1px;background:rgba(255,255,255,0.06);margin:20px 0}

/* COMPAT + MISSING UTILITIES */
.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-40{margin-top:40px}
.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}.mb-32{margin-bottom:32px}
.btn-primary{background:linear-gradient(135deg,#7c3aed,#a855f7);color:#fff;box-shadow:0 4px 15px rgba(124,58,237,.4)}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(124,58,237,.5)}
.btn-xs{padding:5px 11px;font-size:.73rem;border-radius:7px}.btn-xl{padding:18px 44px;font-size:1.1rem;border-radius:14px}
.btn-block{display:block;text-align:center;width:100%}
.trust-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:20px}
.trust-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:20px;padding:28px;text-align:center}
.trust-icon{font-size:2rem;margin-bottom:10px}
.modes-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.mode-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:20px;padding:28px;text-align:center;position:relative}
.mode-card.mode-featured{border-color:rgba(245,158,11,.4)}
.mode-popular{position:absolute;top:-11px;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,#f59e0b,#fcd34d);color:#0a0118;font-size:.68rem;font-weight:700;padding:3px 14px;border-radius:100px;white-space:nowrap}
.mode-icon{font-size:2rem;margin-bottom:12px}
.section-sub{color:#9ca3af;margin-top:12px;font-size:1rem;max-width:580px;margin-left:auto;margin-right:auto;line-height:1.65;text-align:center}
.container-narrow{max-width:800px;margin:0 auto;padding:0 24px}
.section-cta{padding:84px 0;text-align:center;background:radial-gradient(ellipse at 50% 50%,rgba(124,58,237,.18) 0%,transparent 70%)}
.cta-sub{color:#9ca3af;font-size:1rem;margin-bottom:24px}.cta-note{color:#9ca3af;font-size:.82rem;margin-top:12px}
.expert-photo{width:100%;height:220px;object-fit:cover;display:block;background:linear-gradient(135deg,#1a0533,#2d1b69)}
.expert-photo-wrap{position:relative;overflow:hidden}
.featured-badge{position:absolute;top:10px;right:10px;background:rgba(245,158,11,.9);color:#0a0118;font-size:.68rem;font-weight:700;padding:3px 10px;border-radius:100px}
.expert-name{font-size:1.05rem;font-weight:700}.expert-spec{color:#9ca3af;font-size:.83rem;margin-bottom:10px}
.expert-rating{display:flex;align-items:center;gap:6px;margin-bottom:10px;font-size:.83rem}
.stars{color:#f59e0b}.rating-val{font-weight:700;color:#fcd34d}
.expert-methods{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.expert-price{margin-bottom:14px}.price-main{font-size:.95rem;font-weight:700;color:#fcd34d}.price-mail{color:#9ca3af;font-size:.78rem;margin-left:6px}
.expert-card-actions{display:flex;justify-content:space-between;align-items:center;margin-top:auto;gap:7px}
.expert-card-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:6px}
.status-badge{padding:3px 9px;border-radius:100px;font-size:.7rem;font-weight:600}
.status-available{background:rgba(16,185,129,.14);border:1px solid rgba(16,185,129,.28);color:#10b981}
.status-busy{background:rgba(249,115,22,.14);border:1px solid rgba(249,115,22,.28);color:#f97316}
.status-offline{background:rgba(107,114,128,.14);border:1px solid rgba(107,114,128,.28);color:#9ca3af}
.reviews-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(275px,1fr));gap:18px}
.review-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:20px}
.review-stars{color:#f59e0b;font-size:.9rem;margin-bottom:10px;letter-spacing:2px}
.review-text{color:rgba(255,255,255,.75);font-size:.86rem;line-height:1.7;margin-bottom:14px;font-style:italic}
.review-author{display:flex;align-items:center;gap:10px}
.author-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#7c3aed,#a855f7);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.92rem;flex-shrink:0}
.author-name{font-weight:600;font-size:.86rem;display:block}.author-city{color:#9ca3af;font-size:.73rem;display:block}
.glass-card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:24px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.step-arrow{display:none}
@media(max-width:768px){.modes-grid{grid-template-columns:1fr}.trust-grid{grid-template-columns:1fr 1fr}.steps-grid .step-arrow{display:none}}
