/* liebes-chat.de — Design System */
:root {
  --rose-50: #FFF8F8;
  --rose-100: #FFF0F1;
  --rose-200: #FCE2E5;
  --rose-300: #F8C9CE;
  --crimson: #DC3556;
  --crimson-600: #C42848;
  --crimson-700: #A81E3B;
  --plum: #2A1A3E;
  --plum-soft: #4A3666;
  --ink: #1B1426;
  --slate: #5C6171;
  --slate-light: #8A8F9C;
  --line: #EFE4E6;
  --line-strong: #E2D4D7;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(42,26,62,.04), 0 1px 3px rgba(42,26,62,.06);
  --shadow-md: 0 4px 12px rgba(42,26,62,.06), 0 2px 4px rgba(42,26,62,.04);
  --shadow-lg: 0 12px 32px rgba(42,26,62,.10), 0 4px 8px rgba(42,26,62,.05);
  --shadow-xl: 0 24px 60px rgba(42,26,62,.18);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--rose-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

.font-script { font-family: 'Allura', cursive; }
.font-serif { font-family: 'Lora', Georgia, serif; }

/* App shell */
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--rose-50);
}

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.topbar-nav { display: flex; align-items: center; gap: 28px; }
.topbar-nav a {
  color: var(--slate); text-decoration: none; font-weight: 500; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px;
  border-bottom: 2px solid transparent; transition: all .15s;
}
.topbar-nav a:hover { color: var(--ink); }
.topbar-nav a.active { color: var(--crimson); border-bottom-color: var(--crimson); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; transition: all .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--crimson); color: white; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, var(--shadow-sm); }
.btn-primary:hover { background: var(--crimson-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: white; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--crimson); color: var(--crimson); }
.btn-soft { background: var(--rose-200); color: var(--crimson-700); }
.btn-soft:hover { background: var(--rose-300); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; }
.btn-block { width: 100%; }

/* Cards & inputs */
.card {
  background: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.input, .textarea, .select {
  width: 100%; padding: 12px 14px;
  background: white;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 14px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(220,53,86,.12);
}
.input::placeholder { color: var(--slate-light); }

.label { display: block; font-size: 13px; font-weight: 500; color: var(--plum); margin-bottom: 6px; }

/* Checkbox */
.check {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--slate); cursor: pointer; user-select: none;
}
.check input { display: none; }
.check .box {
  width: 18px; height: 18px; border-radius: 4px;
  border: 1.5px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  background: white; transition: all .15s;
}
.check input:checked + .box { background: var(--crimson); border-color: var(--crimson); }
.check input:checked + .box::after {
  content: ''; width: 10px; height: 6px;
  border-left: 2px solid white; border-bottom: 2px solid white;
  transform: rotate(-45deg) translate(1px, -1px);
}

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600;
  background: var(--rose-200); color: var(--crimson-700);
}
.badge-online { background: #E5F7EC; color: #1F8A48; }
.badge-online::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #2BB673; }

/* Avatar */
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, var(--rose-200), var(--rose-300));
  color: var(--crimson-700); font-weight: 600;
  flex-shrink: 0;
}
.avatar svg { width: 100%; height: 100%; }

/* Page container */
.page { max-width: 1200px; margin: 0 auto; padding: 32px; width: 100%; }
.page-narrow { max-width: 720px; }
.page-wide { max-width: 1280px; }

.h1 { font-family: 'Lora', serif; font-weight: 600; font-size: 38px; color: var(--plum); margin: 0 0 8px; line-height: 1.15; letter-spacing: -.01em; }
.h2 { font-family: 'Lora', serif; font-weight: 600; font-size: 26px; color: var(--plum); margin: 0 0 6px; }
.h3 { font-weight: 600; font-size: 18px; color: var(--plum); margin: 0; }
.muted { color: var(--slate); }
.tiny { font-size: 12px; color: var(--slate-light); }

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pop { 0% { transform: scale(.9); opacity: 0; } 60% { transform: scale(1.04); opacity: 1; } 100% { transform: scale(1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fade-in { animation: fadeIn .35s ease both; }

/* Scrollbars */
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
*::-webkit-scrollbar-thumb:hover { background: var(--slate-light); }

/* Hero */
.hero {
  position: relative;
  padding: 80px 32px 100px;
  background:
    radial-gradient(ellipse 80% 60% at 80% 10%, var(--rose-200) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, var(--rose-200) 0%, transparent 60%),
    var(--rose-100);
  overflow: hidden;
}
.hero-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: white; color: var(--crimson-700);
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--rose-300);
}
.hero h1 {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.05; letter-spacing: -.02em;
  color: var(--plum); margin: 18px 0 16px;
}
.hero h1 em {
  font-family: 'Allura', cursive;
  color: var(--crimson);
  font-weight: 400; font-style: normal;
  font-size: 1.25em;
}
.hero p.lead { font-size: 17px; line-height: 1.55; color: var(--slate); max-width: 520px; margin: 0 0 28px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.trust-row { display: flex; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.trust-row .stat { display: flex; flex-direction: column; }
.trust-row .stat strong { font-family: 'Lora', serif; font-size: 24px; color: var(--plum); }
.trust-row .stat span { font-size: 13px; color: var(--slate); }

/* Member rotation band — horizontal marquee like classic dating sites */
.member-band {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.member-band-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.member-band:hover .member-band-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.member-band-card {
  flex-shrink: 0;
  width: 180px;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  transition: transform .2s ease;
}
.member-band-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.member-band-card .ph {
  width: 100%;
  aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.member-band-card .ph .initial {
  color: rgba(255,255,255,.92);
  font-family: 'Lora', serif;
  font-size: 56px;
  font-weight: 500;
}
.member-band-card .info { padding: 12px 14px; }
.member-band-card .info .name { font-weight: 600; color: var(--plum); font-size: 14px; }
.member-band-card .info .meta { font-size: 12px; color: var(--slate); margin-top: 2px; display: inline-flex; align-items: center; gap: 4px; }

/* Hero adjustments for full-width band */
.hero-grid.has-band { grid-template-columns: 1fr; gap: 32px; }
.hero-grid.has-band .hero-text { max-width: 720px; }

/* Section */
.section { padding: 80px 32px; }
.section-light { background: white; }
.section-rose { background: var(--rose-100); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 {
  font-family: 'Lora', serif; font-weight: 500;
  font-size: clamp(28px, 3.5vw, 40px); color: var(--plum);
  margin: 0 0 12px; line-height: 1.15; letter-spacing: -.01em;
}
.section-head h2 em { font-family: 'Allura', cursive; color: var(--crimson); font-style: normal; font-size: 1.2em; font-weight: 400; }
.section-head p { color: var(--slate); font-size: 16px; line-height: 1.55; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--rose-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: white; border: 1px solid var(--rose-300);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--crimson);
}
.feature h3 { font-family: 'Lora', serif; font-size: 20px; color: var(--plum); margin: 0 0 8px; }
.feature p { color: var(--slate); margin: 0; font-size: 14px; line-height: 1.55; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); position: relative; }
.step .num {
  font-family: 'Allura', cursive; font-size: 56px; line-height: 1;
  color: var(--crimson); margin-bottom: 4px;
}
.step h3 { font-family: 'Lora', serif; font-size: 20px; color: var(--plum); margin: 0 0 8px; }
.step p { color: var(--slate); font-size: 14px; line-height: 1.55; margin: 0; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: white; border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--line);
}
.testimonial .quote {
  font-family: 'Lora', serif; font-size: 17px; line-height: 1.5;
  color: var(--plum); margin: 0 0 18px;
}
.testimonial .who { display: flex; align-items: center; gap: 12px; }
.testimonial .who .name { font-weight: 600; color: var(--plum); font-size: 14px; }
.testimonial .who .meta { font-size: 12px; color: var(--slate); }

/* Footer */
.footer {
  background: var(--plum); color: rgba(255,255,255,.7);
  padding: 60px 32px 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer h4 { color: white; font-size: 14px; margin: 0 0 14px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,.65); text-decoration: none; font-size: 14px; }
.footer a:hover { color: white; }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 12px; }

/* Modal/overlay */
.overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(42,26,62,.5);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn .2s ease;
}
.modal {
  background: white; border-radius: var(--radius-xl);
  max-width: 460px; width: 100%;
  box-shadow: var(--shadow-xl);
  animation: pop .35s ease both;
  overflow: hidden;
}

/* Photo placeholder */
.photo-ph {
  background: linear-gradient(135deg, var(--rose-200) 0%, var(--rose-300) 100%);
  position: relative; overflow: hidden;
}
.photo-ph::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,.18) 12px 13px);
  pointer-events: none;
}
.photo-ph .initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif; font-size: 48px; color: rgba(255,255,255,.85); font-weight: 500;
  letter-spacing: -.02em;
}

/* Stepper (registration) */
.stepper { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; }
.step-dot {
  flex: 1; height: 4px; background: var(--line); border-radius: 999px;
  transition: background .25s;
}
.step-dot.active { background: var(--crimson); }
.step-dot.done { background: var(--crimson-600); }

/* Filter chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: white; border: 1.5px solid var(--line-strong);
  color: var(--slate); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all .15s;
  user-select: none;
}
.chip:hover { border-color: var(--crimson); color: var(--crimson); }
.chip.active { background: var(--crimson); border-color: var(--crimson); color: white; }

/* Slider */
.range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; background: var(--line); border-radius: 999px; outline: none;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--crimson); cursor: pointer;
  box-shadow: 0 0 0 4px rgba(220,53,86,.15);
}
.range::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--crimson); cursor: pointer; border: none;
}

/* Discovery grid */
.disc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.profile-card {
  background: white; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.profile-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.profile-card .photo { aspect-ratio: 3/4; }
.profile-card .photo .initials { font-size: 56px; }
.profile-card .body { padding: 12px 14px; }
.profile-card .name-row { display: flex; align-items: center; justify-content: space-between; }
.profile-card .name { font-weight: 600; color: var(--plum); font-size: 15px; }
.profile-card .age { color: var(--slate); font-size: 14px; }
.profile-card .loc { font-size: 12px; color: var(--slate-light); margin-top: 2px; display: flex; align-items: center; gap: 4px; }

/* Layout helpers */
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-10 { gap: 10px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.center { align-items: center; justify-content: center; }
.between { justify-content: space-between; }
.aic { align-items: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }

/* Additional app styles */
.msg-bubble { display: flex; flex-direction: column; max-width: 68%; margin-bottom: 12px; }
.msg-me { align-self: flex-end; align-items: flex-end; }
.msg-them { align-self: flex-start; align-items: flex-start; }
.msg-body {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}
.msg-me .msg-body { background: var(--crimson); color: white; border-bottom-right-radius: 4px; }
.msg-them .msg-body { background: white; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-time { font-size: 11px; color: var(--slate-light); margin-top: 4px; }

.msg-pending .msg-body { opacity: .6; }
.msg-pending::after { content: 'wird geprueft'; font-size: 10px; color: var(--slate-light); margin-top: 3px; }

.typing-dots { display: inline-flex; gap: 4px; align-items: center; }
.typing-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--slate-light); animation: bounce .8s ease infinite; }
.typing-dots span:nth-child(2) { animation-delay: .15s; }
.typing-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }

.profile-header { position: relative; }
.profile-photos-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4px; border-radius: var(--radius-lg); overflow: hidden; }
.profile-photos-grid .main-photo { grid-row: span 2; }
.profile-photo { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--rose-200); }

.mod-queue-item { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.mod-queue-item:last-child { border-bottom: none; }
.mod-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.mod-badge-pending { background: #FFF4D1; color: #8B5E0A; }
.mod-badge-approved { background: #E8F7F0; color: #1A6B40; }
.mod-badge-rejected { background: #FDE8EC; color: #A81E3B; }

@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes pop { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn .4s ease both; }
