/* ===========================
   ROOT & RESET
   =========================== */
:root {
  --primary: #e94560;
  --secondary: #7c3aed;
  --accent: #06d6a0;
  --dark: #0a0a1a;
  --dark2: #16213e;
  --dark3: #1a1a2e;
  --card-bg: #1e1e3a;
  --text: #f0f0ff;
  --text-muted: #8888aa;
  --border: rgba(255,255,255,0.08);
  --gradient: linear-gradient(135deg, #e94560, #7c3aed, #06b6d4);
  --gradient2: linear-gradient(90deg, #ff6a00, #ee0979, #9c27b0, #3f51b5);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --radius: 16px;
  --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===========================
   TOP BAR
   =========================== */
.top-bar {
  background: var(--gradient2);
  background-size: 200% 100%;
  animation: slideGradient 4s linear infinite;
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

.pulse-dot {
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.2s ease-in-out infinite;
}

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

/* ===========================
   HEADER
   =========================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,26,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 28px; animation: float 3s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 20px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo-tag { font-size: 11px; color: var(--text-muted); font-weight: 400; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: rgba(233,69,96,0.15);
  color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 20px;
}

.hero-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb1 { width: 500px; height: 500px; background: var(--primary); top: -100px; left: -100px; animation-delay: 0s; }
.orb2 { width: 400px; height: 400px; background: var(--secondary); bottom: -100px; right: 10%; animation-delay: 3s; }
.orb3 { width: 300px; height: 300px; background: var(--accent); top: 40%; left: 40%; animation-delay: 6s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,20px) scale(1.05); }
}

.hero-content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(233,69,96,0.15);
  border: 1px solid rgba(233,69,96,0.3);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  animation: fadeInUp 0.6s 0.1s ease both;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  animation: fadeInUp 0.6s 0.2s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s 0.3s ease both;
}

.stat { text-align: center; }
.stat-num { display: block; font-size: 24px; font-weight: 800; color: var(--text); }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.stat-sep { width: 1px; height: 40px; background: var(--border); }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(233,69,96,0.4);
  transition: all 0.3s;
  animation: fadeInUp 0.6s 0.4s ease both;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(233,69,96,0.5); }

.hero-visual {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 60px;
  position: relative;
  z-index: 1;
}

.phone-mockup {
  width: 220px;
  height: 420px;
  background: var(--dark2);
  border-radius: 36px;
  border: 3px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 60px rgba(233,69,96,0.2);
  animation: fadeInRight 0.8s 0.3s ease both, phoneBob 4s 1s ease-in-out infinite;
}

@keyframes phoneBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1a0038, #0a001a);
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-animation { text-align: center; position: relative; }
.caller-avatar { display: flex; justify-content: center; margin-bottom: 8px; }
.caller-name { font-size: 18px; font-weight: 700; color: #fff; }
.call-status { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; animation: blink 2s ease-in-out infinite; }

@keyframes blink {
  0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}

.call-rings { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -80px); }
.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(233,69,96,0.4);
  transform: translate(-50%, -50%);
  animation: ringPulse 2.5s ease-out infinite;
}
.r1 { width: 80px; height: 80px; animation-delay: 0s; }
.r2 { width: 120px; height: 120px; animation-delay: 0.6s; }
.r3 { width: 160px; height: 160px; animation-delay: 1.2s; }

@keyframes ringPulse {
  0% { opacity: 0.8; transform: translate(-50%, -50%) scale(0.8); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.4); }
}

.call-btns { display: flex; gap: 20px; justify-content: center; margin-top: 30px; }
.cbtn { font-size: 28px; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cbtn.decline { background: rgba(239,68,68,0.2); }
.cbtn.accept { background: rgba(6,214,160,0.2); animation: acceptPulse 1s ease-in-out infinite; }

@keyframes acceptPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6,214,160,0.5); }
  50% { box-shadow: 0 0 0 10px rgba(6,214,160,0); }
}

/* ===========================
   AD CONTAINERS
   =========================== */
.ad-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ad-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.ad-placeholder img { display: block; max-width: 100%; border-radius: 8px; }
.ad-img-mobile { display: none; }

/* ===========================
   FILTER SECTION
   =========================== */
.filter-section {
  padding: 48px 0 0;
  background: var(--dark3);
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
}

.section-sub {
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 40px;
}

.text-center { text-align: center; }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 0;
}
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-icon { font-size: 16px; }

/* ===========================
   PROFILES GRID
   =========================== */
.profiles-section {
  padding: 32px 0 60px;
  background: var(--dark3);
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

/* Profile Card */
.profile-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
  animation: cardIn 0.4s ease both;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.profile-card:hover::before { transform: scaleX(1); }
.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(233,69,96,0.2);
  border-color: rgba(233,69,96,0.3);
}

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

.card-avatar-wrap {
  position: relative;
  width: 80px;
  height: 80px;
}

.card-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(233,69,96,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark2), #2a0040);
  overflow: hidden;
}
.card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  transition: transform 0.4s ease;
}
.profile-card:hover .card-photo {
  transform: scale(1.08);
}

.online-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22c55e;
  border: 3px solid var(--card-bg);
  animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

.card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.card-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 600;
}
.tag-video { background: rgba(124,58,237,0.2); color: #a78bfa; border: 1px solid rgba(124,58,237,0.3); }
.tag-audio { background: rgba(6,214,160,0.15); color: #06d6a0; border: 1px solid rgba(6,214,160,0.3); }
.tag-chat  { background: rgba(233,69,96,0.15); color: var(--primary); border: 1px solid rgba(233,69,96,0.3); }

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  width: 100%;
}

.card-btn {
  flex: 1;
  padding: 10px 0;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-call {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
}
.btn-chat {
  background: linear-gradient(135deg, #e94560, #c2185b);
  color: #fff;
}
.btn-video {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: #fff;
}
.card-btn:hover { transform: scale(1.04); opacity: 0.92; }

.load-more-btn {
  display: block;
  margin: 0 auto;
  padding: 14px 40px;
  border-radius: 50px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.load-more-btn:hover { background: var(--primary); color: #fff; }

/* ===========================
   HOW IT WORKS
   =========================== */
.how-section {
  padding: 80px 0;
  background: var(--dark);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: transform 0.3s;
}
.step-card:hover { transform: translateY(-6px); }
.step-icon { font-size: 48px; margin-bottom: 12px; display: block; }
.step-num {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 40px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p { color: var(--text-muted); font-size: 14px; }

/* ===========================
   FAQ
   =========================== */
.faq-section {
  padding: 80px 0;
  background: var(--dark3);
}

.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--primary); }
.faq-q span { font-size: 20px; transition: transform 0.3s; }
.faq-q.open span { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}
.faq-a.visible { display: block; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #060614;
  padding: 60px 0 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 12px;
  max-width: 320px;
  line-height: 1.7;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a { color: var(--text-muted); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }

.footer-disclaimer {
  background: rgba(233,69,96,0.08);
  border: 1px solid rgba(233,69,96,0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 32px;
}
.footer-disclaimer p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.footer-disclaimer strong { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ===========================
   MODAL
   =========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: linear-gradient(160deg, #1a0038, #0a001a);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 32px 28px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  transform: scale(0.9);
  transition: transform 0.3s;
}
.modal-overlay.active .modal-box { transform: scale(1); }

.modal-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}
.modal-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--text);
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(233,69,96,0.3); }

.modal-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}
.modal-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a0040, #001a2a);
  border: 3px solid rgba(233,69,96,0.5);
  font-size: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.modal-rings { position: absolute; top: 50%; left: 50%; pointer-events: none; }
.mring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(233,69,96,0.4);
  transform: translate(-50%, -50%);
  animation: ringPulse 2.5s ease-out infinite;
}
.mr1 { width: 100px; height: 100px; animation-delay: 0s; }
.mr2 { width: 140px; height: 140px; animation-delay: 0.7s; }
.mr3 { width: 180px; height: 180px; animation-delay: 1.4s; }

.modal-name { font-size: 22px; font-weight: 800; color: #fff; }
.modal-location { color: var(--text-muted); font-size: 13px; margin: 4px 0 16px; }
.modal-status { font-size: 15px; font-weight: 600; color: #22c55e; animation: blink 1.5s ease-in-out infinite; }
.modal-timer { font-size: 28px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; margin: 8px 0; }

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}
.modal-btn {
  flex: 1;
  padding: 14px 0;
  border-radius: 14px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  transition: transform 0.2s;
}
.modal-btn:hover { transform: scale(1.04); }
.modal-btn.decline { background: rgba(239,68,68,0.2); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.modal-btn.accept { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; }

.modal-note { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 16px; }

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding: 60px 20px; min-height: auto; }
  .hero-content { max-width: 100%; }
  .hero-visual { padding-left: 0; margin-top: 48px; }
  .hero-stats { justify-content: center; }
  .hero-desc { margin: 0 auto 32px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(10,10,26,0.98); padding: 16px; border-bottom: 1px solid var(--border); gap: 4px; }
  .nav.open { display: flex; }
  .hamburger { display: flex; }
  .header-inner { position: relative; }
  .profiles-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .ad-img-desktop { display: none; }
  .ad-img-mobile { display: block; }
  .filter-header { flex-direction: column; align-items: flex-start; }
  .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .profiles-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .profile-card { padding: 16px 12px; }
  .card-avatar { width: 60px; height: 60px; font-size: 36px; }
  .card-avatar-wrap { width: 60px; height: 60px; }
  .phone-mockup { width: 180px; height: 340px; }
}

/* ===========================
   CHAT MODAL
   =========================== */
.chat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.chat-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.chat-box {
  background: #12122a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 480px;
  height: 88vh;
  max-height: 680px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -16px 60px rgba(0,0,0,0.5);
  transform: translateY(40px);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.chat-overlay.active .chat-box {
  transform: translateY(0);
}

/* ── Header ── */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, #1a0838, #0d0d2b);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.chat-header-left { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a0040, #001a2a);
  border: 2px solid rgba(233,69,96,0.5);
  font-size: 26px;
  display: flex; align-items: center; justify-content: center;
}
.chat-header-name { font-size: 15px; font-weight: 700; color: #fff; }
.chat-header-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #22c55e; font-weight: 500;
}
.chat-online-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #22c55e;
  animation: onlinePulse 2s ease-in-out infinite;
}
.chat-header-right { display: flex; align-items: center; gap: 6px; }
.chat-icon-btn {
  background: rgba(255,255,255,0.08);
  border: none; color: #fff;
  width: 34px; height: 34px; border-radius: 50%;
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.chat-icon-btn:hover { background: rgba(233,69,96,0.3); }
.chat-close-btn { font-size: 13px; }

/* ── Messages area ── */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.chat-date-divider {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 4px 0 8px;
}

.chat-bubble {
  max-width: 75%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  animation: bubbleIn 0.25s ease both;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-bubble-me { align-self: flex-end; align-items: flex-end; }
.chat-bubble-them { align-self: flex-start; align-items: flex-start; }

.bubble-text {
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}
.chat-bubble-me .bubble-text {
  background: linear-gradient(135deg, #e94560, #9c1c3c);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-bubble-them .bubble-text {
  background: #1e1e40;
  color: var(--text);
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255,255,255,0.07);
}

.bubble-time {
  font-size: 10px;
  color: var(--text-muted);
  padding: 0 4px;
}
.bubble-tick { color: #60a5fa; font-size: 11px; }

/* ── Typing indicator ── */
.chat-typing {
  padding: 4px 16px 6px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.typing-dots { display: flex; gap: 3px; }
.typing-dots span {
  width: 5px; height: 5px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

/* ── Input bar ── */
.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #0e0e24;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.chat-emoji-btn {
  background: none; border: none;
  font-size: 22px; cursor: pointer;
  padding: 4px; flex-shrink: 0;
  transition: transform 0.2s;
}
.chat-emoji-btn:hover { transform: scale(1.2); }
.chat-input-bar input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.chat-input-bar input:focus { border-color: rgba(233,69,96,0.5); }
.chat-input-bar input::placeholder { color: var(--text-muted); }
.chat-send-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #e94560, #9c1c3c);
  border: none; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-send-btn:hover { transform: scale(1.1); box-shadow: 0 4px 14px rgba(233,69,96,0.5); }

/* ── Emoji Picker ── */
.emoji-picker {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
  padding: 10px 12px;
  background: #0e0e24;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.emoji-picker span {
  font-size: 22px; cursor: pointer; text-align: center;
  padding: 4px; border-radius: 8px;
  transition: background 0.15s;
}
.emoji-picker span:hover { background: rgba(255,255,255,0.1); }

.chat-note {
  text-align: center;
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  padding: 4px 0 8px;
  flex-shrink: 0;
}

/* Desktop: show as a centered panel instead of bottom sheet */
@media (min-width: 600px) {
  .chat-overlay {
    align-items: center;
    padding: 20px;
  }
  .chat-box {
    border-radius: 24px;
    height: 85vh;
    max-height: 680px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
  }
  .chat-overlay.active .chat-box {
    transform: scale(1);
  }
}

@media (max-width: 480px) {
  .emoji-picker { grid-template-columns: repeat(8, 1fr); }
}

/* ===========================
   EXTRA AD SLOTS
   =========================== */
.ad-leaderboard {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
}
.ad-desktop-only { display: flex; justify-content: center; }
.ad-mobile-only  { display: none; }

.ad-468 {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ad-native {
  background: var(--dark3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

/* Sticky sidebar */
.ad-sidebar {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ad-sidebar-right { right: 4px; }

@media (max-width: 768px) {
  .ad-desktop-only { display: none; }
  .ad-mobile-only  { display: flex; justify-content: center; }
  .ad-sidebar      { display: none; }
  .ad-468          { display: none; }
}
