/* ===== CANDY AI STYLE - MODERN & CLEAN ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors - Ð±Ð¾Ð»ÐµÐµ ÑÐ²ÐµÑ‚Ð»Ñ‹Ðµ Ð¸ ÐºÑ€Ð°ÑÐ¸Ð²Ñ‹Ðµ */
  --bg-primary: #0f0f1a;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #252542;
  --bg-card: #2a2a4a;
  --bg-sidebar: #16162a;
  
  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #e0e0e8;
  --text-muted: #a0a0b0;
  --text-accent: #ff6b9b;
  
  /* Accents - Candy AI colors */
  --accent-primary: #ff4477;
  --accent-secondary: #ff6b9b;
  --accent-tertiary: #ff8fab;
  --accent-blue: #00d3b7;
  --accent-purple: #7c3aed;
  
  /* Borders & Lines */
  --border-primary: #3a3a5a;
  --border-secondary: #4a4a6a;
  --border-accent: #ff4477;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(255, 68, 119, 0.3);
  
  /* Gradients - Ð±Ð¾Ð»ÐµÐµ ÐºÑ€Ð°ÑÐ¸Ð²Ñ‹Ðµ */
  --gradient-primary: linear-gradient(135deg, #ff4477 0%, #ff6b9b 100%);
  --gradient-secondary: linear-gradient(135deg, #7c3aed 0%, #00d3b7 100%);
  --gradient-card: linear-gradient(135deg, #2a2a4a 0%, #3a3a5a 100%);
  --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #2a2a4a 100%);
  --gradient-bg: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #252542 100%);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 64px;
}

/* ===== RESET & BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gradient-bg);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
  min-height: 100vh;
}

/* ===== BEAUTIFUL BACKGROUND PATTERNS ===== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 68, 119, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 211, 183, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ===== RESPONSIVE FONT SIZES ===== */
@media (max-width: 768px) {
  html { font-size: 14px; }
}

@media (max-width: 480px) {
  html { font-size: 12px; }
}

/* ===== LAYOUT ===== */
.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .layout {
    grid-template-columns: 1fr;
  }
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: rgba(22, 22, 42, 0.95);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-primary);
  padding: var(--spacing-md) var(--spacing-sm);
  z-index: 100;
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
  .sidebar {
    position: fixed;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }
  
  .sidebar.open {
    transform: translateX(0);
  }
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--spacing-md) + 2px) var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.ai-text {
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(135deg, #00d3b7 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 211, 183, 0.5);
  letter-spacing: -2px;
}

.girls-text {
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(135deg, #ff4477 0%, #ff6b9b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 68, 119, 0.5);
  letter-spacing: 1px;
  margin-top: -14px;
}

.brand-subline {
  margin-top: 5px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  color: #f0dbe7;
  letter-spacing: 0.04em;
  text-transform: none;
  text-shadow: 0 0 16px rgba(255, 107, 155, 0.16);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-xl);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-sm);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

.nav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.nav-item:hover::before {
  left: 100%;
}

.nav-item:hover,
.nav-item.active {
  background: rgba(255, 68, 119, 0.1);
  color: var(--text-primary);
  transform: translateX(8px) scale(1.02);
  border: 1px solid rgba(255, 68, 119, 0.3);
  box-shadow: 0 8px 25px rgba(255, 68, 119, 0.2);
}

.nav-icon {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.nav-item span:last-child {
  font-weight: 600;
}

/* ===== MAIN CONTENT ===== */
.main {
  padding: var(--spacing-xl);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.main.home-main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.home-main-content {
  width: 100%;
}

.home-main .grid {
  width: 100%;
  justify-content: center;
  grid-template-columns: repeat(2, minmax(0, 320px));
  gap: calc(var(--spacing-xl) + 16px);
}

.card-clickable:focus-visible {
  outline: 2px solid rgba(255, 68, 119, 0.75);
  outline-offset: 3px;
}

.hero-subcopy {
  max-width: 760px;
  margin: 10px auto 0;
  color: var(--text-secondary);
  line-height: 1.55;
}

.home-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 6px 0 28px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-primary);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.home-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.info-panel {
  background: rgba(18, 20, 30, 0.72);
  border: 1px solid var(--border-primary);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.info-panel h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  color: var(--text-primary);
}

.info-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.info-list li + li {
  margin-top: 8px;
}

.home-faq {
  margin-top: clamp(180px, 20vh, 260px);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border-primary);
  border-radius: 14px;
  background: rgba(18, 20, 30, 0.55);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--text-muted);
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item p {
  margin: 0;
  padding: 0 16px 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .main {
    padding: var(--spacing-md);
  }

  .home-panels {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .hero-subcopy {
    font-size: 0.95rem;
  }

  .home-main .grid {
    max-width: none;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .home-trust-strip {
    justify-content: flex-start;
  }

  .brand-subline {
    font-size: 14px;
    letter-spacing: 0.04em;
  }

  .home-faq {
    margin-top: 84px;
  }
}

.container {
  width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
  text-align: center;
  padding: var(--spacing-2xl) 0;
  margin-bottom: var(--spacing-2xl);
  position: relative;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.hero-text p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== SECTION HEAD ===== */
.section-head {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
}

/* ===== GRID LAYOUT ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  padding: var(--spacing-lg) 0;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

@media (min-width: 1200px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== CARD STYLES ===== */
.card {
  background: rgba(42, 42, 74, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-primary);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 68, 119, 0.1) 0%, rgba(0, 211, 183, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.card:hover {
  transform: translateY(-16px) scale(1.05);
  border-color: var(--border-accent);
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(255, 68, 119, 0.3),
    0 0 80px rgba(0, 211, 183, 0.2);
}

.card:hover::before {
  opacity: 1;
}

.card:hover .thumb img {
  transform: scale(1);
}

.card:hover .badge {
  transform: scale(1.1) rotate(5deg);
}

.card:hover .card-body {
  background: rgba(42, 42, 74, 0.9);
}

.thumb {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: var(--gradient-card);
  transition: all 0.4s ease;
}

@media (max-width: 768px) {
  .thumb {
    height: 280px;
  }
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  padding: 8px 16px;
  background: var(--accent-primary);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 68, 119, 0.3);
}

.badge.warning {
  background: var(--accent-blue);
  box-shadow: 0 4px 15px rgba(0, 211, 183, 0.3);
}

.badge.circle {
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  width: 16px;
  height: 16px;
  padding: 0;
  background: #00ff88;
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
  }
  50% { 
    opacity: 0.8; 
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.8);
  }
}

.card-body {
  padding: var(--spacing-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
}

.name-row h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.age {
  background: var(--gradient-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.desc {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  font-size: 15px;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.interactions {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

/* ===== BUTTON STYLES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(255, 68, 119, 0.3);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 
    0 15px 40px rgba(255, 68, 119, 0.4),
    0 0 30px rgba(255, 68, 119, 0.3);
}

.btn--small {
  padding: 10px 20px;
  font-size: 12px;
  border-radius: 12px;
}

.btn--primary {
  background: var(--gradient-primary);
}

.btn--secondary {
  background: var(--gradient-secondary);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.btn--secondary:hover {
  box-shadow: 
    0 15px 40px rgba(124, 58, 237, 0.4),
    0 0 30px rgba(124, 58, 237, 0.3);
}

.btn.large {
  padding: 18px 36px;
  font-size: 18px;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(255, 68, 119, 0.4);
}

.btn.large:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 
    0 20px 50px rgba(255, 68, 119, 0.5),
    0 0 40px rgba(255, 68, 119, 0.4);
}

@media (max-width: 768px) {
  .btn.large {
    padding: 16px 32px;
    font-size: 16px;
  }
}

/* ===== SIDEBAR FOOTER ===== */
.sidebar-footer {
  margin-top: auto;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-primary);
}

.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  text-align: center;
  padding: var(--spacing-md);
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(255, 68, 119, 0.3);
}

.pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.pill:hover::before {
  left: 100%;
}

.pill:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 15px 40px rgba(255, 68, 119, 0.4),
    0 0 30px rgba(255, 68, 119, 0.3);
}

.pill-icon {
  font-size: 18px;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(180deg); }
}

.discount {
  display: block;
  font-size: 11px;
  opacity: 0.9;
  margin-top: 4px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: auto;
  margin-right: auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
}

.footer-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 68, 119, 0.1);
  transform: translateX(4px);
}

/* ===== MOBILE MENU TOGGLE ===== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: var(--spacing-sm);
  left: var(--spacing-sm);
  z-index: 1001;
  background: var(--bg-sidebar);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

/* ===== CARD ENHANCEMENTS ===== */
.card {
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: all 0.4s ease;
  transform: scaleX(0);
  transform-origin: left;
}

.card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.card:hover .name-row h3 {
  color: var(--accent-primary);
  text-shadow: 0 0 20px rgba(255, 68, 119, 0.5);
}

.card:hover .age {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(255, 68, 119, 0.4);
}

.card:hover .desc {
  color: var(--text-primary);
}

.card:hover .interactions {
  color: var(--accent-blue);
  text-shadow: 0 0 10px rgba(0, 211, 183, 0.5);
}

/* ===== NAME ROW ENHANCEMENTS ===== */
.name-row h3 {
  transition: all 0.3s ease;
}

.age {
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 68, 119, 0.3);
}

.desc {
  transition: all 0.3s ease;
}

.interactions {
  transition: all 0.3s ease;
}

/* ===== ADDITIONAL ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes glow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(255, 68, 119, 0.3);
  }
  50% { 
    box-shadow: 0 0 40px rgba(255, 68, 119, 0.6);
  }
}

.card:hover {
  animation: glow 2s ease-in-out infinite;
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 768px) {
  .card:hover {
    transform: translateY(-8px) scale(1.03);
  }
  
  .ai-text {
    font-size: 36px;
  }
  
  .girls-text {
    font-size: 24px;
    margin-top: -6px;
  }
  
  .nav-item {
    padding: var(--spacing-sm);
    font-size: 14px;
  }
  
  .nav-icon {
    font-size: 18px;
  }
}

/* ===== CHAT MENU MODAL ===== */
.chat-menu-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.chat-menu-content {
  background: var(--bg-card);
  border-radius: 25px;
  padding: 30px;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid var(--border-primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.chat-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-primary);
}

.chat-menu-header h2 {
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 32px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  background: var(--accent-primary);
  color: white;
  transform: scale(1.1);
}

.chat-models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.chat-model-card {
  background: rgba(58, 58, 90, 0.8);
  border-radius: 20px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  gap: 15px;
}

.chat-model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 68, 119, 0.3);
  border-color: var(--accent-primary);
}

.chat-model-card img {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  object-fit: cover;
  border: 2px solid var(--accent-primary);
  box-shadow: 0 0 20px rgba(255, 68, 119, 0.3);
}

.chat-model-info h3 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 5px 0;
}

.chat-model-info p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0 0 8px 0;
}

.chat-status {
  color: #00ff88;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

/* Responsive chat menu */
@media (max-width: 768px) {
  .chat-menu-content {
    padding: 20px;
    margin: 20px;
    width: calc(100% - 40px);
  }
  
  .chat-menu-header h2 {
    font-size: 24px;
  }
  
  .chat-models-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .chat-model-card {
    padding: 15px;
  }
  
  .chat-model-card img {
    width: 50px;
    height: 50px;
  }
}

/* ===== CHAT STYLES ===== */
.page--chat {
  display: flex;
  height: 100vh;
  background: var(--gradient-bg);
}

.sidebar {
  width: 280px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-primary);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}

.logo.small {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 48px;
  text-align: center;
  line-height: 1;
}

.logo.small .logo-main {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo.small .logo-main span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo.small .logo-subline {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

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

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: auto;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.side-link:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.side-link.active {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

.side-model {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  margin-top: 24px;
}

.side-model img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--border-primary);
}

.side-model .name {
  font-weight: 600;
  color: var(--text-primary);
}

.chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-primary);
}

.chat-avatar {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  object-fit: cover;
  object-position: center 30%;
  border: 3px solid var(--accent-primary);
  box-shadow: 0 0 20px rgba(255, 68, 119, 0.4);
  transition: all 0.3s ease;
  flex-shrink: 0;
  cursor: pointer;
}

.chat-info {
  flex: 1;
}

.chat-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.chat-mode-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mode-btn {
  border: 1px solid var(--border-primary);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mode-btn:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.mode-btn.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 68, 119, 0.35);
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.chat-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.messages {
  flex: 1;
  padding: 24px 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.message-wrapper {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.message-wrapper.user {
  flex-direction: row-reverse;
}

.message-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--border-primary);
  flex-shrink: 0;
}

.bubble {
  max-width: 70%;
  padding: 16px 20px;
  border-radius: 20px;
  position: relative;
}

.bubble.ai {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  color: var(--text-primary);
}

.bubble.me {
  background: var(--accent-primary);
  color: white;
  margin-left: auto;
}

.bubble.system {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-style: italic;
  margin: 0 auto;
}

.message-sender {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-accent);
}

.message-text {
  line-height: 1.5;
  word-wrap: break-word;
}

/* Ð¡Ñ‚Ð¸Ð»Ð¸ Ð´Ð»Ñ Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ð¹ Ð² Ñ‡Ð°Ñ‚Ðµ */
.message-image {
  margin: 16px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border-primary);
  transition: all var(--transition-normal);
}

.message-image:hover {
  border-color: var(--accent-primary);
  transform: scale(1.02);
}

.message-prompt {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.4;
  word-break: break-word;
}

.generated-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.generated-image:hover {
  transform: scale(1.05);
}

.message-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.emoji-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 0.9rem;
}

.emoji-btn:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.reactions {
  display: flex;
  gap: 4px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.reaction {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
}

@keyframes reactionPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.reaction {
  animation: reactionPop 0.3s ease-out;
}

.composer {
  display: flex;
  gap: 16px;
  padding: 24px 32px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-primary);
}

.composer input {
  flex: 1;
  padding: 16px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.composer input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(255, 68, 119, 0.1);
}

.composer input::placeholder {
  color: var(--text-muted);
}

.composer .btn {
  padding: 16px 32px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.composer .btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* ÐœÐ¾Ð´Ð°Ð»ÑŒÐ½Ð¾Ðµ Ð¾ÐºÐ½Ð¾ Ð´Ð»Ñ Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ð¹ */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.image-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
}

.image-modal-image {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

.image-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.image-modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

/* Ð£Ð²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ */
.gallery-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--accent-primary);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  z-index: 1001;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ÐÐ´Ð°Ð¿Ñ‚Ð¸Ð²Ð½Ð¾ÑÑ‚ÑŒ Ð´Ð»Ñ Ñ‡Ð°Ñ‚Ð° */
@media (max-width: 768px) {
  .page--chat {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-primary);
  }

  .chat-header {
    padding: 16px 20px;
  }

  .chat-avatar {
    width: 60px;
    height: 60px;
  }

  .messages {
    padding: 16px 20px;
  }

  .composer {
    padding: 16px 20px;
  }

  .bubble {
    max-width: 85%;
  }
}

/* ===== PERSONALITY TAGS ===== */
.personality-tags {
  display: flex;
  gap: 8px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.personality-tags.small {
  gap: 6px;
  margin: 8px 0;
}

.tag {
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
}

.tag:hover {
  transform: scale(1.05);
}

.personality-tags.small .tag {
  padding: 4px 10px;
  font-size: 11px;
}

/* Tag color variants */
.tag.dominant {
  background: var(--accent-primary);
  box-shadow: 0 2px 10px rgba(255, 68, 119, 0.3);
}

.tag.confident {
  background: var(--accent-blue);
  box-shadow: 0 2px 10px rgba(0, 211, 183, 0.3);
}

.tag.seductive {
  background: #ff6b9b;
  box-shadow: 0 2px 10px rgba(255, 107, 155, 0.3);
}

.tag.sweet {
  background: #f472b6;
  box-shadow: 0 2px 10px rgba(244, 114, 182, 0.3);
}

.tag.caring {
  background: #60a5fa;
  box-shadow: 0 2px 10px rgba(96, 165, 250, 0.3);
}

.tag.submissive {
  background: var(--accent-purple);
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
}

/* ===== COMPACT HERO ===== */
.hero.compact {
  padding: 20px 0 15px;
  margin-bottom: var(--spacing-lg);
}

.hero.compact h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0;
}

/* ===== GALLERY NAVIGATION ===== */
.gallery-nav {
  background: rgba(255, 68, 119, 0.2);
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  font-size: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gallery-nav:hover {
  background: var(--accent-primary);
  color: white;
  transform: scale(1.1);
}

.gallery-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.gallery-nav:disabled:hover {
  background: rgba(255, 68, 119, 0.2);
  color: var(--accent-primary);
  transform: none;
}

.gallery-counter {
  text-align: center;
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}

/* ===== LEGAL LINKS / FOOTERS ===== */
.legal-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--text-muted);
}

.legal-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.legal-links a:hover {
  color: var(--text-primary);
}

.legal-links span {
  color: var(--text-muted);
}

.site-legal-footer {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--border-primary);
  border-radius: 14px;
  background: rgba(18, 20, 30, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.home-main .site-legal-footer {
  margin-top: auto;
}

.chat-sidebar-footer {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border-primary);
  border-radius: 14px;
  background: rgba(18, 20, 30, 0.6);
}

.chat-sidebar-footer .legal-links {
  display: flex;
  justify-content: center;
}

/* ===== AGE GATE ===== */
body.age-gate-active {
  overflow: hidden !important;
}

body.age-gate-active > *:not(#ageGateOverlay) {
  pointer-events: none !important;
  user-select: none;
}

#ageGateOverlay,
#ageGateOverlay * {
  pointer-events: auto;
}

.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  isolation: isolate;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 68, 119, 0.18), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(124, 58, 237, 0.15), transparent 42%),
    rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: ageGateFadeIn 0.25s ease-out;
}

.age-gate-card {
  width: min(100%, 560px);
  max-height: min(90vh, 720px);
  overflow: auto;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(13, 15, 24, 0.86);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  animation: ageGateCardPop 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: center center;
}

.age-gate-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 68, 119, 0.35);
  background: rgba(255, 68, 119, 0.12);
  color: #ffc6d8;
  font-size: 0.8rem;
  font-weight: 600;
}

.age-gate-title {
  margin: 14px 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.15;
}

.age-gate-copy {
  margin: 0 0 18px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.age-gate-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.age-gate-checkbox input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: #ff4477;
  flex-shrink: 0;
}

.age-gate-checkbox span {
  color: var(--text-primary);
  line-height: 1.45;
}

.age-gate-error {
  min-height: 1.2em;
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: #ffb0c4;
}

.age-gate-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.age-gate-btn {
  flex: 1;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.age-gate-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
}

.age-gate-btn--primary {
  border-color: rgba(255, 68, 119, 0.55);
  background: linear-gradient(135deg, rgba(255, 68, 119, 0.95), rgba(255, 107, 155, 0.95));
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 68, 119, 0.25);
}

.age-gate-btn--primary:hover {
  box-shadow: 0 14px 30px rgba(255, 68, 119, 0.32);
  border-color: transparent;
}

.age-gate-btn--ghost {
  background: rgba(255, 255, 255, 0.02);
}

.age-gate-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.age-gate-legal a {
  color: var(--text-secondary);
  text-decoration: none;
}

.age-gate-legal a:hover {
  color: var(--text-primary);
}

@keyframes ageGateFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes ageGateCardPop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== LEGAL PAGES ===== */
.page--legal {
  min-height: 100vh;
  background: var(--gradient-bg);
}

.legal-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.legal-header-card,
.legal-content-card {
  border: 1px solid var(--border-primary);
  background: rgba(17, 19, 28, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
}

.legal-header-card {
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.legal-header-card h1 {
  margin: 6px 0 8px;
  color: var(--text-primary);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.legal-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.legal-subtitle {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 680px;
}

.legal-content-card {
  padding: 22px 24px;
}

.legal-meta {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-section + .legal-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-section h2 {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-size: 1.05rem;
}

.legal-section p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-section p + p {
  margin-top: 10px;
}

.legal-section a {
  color: var(--text-accent);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.legal-list li + li {
  margin-top: 6px;
}

@media (max-width: 768px) {
  .site-legal-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .chat-sidebar-footer .legal-links {
    justify-content: flex-start;
  }

  .age-gate-card {
    padding: 22px;
    border-radius: 20px;
  }

  .age-gate-actions {
    flex-direction: column;
  }

  .legal-header-card {
    flex-direction: column;
  }

  .legal-header-card .btn {
    width: 100%;
    text-align: center;
  }

  .legal-content-card {
    padding: 18px;
  }
}
