/* ============================================================================
   landing.css — GratisChat.dk modern landing page
   Works on top of tabler.css / base styles already loaded by base.index.html
   ============================================================================ */

/* ── Custom properties ─────────────────────────────────────────────────────── */
:root {
  /* Brand accent — teal */
  --lp-accent: #0d9488;
  --lp-accent-dark: #0f766e;
  --lp-accent-light: #5eead4;
  --lp-accent-rgb: 13, 148, 136;

  /* ── Light theme palette (default) ────────────────────────────────────────
     Research-backed: Slate-50 base, pure white surfaces, slate text,
     clear neutral borders. WCAG AA on all text. Linear/Vercel/Stripe style.
  ── */
  --lp-bg: #f8fafc; /* Slate-50: crisp off-white base */
  --lp-surface: #ffffff; /* Pure white card/section surfaces */
  --lp-surface2: #f1f5f9; /* Slate-100: alternate section bg */
  --lp-border: rgba(15, 23, 42, 0.1); /* Neutral dark border, subtle depth */
  --lp-text: #0f172a; /* Slate-900: near-black, WCAG AAA */
  --lp-sub: #334155; /* Slate-700: strong secondary text */
  --lp-muted: #64748b; /* Slate-500: labels, captions */
  --lp-placeholder: #94a3b8; /* Slate-400: placeholders */

  /* Spacing / radii / motion */
  --lp-radius-sm: 10px;
  --lp-radius: 18px;
  --lp-radius-lg: 28px;
  --lp-shadow:
    0 1px 4px rgba(15, 23, 42, 0.06), 0 4px 16px rgba(15, 23, 42, 0.06);
  --lp-shadow-lg:
    0 4px 8px rgba(15, 23, 42, 0.06), 0 16px 40px rgba(15, 23, 42, 0.1);
  --lp-transition: 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Hero — always dark gradient (brand, not theme-dependent) */
  --lp-hero-from: #0f172a; /* Slate-900 */
  --lp-hero-to: #134e4a; /* Teal-900 */
  --lp-hero-text: #ffffff;
  --lp-hero-sub-text: rgba(255, 255, 255, 0.75);
  --lp-hero-stats-bg: rgba(255, 255, 255, 0.08);
  --lp-hero-stats-border: rgba(255, 255, 255, 0.14);
  --lp-hero-stat-value: #ffffff;
  --lp-hero-stat-label: rgba(255, 255, 255, 0.6);
  --lp-hero-sep: rgba(255, 255, 255, 0.16);
  --lp-hero-hint: rgba(255, 255, 255, 0.48);

  /* Sections */
  --lp-stats-bg: #ffffff;
  --lp-feat-bg: #ffffff;
  --lp-trust-bg: #f8fafc;
}

/* Dark theme overrides — .lp-wrap AND .lp-modal-backdrop (modal is outside .lp-wrap) */
html.theme-dark .lp-wrap,
html.theme-dark .lp-modal-backdrop,
html.dark .lp-wrap,
html.dark .lp-modal-backdrop,
body.theme-dark .lp-wrap,
body.theme-dark .lp-modal-backdrop,
body.dark .lp-wrap,
body.dark .lp-modal-backdrop {
  --lp-bg: #0b1120;
  --lp-surface: #131c2e;
  --lp-surface2: #0d1526;
  --lp-border: rgba(148, 163, 184, 0.12);
  --lp-text: #f1f5f9;
  --lp-sub: #94a3b8;
  --lp-muted: #64748b;
  --lp-placeholder: #475569;
  --lp-stats-bg: #0f172a;
  --lp-feat-bg: #1a2540;
  --lp-trust-bg: #0b1120;
  --lp-hero-from: #030712;
  --lp-hero-to: #0f2d27;
  --lp-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
  --lp-shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.48);
  --lp-modal-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5), 0 32px 64px rgba(0, 0, 0, 0.4);
}

/* TrueBlue theme overrides */
html.theme-trueblue .lp-wrap,
html.theme-trueblue .lp-modal-backdrop,
html.trueblue .lp-wrap,
html.trueblue .lp-modal-backdrop,
body.theme-trueblue .lp-wrap,
body.theme-trueblue .lp-modal-backdrop,
body.trueblue .lp-wrap,
body.trueblue .lp-modal-backdrop {
  --lp-accent: #60a5fa; /* Blue-400 — brighter, easier to see */
  --lp-accent-dark: #3b82f6; /* Blue-500 */
  --lp-accent-light: #bfdbfe; /* Blue-200 */
  --lp-accent-rgb: 96, 165, 250;
  --lp-bg: #0d1b2e; /* Deep navy page bg */
  --lp-surface: #1a2f4e; /* Card/modal bg — noticeably lighter than bg */
  --lp-surface2: #243d60; /* Input bg — clearly visible, not black */
  --lp-border: rgba(148, 196, 255, 0.22); /* Visible blue-tinted border */
  --lp-text: #f0f6ff; /* Near-white, max readability */
  --lp-sub: #bdd4f5; /* Light blue-grey — readable secondary text */
  --lp-muted: #7ba4d4; /* Medium blue — still readable for labels */
  --lp-placeholder: #5d84b0; /* Visible placeholder, not invisible */
  --lp-hero-from: #040d1e;
  --lp-hero-to: #0c1f4a;
  --lp-stats-bg: #142035;
  --lp-feat-bg: #1a2f4e;
  --lp-trust-bg: #0d1b2e;
  --lp-shadow: 0 4px 24px rgba(0, 0, 0, 0.32);
  --lp-shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.52);
  --lp-hero-stats-bg: rgba(255, 255, 255, 0.08);
  --lp-hero-stats-border: rgba(99, 155, 255, 0.28);
  --lp-modal-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5), 0 32px 64px rgba(0, 0, 0, 0.4);
}

/* Light theme — .lp-wrap AND .lp-modal-backdrop */
html:not(.theme-dark):not(.dark):not(.theme-trueblue):not(.trueblue) .lp-wrap,
html:not(.theme-dark):not(.dark):not(.theme-trueblue):not(.trueblue)
  .lp-modal-backdrop,
body:not(.theme-dark):not(.dark):not(.theme-trueblue):not(.trueblue) .lp-wrap,
body:not(.theme-dark):not(.dark):not(.theme-trueblue):not(.trueblue)
  .lp-modal-backdrop {
  --lp-bg: #f8fafc;
  --lp-surface: #ffffff;
  --lp-surface2: #f1f5f9;
  --lp-border: rgba(15, 23, 42, 0.1);
  --lp-shadow:
    0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.08);
  --lp-shadow-lg:
    0 4px 6px rgba(15, 23, 42, 0.05), 0 16px 32px rgba(15, 23, 42, 0.1);
  --lp-feat-bg: #ffffff;
  --lp-trust-bg: #f1f5f9;
  --lp-stats-bg: #ffffff;
  --lp-modal-shadow:
    0 8px 16px rgba(15, 23, 42, 0.08), 0 24px 56px rgba(15, 23, 42, 0.18);
  --lp-skeleton-from: #e2e8f0;
  --lp-skeleton-mid: #f1f5f9;
  --lp-skeleton-to: #e2e8f0;
}

/* ── Version badge — absolute inside .lp-hero, zero layout impact ─────────── */
.lp-version-badge {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
  user-select: none;
  pointer-events: none;
}
.lp-version-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 5px 1px rgba(34, 197, 94, 0.5);
  flex-shrink: 0;
  animation: lpVerDotPulse 2.4s ease-in-out infinite;
}
@keyframes lpVerDotPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}
@media (max-width: 600px) {
  .lp-version-badge {
    display: none;
  }
}

/* ── Wrapper ───────────────────────────────────────────────────────────────── */
.lp-wrap {
  background: var(--lp-bg);
  color: var(--lp-text);
  min-height: 100vh;
  font-family: inherit;
}

/* ============================================================================
   HERO
   ============================================================================ */
.lp-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: unset;
  padding: 5rem 1.5rem 3rem;
  background: linear-gradient(
    160deg,
    var(--lp-hero-from) 0%,
    var(--lp-hero-to) 100%
  );
  text-align: center;
}
/* Authenticated hero: compact, no giant min-height */
.lp-hero:has(.lp-auth-greeting) {
  min-height: unset;
  padding: 5rem 1.5rem 0.75rem;
  align-items: center;
}
/* Soft fade from hero into the next section — no hard edge */
.lp-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--lp-bg));
  pointer-events: none;
}

/* Animated blobs */
.lp-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.lp-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: lpBlobDrift 18s ease-in-out infinite alternate;
}
.lp-blob--a {
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(var(--lp-accent-rgb), 0.6),
    transparent 70%
  );
  top: -140px;
  left: -120px;
  animation-duration: 20s;
}
.lp-blob--b {
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(var(--lp-accent-rgb), 0.4),
    transparent 70%
  );
  bottom: -100px;
  right: -80px;
  animation-duration: 16s;
  animation-direction: alternate-reverse;
}
.lp-blob--c {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.22),
    transparent 70%
  );
  top: 40%;
  left: 55%;
  animation-duration: 24s;
}
@keyframes lpBlobDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -30px) scale(1.08);
  }
  100% {
    transform: translate(-20px, 50px) scale(0.96);
  }
}

.lp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  animation: lpFadeUp 0.7s ease both;
}

/* ============================================================================
   AUTHENTICATED HERO — greeting + quick-action cards
   ============================================================================ */

/* Greeting row: avatar + name */
.lp-auth-greeting {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.25rem;
}
.lp-auth-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(var(--lp-accent-rgb), 0.55);
  box-shadow: 0 0 0 4px rgba(var(--lp-accent-rgb), 0.15);
  flex-shrink: 0;
}
.lp-auth-greeting-text {
  text-align: left;
}
.lp-auth-greeting-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--lp-sub);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.lp-auth-greeting-name {
  margin: 0;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  color: var(--lp-hero-text, #fff);
  line-height: 1.1;
}

/* 6-card grid */
.lp-auth-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
  max-width: 640px;
}
.lp-auth-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.1rem 0.75rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #fff;
  transition:
    transform 0.18s,
    background 0.18s,
    box-shadow 0.18s,
    border-color 0.18s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lp-auth-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  color: #fff;
  text-decoration: none;
}
.lp-auth-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.lp-auth-card-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.lp-auth-card-sub {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* Per-card accent colours */
.lp-auth-card--chat .lp-auth-card-icon {
  background: linear-gradient(135deg, #0d9488, #0891b2);
}
.lp-auth-card--inbox .lp-auth-card-icon {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
}
.lp-auth-card--profile .lp-auth-card-icon {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
}
.lp-auth-card--forum .lp-auth-card-icon {
  background: linear-gradient(135deg, #f97316, #eab308);
}
.lp-auth-card--search .lp-auth-card-icon {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}
.lp-auth-card--settings .lp-auth-card-icon {
  background: linear-gradient(135deg, #64748b, #475569);
}

/* Active state border matches card colour */
.lp-auth-card--chat:hover {
  border-color: rgba(13, 148, 136, 0.5);
}
.lp-auth-card--inbox:hover {
  border-color: rgba(59, 130, 246, 0.5);
}
.lp-auth-card--profile:hover {
  border-color: rgba(168, 85, 247, 0.5);
}
.lp-auth-card--forum:hover {
  border-color: rgba(249, 115, 22, 0.5);
}
.lp-auth-card--search:hover {
  border-color: rgba(236, 72, 153, 0.5);
}
.lp-auth-card--settings:hover {
  border-color: rgba(100, 116, 139, 0.5);
}

/* The hero inner should be wider for auth users to fit the 3-col card grid */
.lp-hero-inner:has(.lp-auth-cards) {
  max-width: 800px;
  gap: 0.65rem;
}

/* Mobile: 2-col on small screens */
@media (max-width: 480px) {
  .lp-auth-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-auth-greeting {
    flex-direction: column;
    text-align: center;
  }
  .lp-auth-greeting-text {
    text-align: center;
  }
}
@keyframes lpFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lpLivePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }
}

/* Heading */
.lp-hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--lp-hero-text);
  margin: 0;
  letter-spacing: -0.02em;
}
.lp-hero-brand {
  display: inline-block;
  background: linear-gradient(
    110deg,
    #c084fc 0%,
    #a855f7 25%,
    #7c3aed 50%,
    #a855f7 75%,
    #e879f9 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: lpBrandShimmer 4s linear infinite;
}
@keyframes lpBrandShimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}
.lp-hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--lp-hero-sub-text);
  margin: 0;
  max-width: 560px;
}

/* Feature pills in hero */
.lp-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.lp-feat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    filter 0.18s ease,
    transform 0.18s ease;
}
.lp-feat:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.lp-feat .ti {
  font-size: 0.88rem;
}

/* Gratis Chat — teal (matches forum_home --chat pill) */
.lp-feat--chat {
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.28);
  background: linear-gradient(
    180deg,
    rgba(204, 251, 241, 0.96),
    rgba(153, 246, 228, 0.82)
  );
}
/* Webcam — blue */
.lp-feat--webcam {
  color: #1d4ed8;
  border-color: rgba(29, 78, 216, 0.28);
  background: linear-gradient(
    180deg,
    rgba(219, 234, 254, 0.96),
    rgba(191, 219, 254, 0.84)
  );
}
/* Mødekort — orange (matches --dating pill) */
.lp-feat--dating {
  color: #c2410c;
  border-color: rgba(194, 65, 12, 0.28);
  background: linear-gradient(
    180deg,
    rgba(255, 237, 213, 0.96),
    rgba(254, 215, 170, 0.84)
  );
}
/* Erotisk Forum — pink (matches --forum pill) */
.lp-feat--forum {
  color: #be185d;
  border-color: rgba(190, 24, 93, 0.28);
  background: linear-gradient(
    180deg,
    rgba(252, 231, 243, 0.96),
    rgba(251, 207, 232, 0.84)
  );
}
/* Talekanal — purple */
.lp-feat--voice {
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.28);
  background: linear-gradient(
    180deg,
    rgba(237, 233, 254, 0.96),
    rgba(221, 214, 254, 0.84)
  );
}
/* Anonym — slate/indigo */
.lp-feat--anon {
  color: #4338ca;
  border-color: rgba(67, 56, 202, 0.28);
  background: linear-gradient(
    180deg,
    rgba(224, 231, 255, 0.96),
    rgba(199, 210, 254, 0.84)
  );
}
/* Geografisk Søgning — teal/cyan */
.lp-feat--geo-search {
  color: #0f766e;
  border-color: rgba(20, 184, 166, 0.28);
  background: linear-gradient(
    180deg,
    rgba(204, 251, 241, 0.96),
    rgba(153, 246, 228, 0.84)
  );
}
/* Media — rose/pink */
.lp-feat--media {
  color: #be185d;
  border-color: rgba(236, 72, 153, 0.28);
  background: linear-gradient(
    180deg,
    rgba(252, 231, 243, 0.96),
    rgba(251, 207, 232, 0.84)
  );
}
/* XP & Spil — amber/yellow */
.lp-feat--xp {
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.28);
  background: linear-gradient(
    180deg,
    rgba(254, 243, 199, 0.96),
    rgba(253, 230, 138, 0.84)
  );
}

/* Dark / TrueBlue overrides — light-on-dark versions */
html.theme-dark .lp-feat--chat,
html.dark .lp-feat--chat,
body.theme-dark .lp-feat--chat,
body.dark .lp-feat--chat,
html.theme-trueblue .lp-feat--chat,
html.trueblue .lp-feat--chat,
body.theme-trueblue .lp-feat--chat,
body.trueblue .lp-feat--chat {
  color: #b7fff0;
  border-color: rgba(94, 234, 212, 0.32);
  background: linear-gradient(
    180deg,
    rgba(15, 118, 110, 0.42),
    rgba(15, 118, 110, 0.24)
  );
}
html.theme-dark .lp-feat--webcam,
html.dark .lp-feat--webcam,
body.theme-dark .lp-feat--webcam,
body.dark .lp-feat--webcam,
html.theme-trueblue .lp-feat--webcam,
html.trueblue .lp-feat--webcam,
body.theme-trueblue .lp-feat--webcam,
body.trueblue .lp-feat--webcam {
  color: #bfdbfe;
  border-color: rgba(96, 165, 250, 0.32);
  background: linear-gradient(
    180deg,
    rgba(29, 78, 216, 0.42),
    rgba(29, 78, 216, 0.24)
  );
}
html.theme-dark .lp-feat--dating,
html.dark .lp-feat--dating,
body.theme-dark .lp-feat--dating,
body.dark .lp-feat--dating,
html.theme-trueblue .lp-feat--dating,
html.trueblue .lp-feat--dating,
body.theme-trueblue .lp-feat--dating,
body.trueblue .lp-feat--dating {
  color: #fed7aa;
  border-color: rgba(249, 115, 22, 0.32);
  background: linear-gradient(
    180deg,
    rgba(194, 65, 12, 0.42),
    rgba(194, 65, 12, 0.24)
  );
}
html.theme-dark .lp-feat--forum,
html.dark .lp-feat--forum,
body.theme-dark .lp-feat--forum,
body.dark .lp-feat--forum,
html.theme-trueblue .lp-feat--forum,
html.trueblue .lp-feat--forum,
body.theme-trueblue .lp-feat--forum,
body.trueblue .lp-feat--forum {
  color: #ffd2ea;
  border-color: rgba(244, 114, 182, 0.34);
  background: linear-gradient(
    180deg,
    rgba(190, 24, 93, 0.42),
    rgba(190, 24, 93, 0.24)
  );
}
html.theme-dark .lp-feat--voice,
html.dark .lp-feat--voice,
body.theme-dark .lp-feat--voice,
body.dark .lp-feat--voice,
html.theme-trueblue .lp-feat--voice,
html.trueblue .lp-feat--voice,
body.theme-trueblue .lp-feat--voice,
body.trueblue .lp-feat--voice {
  color: #e9d5ff;
  border-color: rgba(167, 139, 250, 0.34);
  background: linear-gradient(
    180deg,
    rgba(124, 58, 237, 0.42),
    rgba(124, 58, 237, 0.24)
  );
}
html.theme-dark .lp-feat--anon,
html.dark .lp-feat--anon,
body.theme-dark .lp-feat--anon,
body.dark .lp-feat--anon,
html.theme-trueblue .lp-feat--anon,
html.trueblue .lp-feat--anon,
body.theme-trueblue .lp-feat--anon,
body.trueblue .lp-feat--anon {
  color: #c7d2fe;
  border-color: rgba(99, 102, 241, 0.34);
  background: linear-gradient(
    180deg,
    rgba(67, 56, 202, 0.42),
    rgba(67, 56, 202, 0.24)
  );
}
html.theme-dark .lp-feat--geo-search,
html.dark .lp-feat--geo-search,
body.theme-dark .lp-feat--geo-search,
body.dark .lp-feat--geo-search,
html.theme-trueblue .lp-feat--geo-search,
html.trueblue .lp-feat--geo-search,
body.theme-trueblue .lp-feat--geo-search,
body.trueblue .lp-feat--geo-search {
  color: #99f6e4;
  border-color: rgba(20, 184, 166, 0.34);
  background: linear-gradient(
    180deg,
    rgba(15, 118, 110, 0.42),
    rgba(13, 148, 136, 0.24)
  );
}
html.theme-dark .lp-feat--media,
html.dark .lp-feat--media,
body.theme-dark .lp-feat--media,
body.dark .lp-feat--media,
html.theme-trueblue .lp-feat--media,
html.trueblue .lp-feat--media,
body.theme-trueblue .lp-feat--media,
body.trueblue .lp-feat--media {
  color: #fbcfe8;
  border-color: rgba(236, 72, 153, 0.34);
  background: linear-gradient(
    180deg,
    rgba(190, 24, 93, 0.42),
    rgba(157, 23, 77, 0.24)
  );
}
html.theme-dark .lp-feat--xp,
html.dark .lp-feat--xp,
body.theme-dark .lp-feat--xp,
body.dark .lp-feat--xp,
html.theme-trueblue .lp-feat--xp,
html.trueblue .lp-feat--xp,
body.theme-trueblue .lp-feat--xp,
body.trueblue .lp-feat--xp {
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.34);
  background: linear-gradient(
    180deg,
    rgba(180, 83, 9, 0.42),
    rgba(146, 64, 14, 0.24)
  );
}

/* CTA buttons */
.lp-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.lp-cta-group--center {
  justify-content: center;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--lp-radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform var(--lp-transition),
    box-shadow var(--lp-transition),
    background var(--lp-transition);
  will-change: transform;
  white-space: nowrap;
}
.lp-btn:hover {
  transform: translateY(-2px);
}
.lp-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Register — green (Opret gratis konto) */
.lp-btn--primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  border-color: #16a34a;
  box-shadow: 0 4px 18px rgba(34, 197, 94, 0.4);
}
.lp-btn--primary:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
  border-color: #15803d;
  box-shadow: 0 8px 26px rgba(34, 197, 94, 0.55);
  color: #fff;
}
.lp-btn--primary:active {
  background: #15803d;
  border-color: #166534;
  color: #fff;
}

/* Login — blue (Log ind) */
.lp-btn--secondary {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
  box-shadow: 0 4px 18px rgba(24, 119, 242, 0.4);
}
.lp-btn--secondary:hover {
  background: #166fe5;
  border-color: #166fe5;
  box-shadow: 0 8px 26px rgba(24, 119, 242, 0.55);
  color: #fff;
}
.lp-btn--secondary:active {
  background: #1464cf;
  border-color: #1464cf;
  color: #fff;
}

/* Guest — orange (Gæstechat) */
.lp-btn--ghost {
  background: #f97316;
  color: #fff;
  border-color: #f97316;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.4);
}
.lp-btn--ghost:hover {
  background: #ea580c;
  border-color: #ea580c;
  box-shadow: 0 8px 26px rgba(249, 115, 22, 0.55);
  color: #fff;
}
.lp-btn--ghost:active {
  background: #c2410c;
  border-color: #c2410c;
  color: #fff;
}

/* Outline — orange ghost (used in final CTA banner for guest button) */
.lp-btn--outline {
  background: transparent;
  color: #f97316;
  border-color: rgba(249, 115, 22, 0.6);
}
.lp-btn--outline:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: #f97316;
  color: #fff;
}

.lp-btn--full {
  width: 100%;
}
.lp-btn--lg {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
}

.lp-hint {
  font-size: 0.72rem;
  color: var(--lp-hero-hint);
  margin: 0;
}

/* ============================================================================
   HERO INLINE STATS — embedded inside the hero, above the fold
   ============================================================================ */
.lp-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 0.25rem;
  padding: 0.9rem 1.25rem;
  border-radius: var(--lp-radius);
  background: var(--lp-hero-stats-bg);
  border: 1px solid var(--lp-hero-stats-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 100%;
  max-width: 640px;
}
/* Auth users: compact top bar, full width, smaller text */
.lp-hero-stats--top {
  max-width: 100%;
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--lp-radius-sm);
  justify-content: center;
}
.lp-hero-stats--top .lp-hero-stat {
  padding: 0.2rem 0.85rem;
  min-width: 0;
}
.lp-hero-stats--top .lp-hero-stat-value {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
}
.lp-hero-stats--top .lp-hero-stat-label {
  font-size: 0.6rem;
}
@media (max-width: 480px) {
  .lp-hero-stats--top {
    gap: 0;
    padding: 0.4rem 0.5rem;
  }
  .lp-hero-stats--top .lp-hero-stat {
    padding: 0.15rem 0.5rem;
  }
}
.lp-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.35rem 1.1rem;
  min-width: 90px;
}
.lp-hero-stat-value {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 900;
  color: var(--lp-hero-stat-value);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition:
    transform 0.25s var(--lp-transition),
    color 0.25s ease;
}
.lp-hero-stat-value.lp-stat-pop {
  transform: scale(1.14) translateY(-2px);
  color: var(--lp-accent-light);
}
.lp-hero-stat-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--lp-hero-stat-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.lp-hero-stat-dot {
  font-size: 0.45rem;
  color: #22c55e;
  animation: lpLivePulse 1.8s ease-in-out infinite;
}
.lp-hero-stat-sep {
  width: 1px;
  height: 32px;
  background: var(--lp-hero-sep);
  flex-shrink: 0;
  align-self: center;
}
@media (max-width: 540px) {
  .lp-hero-stats {
    gap: 0;
    padding: 0.7rem 0.5rem;
  }
  .lp-hero-stat {
    min-width: 70px;
    padding: 0.3rem 0.6rem;
  }
  .lp-hero-stat-sep {
    height: 24px;
  }
  .lp-hero-stat-value {
    font-size: 1.1rem;
  }
}
@media (max-width: 380px) {
  .lp-hero-stat-sep {
    display: none;
  }
  .lp-hero-stats {
    gap: 0.5rem;
  }
}

/* ============================================================================
   SECTIONS — shared layout
   ============================================================================ */
.lp-section {
  padding: 5rem 1.5rem;
}
.lp-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.lp-section-inner--narrow {
  max-width: 500px;
}
.lp-section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--lp-text);
  text-align: center;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.lp-section-sub {
  font-size: 1rem;
  color: var(--lp-sub);
  text-align: center;
  margin: 0 0 3rem;
}

/* ============================================================================
   HOW IT WORKS — steps
   ============================================================================ */
.lp-how {
  background: var(--lp-bg);
  /* Pull content up slightly so it visually sits in the hero-fade overlap */
  padding-top: 3rem;
}
.lp-steps {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.lp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 200px;
  max-width: 260px;
  position: relative;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 20px;
  padding: 1.75rem 1.25rem 1.5rem;
  box-shadow: var(--lp-shadow);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.lp-step.lp-visible {
  opacity: 1;
  transform: translateY(0);
}
.lp-step:nth-child(2).lp-visible {
  transition-delay: 0.1s;
}
.lp-step:nth-child(3).lp-visible {
  transition-delay: 0.2s;
}

.lp-step-icon {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform var(--lp-transition);
  flex-shrink: 0;
}
.lp-step:hover .lp-step-icon {
  transform: translateY(-4px) scale(1.06);
}
.lp-step-icon--1 {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: #fff;
}
.lp-step-icon--2 {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
}
.lp-step-icon--3 {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
}

.lp-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--lp-text);
  margin: 0 0 0.4rem;
}
.lp-step-desc {
  font-size: 0.85rem;
  color: var(--lp-sub);
  margin: 0;
  line-height: 1.6;
}
.lp-step-body {
  flex: 1;
}

/* Between-card connector arrows */
.lp-step-connector {
  display: none;
  color: var(--lp-muted);
  font-size: 1.4rem;
  flex-shrink: 0;
  align-self: center;
  opacity: 0.5;
}

@media (min-width: 700px) {
  .lp-steps {
    flex-wrap: nowrap;
    align-items: stretch;
  }
  .lp-step {
    flex-direction: column;
  }
  .lp-step-connector {
    display: flex;
    align-items: center;
  }
}

.lp-how-cta {
  text-align: center;
}

/* ============================================================================
   FEATURES GRID
   ============================================================================ */
.lp-features-section {
  background: var(--lp-bg);
}
.lp-feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.lp-feat-card {
  background: var(--lp-feat-bg);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--lp-shadow);
  transition:
    transform var(--lp-transition),
    box-shadow var(--lp-transition),
    border-color var(--lp-transition);
  opacity: 0;
  transform: translateY(20px);
}
.lp-feat-card.lp-visible {
  opacity: 1;
  transform: translateY(0);
}
.lp-feat-card:nth-child(2).lp-visible {
  transition-delay: 0.05s;
}
.lp-feat-card:nth-child(3).lp-visible {
  transition-delay: 0.1s;
}
.lp-feat-card:nth-child(4).lp-visible {
  transition-delay: 0.15s;
}
.lp-feat-card:nth-child(5).lp-visible {
  transition-delay: 0.2s;
}
.lp-feat-card:nth-child(6).lp-visible {
  transition-delay: 0.25s;
}
.lp-feat-card:nth-child(7).lp-visible {
  transition-delay: 0.3s;
}
.lp-feat-card:nth-child(8).lp-visible {
  transition-delay: 0.35s;
}
.lp-feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lp-shadow-lg);
  border-color: rgba(var(--lp-accent-rgb), 0.45);
}
.lp-feat-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.lp-feat-card--chat .lp-feat-card-icon {
  background: rgba(13, 148, 136, 0.12);
  color: #0d9488;
}
.lp-feat-card--pm .lp-feat-card-icon {
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
}
.lp-feat-card--webcam .lp-feat-card-icon {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}
.lp-feat-card--dating .lp-feat-card-icon {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}
.lp-feat-card--forum .lp-feat-card-icon {
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
}
.lp-feat-card--anon .lp-feat-card-icon {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}
.lp-feat-card--geo .lp-feat-card-icon {
  background: rgba(20, 184, 166, 0.12);
  color: #0d9488;
}
.lp-feat-card--voice .lp-feat-card-icon {
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
}

.lp-feat-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--lp-text);
  margin: 0 0 0.45rem;
}
.lp-feat-card-desc {
  font-size: 0.85rem;
  color: var(--lp-sub);
  margin: 0;
  line-height: 1.65;
}

/* ============================================================================
   AUTH MODAL  — 2025 best-practice rebuild
   ============================================================================ */

/* ── Animations ─────────────────────────────────────────────────────────── */
@keyframes lpBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes lpBackdropOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes lpModalIn {
  from {
    opacity: 0;
    transform: scale(0.93) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes lpModalOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
}
@keyframes lpPanelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Backdrop ───────────────────────────────────────────────────────────── */
.lp-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(8px) saturate(150%);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: lpBackdropIn 0.18s ease both;
}
.lp-modal-backdrop[hidden] {
  display: none;
}
.lp-modal-backdrop.is-closing {
  animation: lpBackdropOut 0.18s ease both;
}
.lp-modal-backdrop.is-closing .lp-modal {
  animation: lpModalOut 0.18s ease both;
}

/* ── Modal box ──────────────────────────────────────────────────────────── */
.lp-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 24px;
  box-shadow: var(
    --lp-modal-shadow,
    0 8px 20px rgba(0, 0, 0, 0.18),
    0 32px 64px rgba(0, 0, 0, 0.28)
  );
  padding: 0.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  animation: lpModalIn 0.26s cubic-bezier(0.34, 1.46, 0.64, 1) both;
}
/* Purple gradient top line */
.lp-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #a855f7, #7c3aed, #e879f9);
  border-radius: 24px 24px 0 0;
  pointer-events: none;
}

/* ── Drag handle (mobile) ───────────────────────────────────────────────── */
.lp-modal-handle {
  width: 40px;
  height: 4px;
  background: var(--lp-border);
  border-radius: 999px;
  margin: 0.75rem auto -0.25rem;
  flex-shrink: 0;
  display: none; /* shown only on mobile via MQ below */
}

/* ── Close button ───────────────────────────────────────────────────────── */
.lp-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lp-surface2, var(--lp-feat-bg));
  border: 1px solid var(--lp-border);
  color: var(--lp-muted);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    transform 0.2s;
  z-index: 1;
}
.lp-modal-close:hover,
.lp-modal-close:focus-visible {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
  transform: rotate(90deg);
  outline: none;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.lp-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding-top: 1rem;
  text-align: center;
}
.lp-modal-logo {
  font-size: 2.4rem;
  line-height: 1;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-modal-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--lp-text);
  margin: 0;
  letter-spacing: -0.025em;
}
.lp-modal-sub {
  font-size: 0.77rem;
  color: var(--lp-muted);
  margin: 0;
}

/* ── Segmented tab bar ──────────────────────────────────────────────────── */
.lp-modal-tabs {
  display: flex;
  gap: 0.2rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1.5px solid var(--lp-border);
  border-radius: 14px;
  padding: 0.3rem;
}
.lp-modal-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 0.5rem; /* taller — easier to tap */
  border: none;
  background: transparent;
  border-radius: 10px;
  font-size: 0.82rem; /* slightly bigger */
  font-weight: 700;
  color: var(--lp-sub); /* use sub not muted — more visible */
  cursor: pointer;
  transition:
    background 0.16s,
    color 0.16s,
    box-shadow 0.16s;
  white-space: nowrap;
  font-family: inherit;
}
/* Per-tab colour identities — icon tint when inactive */
#lp-modal-tab-register .ti {
  color: #2dd4bf;
} /* teal */
#lp-modal-tab-login .ti {
  color: #60a5fa;
} /* blue */
#lp-modal-tab-guest .ti {
  color: #fb923c;
} /* amber */

/* Inactive hover — tinted by tab colour */
#lp-modal-tab-register:hover:not(.lp-modal-tab--active) {
  color: #f0fdfa;
  background: rgba(45, 212, 191, 0.12);
}
#lp-modal-tab-login:hover:not(.lp-modal-tab--active) {
  color: #eff6ff;
  background: rgba(96, 165, 250, 0.12);
}
#lp-modal-tab-guest:hover:not(.lp-modal-tab--active) {
  color: #fff7ed;
  background: rgba(251, 146, 60, 0.12);
}

.lp-modal-tab .ti {
  font-size: 1rem;
}

/* Active pill — each tab gets its own gradient */
#lp-modal-tab-register.lp-modal-tab--active {
  background: linear-gradient(135deg, #0d9488, #0891b2);
  box-shadow:
    0 2px 10px rgba(13, 148, 136, 0.45),
    0 4px 16px rgba(13, 148, 136, 0.25);
}
#lp-modal-tab-login.lp-modal-tab--active {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  box-shadow:
    0 2px 10px rgba(59, 130, 246, 0.45),
    0 4px 16px rgba(59, 130, 246, 0.25);
}
#lp-modal-tab-guest.lp-modal-tab--active {
  background: linear-gradient(135deg, #f97316, #eab308);
  box-shadow:
    0 2px 10px rgba(249, 115, 22, 0.45),
    0 4px 16px rgba(249, 115, 22, 0.25);
}

.lp-modal-tab--active {
  color: #fff;
  box-shadow:
    0 2px 8px rgba(var(--lp-accent-rgb), 0.4),
    0 4px 16px rgba(var(--lp-accent-rgb), 0.25);
}
.lp-modal-tab:focus-visible {
  outline: 2px solid #a855f7;
  outline-offset: 2px;
}

/* ── Panel ──────────────────────────────────────────────────────────────── */
.lp-modal-panel {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  animation: lpPanelIn 0.2s ease both;
}
.lp-modal-panel--hidden {
  display: none;
}

/* ── CTA action rows ────────────────────────────────────────────────────── */
.lp-modal-cta-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  border: 1px solid transparent;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s,
    border-color 0.16s;
  text-align: left;
}
.lp-modal-cta-btn:hover,
.lp-modal-cta-btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

/* Primary — filled purple-ish accent */
.lp-modal-cta-btn--primary {
  background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-dark));
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(var(--lp-accent-rgb), 0.3);
  color: #fff;
}
.lp-modal-cta-btn--primary:hover,
.lp-modal-cta-btn--primary:focus-visible {
  box-shadow: 0 6px 20px rgba(var(--lp-accent-rgb), 0.42);
}
.lp-modal-cta-btn--primary .lp-modal-cta-icon {
  background: rgba(255, 255, 255, 0.18);
}

/* Outline — bordered */
.lp-modal-cta-btn--outline {
  background: var(--lp-surface);
  border-color: var(--lp-border);
  color: var(--lp-text);
  box-shadow: var(--lp-shadow);
}
.lp-modal-cta-btn--outline:hover,
.lp-modal-cta-btn--outline:focus-visible {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.lp-modal-cta-btn--outline .lp-modal-cta-icon {
  background: var(--lp-surface2, var(--lp-feat-bg));
  color: var(--lp-accent);
}

/* Ghost — subtle */
.lp-modal-cta-btn--ghost {
  background: var(--lp-surface2, var(--lp-feat-bg));
  border-color: var(--lp-border);
  color: var(--lp-text);
}
.lp-modal-cta-btn--ghost:hover,
.lp-modal-cta-btn--ghost:focus-visible {
  border-color: rgba(168, 85, 247, 0.35);
  background: rgba(168, 85, 247, 0.06);
}
.lp-modal-cta-btn--ghost .lp-modal-cta-icon {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
}

/* CTA parts */
.lp-modal-cta-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.lp-modal-cta-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.lp-modal-cta-text strong {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}
.lp-modal-cta-text small {
  font-size: 0.72rem;
  opacity: 0.72;
  font-weight: 500;
}
.lp-modal-cta-btn--primary .lp-modal-cta-text small {
  opacity: 0.82;
}
.lp-modal-cta-arrow {
  font-size: 1rem;
  opacity: 0.55;
  transition:
    transform 0.16s,
    opacity 0.16s;
  flex-shrink: 0;
}
.lp-modal-cta-btn:hover .lp-modal-cta-arrow,
.lp-modal-cta-btn:focus-visible .lp-modal-cta-arrow {
  transform: translateX(3px);
  opacity: 1;
}

/* ── Perks checklist ────────────────────────────────────────────────────── */
.lp-modal-perks {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.75rem;
  background: var(--lp-surface2, var(--lp-feat-bg));
  border-radius: 12px;
  border: 1px solid var(--lp-border);
}
.lp-modal-perks li {
  font-size: 0.77rem;
  color: var(--lp-sub);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.lp-modal-perks .ti {
  color: #22c55e;
  font-size: 0.82rem;
  flex-shrink: 0;
}

/* ── Divider ─────────────────────────────────────────────────────────────  */
.lp-modal-divider {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--lp-muted);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lp-modal-divider::before,
.lp-modal-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--lp-border);
}

/* ── Guest notice ─────────────────────────────────────────────────────── */
.lp-modal-guest-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.77rem;
  color: var(--lp-sub);
  background: var(--lp-surface2, var(--lp-feat-bg));
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  line-height: 1.5;
}
.lp-modal-guest-notice .ti {
  color: var(--lp-muted);
  margin-top: 1px;
  flex-shrink: 0;
}

/* ── Link button ──────────────────────────────────────────────────────── */
.lp-modal-link {
  background: none;
  border: none;
  color: var(--lp-accent);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 2px;
}
.lp-modal-link:hover {
  color: var(--lp-accent-dark);
  text-decoration-color: currentColor;
}

/* ── Fine print ───────────────────────────────────────────────────────── */
.lp-modal-fine {
  font-size: 0.72rem;
  color: var(--lp-muted);
  text-align: center;
  margin: 0;
  line-height: 1.6;
}

/* ── Mobile: bottom sheet ─────────────────────────────────────────────── */
@media (max-width: 520px) {
  .lp-modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .lp-modal {
    border-radius: 22px 22px 0 0;
    max-width: 100%;
    max-height: 92dvh;
    padding: 0 1.25rem 1.5rem;
    margin-top: auto;
    animation: lpSheetIn 0.28s cubic-bezier(0.34, 1.3, 0.64, 1) both;
  }
  .lp-modal-handle {
    display: block;
  }
  .lp-modal-close {
    top: 0.85rem;
    right: 0.85rem;
  }
}
@keyframes lpSheetIn {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Reduced motion ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .lp-modal-backdrop,
  .lp-modal,
  .lp-modal-panel {
    animation: none;
  }
}

/* ── Dark / TrueBlue modal — explicit colour enforcement ─────────────────── */
html.theme-dark .lp-modal,
html.dark .lp-modal,
body.theme-dark .lp-modal,
body.dark .lp-modal,
html.theme-trueblue .lp-modal,
html.trueblue .lp-modal,
body.theme-trueblue .lp-modal,
body.trueblue .lp-modal {
  color: var(--lp-text);
}
html.theme-dark .lp-modal-title,
html.dark .lp-modal-title,
body.theme-dark .lp-modal-title,
body.dark .lp-modal-title,
html.theme-trueblue .lp-modal-title,
html.trueblue .lp-modal-title,
body.theme-trueblue .lp-modal-title,
body.trueblue .lp-modal-title {
  color: var(--lp-text);
}
html.theme-dark .lp-modal-sub,
html.dark .lp-modal-sub,
body.theme-dark .lp-modal-sub,
body.dark .lp-modal-sub,
html.theme-dark .lp-modal-fine,
html.dark .lp-modal-fine,
body.theme-dark .lp-modal-fine,
body.dark .lp-modal-fine,
html.theme-trueblue .lp-modal-sub,
html.trueblue .lp-modal-sub,
body.theme-trueblue .lp-modal-sub,
body.trueblue .lp-modal-sub,
html.theme-trueblue .lp-modal-fine,
html.trueblue .lp-modal-fine,
body.theme-trueblue .lp-modal-fine,
body.trueblue .lp-modal-fine {
  color: var(--lp-muted);
}
html.theme-dark .lp-mform-input,
html.dark .lp-mform-input,
body.theme-dark .lp-mform-input,
body.dark .lp-mform-input,
html.theme-trueblue .lp-mform-input,
html.trueblue .lp-mform-input,
body.theme-trueblue .lp-mform-input,
body.trueblue .lp-mform-input {
  background: var(--lp-surface2);
  color: var(--lp-text);
  border-color: var(--lp-border);
  color-scheme: dark;
}
html.theme-dark .lp-mform-label,
html.dark .lp-mform-label,
body.theme-dark .lp-mform-label,
body.dark .lp-mform-label,
html.theme-trueblue .lp-mform-label,
html.trueblue .lp-mform-label,
body.theme-trueblue .lp-mform-label,
body.trueblue .lp-mform-label {
  color: var(--lp-sub);
}
html.theme-dark .lp-mform-agree span,
html.dark .lp-mform-agree span,
body.theme-dark .lp-mform-agree span,
body.dark .lp-mform-agree span,
html.theme-dark .lp-mform-remember span,
html.dark .lp-mform-remember span,
body.theme-dark .lp-mform-remember span,
body.dark .lp-mform-remember span,
html.theme-trueblue .lp-mform-agree span,
html.trueblue .lp-mform-agree span,
body.theme-trueblue .lp-mform-agree span,
body.trueblue .lp-mform-agree span,
html.theme-trueblue .lp-mform-remember span,
html.trueblue .lp-mform-remember span,
body.theme-trueblue .lp-mform-remember span,
body.trueblue .lp-mform-remember span {
  color: var(--lp-sub);
}
html.theme-dark .lp-modal-tab,
html.dark .lp-modal-tab,
body.theme-dark .lp-modal-tab,
body.dark .lp-modal-tab,
html.theme-trueblue .lp-modal-tab,
html.trueblue .lp-modal-tab,
body.theme-trueblue .lp-modal-tab,
body.trueblue .lp-modal-tab {
  color: var(--lp-sub); /* brighter than muted */
}
html.theme-dark .lp-modal-tab--active,
html.dark .lp-modal-tab--active,
body.theme-dark .lp-modal-tab--active,
body.dark .lp-modal-tab--active,
html.theme-trueblue .lp-modal-tab--active,
html.trueblue .lp-modal-tab--active,
body.theme-trueblue .lp-modal-tab--active,
body.trueblue .lp-modal-tab--active {
  /* Per-tab gradients override this via the #id rules above.
     This just ensures the text is always white on any coloured pill. */
  color: #fff;
}
html.theme-dark .lp-modal-perks,
html.dark .lp-modal-perks,
body.theme-dark .lp-modal-perks,
body.dark .lp-modal-perks,
html.theme-trueblue .lp-modal-perks,
html.trueblue .lp-modal-perks,
body.theme-trueblue .lp-modal-perks,
body.trueblue .lp-modal-perks {
  background: var(--lp-surface2);
  border-color: var(--lp-border);
}
html.theme-dark .lp-modal-perks li,
html.dark .lp-modal-perks li,
body.theme-dark .lp-modal-perks li,
body.dark .lp-modal-perks li,
html.theme-trueblue .lp-modal-perks li,
html.trueblue .lp-modal-perks li,
body.theme-trueblue .lp-modal-perks li,
body.trueblue .lp-modal-perks li {
  color: var(--lp-sub);
}
html.theme-dark .lp-modal-divider,
html.dark .lp-modal-divider,
body.theme-dark .lp-modal-divider,
body.dark .lp-modal-divider,
html.theme-trueblue .lp-modal-divider,
html.trueblue .lp-modal-divider,
body.theme-trueblue .lp-modal-divider,
body.trueblue .lp-modal-divider {
  color: var(--lp-muted);
}
html.theme-dark .lp-mform-forgot,
html.dark .lp-mform-forgot,
body.theme-dark .lp-mform-forgot,
body.dark .lp-mform-forgot,
html.theme-trueblue .lp-mform-forgot,
html.trueblue .lp-mform-forgot,
body.theme-trueblue .lp-mform-forgot,
body.trueblue .lp-mform-forgot {
  color: var(--lp-muted);
}
html.theme-dark .lp-mform-submit--ghost,
html.dark .lp-mform-submit--ghost,
body.theme-dark .lp-mform-submit--ghost,
body.dark .lp-mform-submit--ghost,
html.theme-trueblue .lp-mform-submit--ghost,
html.trueblue .lp-mform-submit--ghost,
body.theme-trueblue .lp-mform-submit--ghost,
body.trueblue .lp-mform-submit--ghost {
  background: var(--lp-feat-bg);
  color: var(--lp-text);
  border-color: var(--lp-border);
}
html.theme-dark .lp-modal-guest-notice,
html.dark .lp-modal-guest-notice,
body.theme-dark .lp-modal-guest-notice,
body.dark .lp-modal-guest-notice,
html.theme-trueblue .lp-modal-guest-notice,
html.trueblue .lp-modal-guest-notice,
body.theme-trueblue .lp-modal-guest-notice,
body.trueblue .lp-modal-guest-notice {
  color: var(--lp-sub);
  background: var(--lp-surface2);
  border-color: var(--lp-border);
}

/* ============================================================================
   AUTH MODAL — INLINE FORMS  (.lp-mform)
   ============================================================================ */

.lp-mform {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Two-col row on wider modal */
.lp-mform-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
@media (max-width: 400px) {
  .lp-mform-row {
    grid-template-columns: 1fr;
  }
}

/* Field wrapper */
.lp-mform-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* Label — larger, brighter, easier to scan */
.lp-mform-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lp-sub);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.lp-mform-label .ti {
  font-size: 0.85rem;
  color: var(--lp-accent);
}

/* Forgot-password link inside label */
.lp-mform-forgot {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lp-accent-light, var(--lp-accent));
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  transition: opacity 0.15s;
}
.lp-mform-forgot:hover {
  opacity: 0.75;
}

/* Required star */
.lp-mform-req {
  color: #f87171;
  font-size: 0.85em;
}

/* Input & select — taller, bigger text, high contrast bg */
.lp-mform-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--lp-surface2, var(--lp-feat-bg));
  border: 2px solid var(--lp-border);
  border-radius: 12px;
  color: var(--lp-text);
  font-size: 1rem; /* up from 0.875 — easier to read for older users */
  font-family: inherit;
  transition:
    border-color 0.16s,
    box-shadow 0.16s,
    background 0.16s;
  outline: none;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: light dark;
}
.lp-mform-input::placeholder {
  color: var(--lp-placeholder);
  opacity: 1;
}
.lp-mform-input:focus {
  border-color: var(--lp-accent);
  background: var(--lp-surface); /* brighten on focus */
  box-shadow: 0 0 0 3px rgba(var(--lp-accent-rgb), 0.22);
}
.lp-mform-input:invalid:not(:placeholder-shown) {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}
.lp-mform-select {
  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='%2393b4e8' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* ── City autocomplete dropdown ───────────────────────────────────────────── */
.lp-mform-autocomplete-wrap {
  position: relative;
}
.lp-mform-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--lp-surface);
  border: 2px solid var(--lp-accent);
  border-radius: 12px;
  margin: 0;
  padding: 0.3rem 0;
  list-style: none;
  max-height: 200px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  overscroll-behavior: contain;
}
.lp-mform-dropdown[hidden] {
  display: none;
}
.lp-mform-dropdown li {
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  color: var(--lp-text);
  cursor: pointer;
  transition:
    background 0.1s,
    color 0.1s;
  border-radius: 8px;
  margin: 0.15rem 0.3rem;
}
.lp-mform-dropdown li:hover,
.lp-mform-dropdown li[aria-selected="true"] {
  background: rgba(var(--lp-accent-rgb), 0.18);
  color: var(--lp-accent-light, var(--lp-accent));
}
.lp-mform-dropdown li strong {
  color: var(--lp-accent);
  font-weight: 700;
}

/* Password field wrapper */
.lp-mform-pw-wrap {
  position: relative;
}
.lp-mform-pw-wrap .lp-mform-input {
  padding-right: 3rem;
}
.lp-mform-eye {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--lp-sub);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.lp-mform-eye:hover {
  color: var(--lp-accent);
}

/* Policy agree checkbox */
.lp-mform-agree {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  background: rgba(var(--lp-accent-rgb), 0.06);
  border: 1px solid rgba(var(--lp-accent-rgb), 0.15);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
}
.lp-mform-agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--lp-accent);
  cursor: pointer;
}
.lp-mform-agree span {
  font-size: 0.75rem;
  color: var(--lp-sub);
  line-height: 1.55;
}
.lp-mform-agree a {
  color: var(--lp-accent-light, var(--lp-accent));
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Remember me */
.lp-mform-remember {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
}
.lp-mform-remember input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--lp-accent);
  cursor: pointer;
}
.lp-mform-remember span {
  font-size: 0.82rem;
  color: var(--lp-sub);
}

/* Submit button — full-width, tall, vivid */
.lp-mform-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(var(--lp-accent-rgb), 0.38);
  transition:
    transform 0.16s,
    box-shadow 0.16s;
  letter-spacing: 0.01em;
  margin-top: 0.25rem;
}
.lp-mform-submit:hover,
.lp-mform-submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--lp-accent-rgb), 0.52);
  outline: none;
}
.lp-mform-submit:active {
  transform: translateY(0);
}

/* Ghost variant for guest — clearly visible border */
.lp-mform-submit--ghost {
  background: rgba(var(--lp-accent-rgb), 0.1);
  color: var(--lp-text);
  border: 2px solid rgba(var(--lp-accent-rgb), 0.35);
  box-shadow: none;
}
.lp-mform-submit--ghost:hover,
.lp-mform-submit--ghost:focus-visible {
  background: rgba(var(--lp-accent-rgb), 0.18);
  border-color: rgba(var(--lp-accent-rgb), 0.6);
  box-shadow: 0 4px 12px rgba(var(--lp-accent-rgb), 0.2);
}

/* ── Sex/gender selection — icon-based radio buttons ─────────────────────── */
.lp-mform-sex-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lp-mform-sex-choice {
  flex: 1;
  min-width: calc(20% - 0.4rem);
  position: relative;
}

.lp-mform-sex-choice input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.lp-mform-sex-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 0.5rem;
  background: var(--lp-surface2, var(--lp-feat-bg));
  border: 2px solid var(--lp-border);
  border-radius: 12px;
  color: var(--lp-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition:
    border-color 0.16s,
    background 0.16s,
    color 0.16s,
    transform 0.16s;
}

/* Default icon colors (subtle gender-specific tint) */
.lp-mform-sex-choice:nth-child(1) .lp-mform-sex-icon {
  color: #3b82f6;
  opacity: 0.7;
}
.lp-mform-sex-choice:nth-child(2) .lp-mform-sex-icon {
  color: #ec4899;
  opacity: 0.7;
}
.lp-mform-sex-choice:nth-child(3) .lp-mform-sex-icon {
  color: #a855f7;
  opacity: 0.7;
}
.lp-mform-sex-choice:nth-child(4) .lp-mform-sex-icon {
  color: #22c55e;
  opacity: 0.7;
}
.lp-mform-sex-choice:nth-child(5) .lp-mform-sex-icon {
  color: #f97316;
  opacity: 0.7;
}

/* Full opacity on hover and selected */
.lp-mform-sex-choice:hover .lp-mform-sex-icon,
.lp-mform-sex-choice input[type="radio"]:checked + .lp-mform-sex-icon {
  opacity: 1;
}

.lp-mform-sex-label {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lp-muted);
  margin-top: 0.35rem;
  transition: color 0.16s;
}

.lp-mform-sex-choice input[type="radio"]:checked + .lp-mform-sex-icon {
  transform: translateY(-2px);
}

/* Gender-specific colors when selected */
/* Male - Blue */
.lp-mform-sex-choice:nth-child(1)
  input[type="radio"]:checked
  + .lp-mform-sex-icon {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.lp-mform-sex-choice:nth-child(1)
  input[type="radio"]:checked
  ~ .lp-mform-sex-label {
  color: #3b82f6;
}

/* Female - Pink */
.lp-mform-sex-choice:nth-child(2)
  input[type="radio"]:checked
  + .lp-mform-sex-icon {
  border-color: #ec4899;
  background: rgba(236, 72, 153, 0.15);
  color: #ec4899;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}
.lp-mform-sex-choice:nth-child(2)
  input[type="radio"]:checked
  ~ .lp-mform-sex-label {
  color: #ec4899;
}

/* Trans - Purple */
.lp-mform-sex-choice:nth-child(3)
  input[type="radio"]:checked
  + .lp-mform-sex-icon {
  border-color: #a855f7;
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}
.lp-mform-sex-choice:nth-child(3)
  input[type="radio"]:checked
  ~ .lp-mform-sex-label {
  color: #a855f7;
}

/* Couple - Green */
.lp-mform-sex-choice:nth-child(4)
  input[type="radio"]:checked
  + .lp-mform-sex-icon {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}
.lp-mform-sex-choice:nth-child(4)
  input[type="radio"]:checked
  ~ .lp-mform-sex-label {
  color: #22c55e;
}

/* Other - Orange */
.lp-mform-sex-choice:nth-child(5)
  input[type="radio"]:checked
  + .lp-mform-sex-icon {
  border-color: #f97316;
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}
.lp-mform-sex-choice:nth-child(5)
  input[type="radio"]:checked
  ~ .lp-mform-sex-label {
  color: #f97316;
}

/* Gender-specific hover states */
.lp-mform-sex-choice:nth-child(1):hover .lp-mform-sex-icon {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.08);
  color: #3b82f6;
}

.lp-mform-sex-choice:nth-child(2):hover .lp-mform-sex-icon {
  border-color: rgba(236, 72, 153, 0.5);
  background: rgba(236, 72, 153, 0.08);
  color: #ec4899;
}

.lp-mform-sex-choice:nth-child(3):hover .lp-mform-sex-icon {
  border-color: rgba(168, 85, 247, 0.5);
  background: rgba(168, 85, 247, 0.08);
  color: #a855f7;
}

.lp-mform-sex-choice:nth-child(4):hover .lp-mform-sex-icon {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.08);
  color: #22c55e;
}

.lp-mform-sex-choice:nth-child(5):hover .lp-mform-sex-icon {
  border-color: rgba(249, 115, 22, 0.5);
  background: rgba(249, 115, 22, 0.08);
  color: #f97316;
}

.lp-mform-sex-choice input[type="radio"]:focus-visible + .lp-mform-sex-icon {
  outline: 2px solid var(--lp-accent);
  outline-offset: 2px;
}

/* Full-width field variant */
.lp-mform-field--full {
  grid-column: 1 / -1;
}

/* ============================================================================
   TRUST ROW
   ============================================================================ */
.lp-trust {
  background: var(--lp-trust-bg);
  padding: 3.5rem 1.5rem;
}
.lp-trust-row {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-around;
  align-items: center;
}
.lp-trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.lp-trust-item.lp-visible {
  opacity: 1;
  transform: translateY(0);
}
.lp-trust-item:nth-child(2).lp-visible {
  transition-delay: 0.08s;
}
.lp-trust-item:nth-child(3).lp-visible {
  transition-delay: 0.16s;
}
.lp-trust-item:nth-child(4).lp-visible {
  transition-delay: 0.24s;
}
.lp-trust-item > .ti {
  font-size: 2rem;
  color: var(--lp-accent);
  flex-shrink: 0;
}
.lp-trust-num {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--lp-text);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.lp-trust-label {
  display: block;
  font-size: 0.75rem;
  color: var(--lp-muted);
  font-weight: 600;
}

/* ============================================================================
   FINAL CTA BANNER
   ============================================================================ */
.lp-final-cta {
  background: linear-gradient(135deg, var(--lp-hero-from), var(--lp-hero-to));
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lp-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 30% 50%,
      rgba(var(--lp-accent-rgb), 0.25),
      transparent 60%
    ),
    radial-gradient(
      circle at 75% 60%,
      rgba(245, 158, 11, 0.15),
      transparent 55%
    );
  pointer-events: none;
}
.lp-final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lp-final-cta-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--lp-hero-text);
  margin: 0;
  letter-spacing: -0.02em;
}
.lp-final-cta-sub {
  font-size: 1rem;
  color: var(--lp-hero-sub-text);
  margin: 0;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 600px) {
  .lp-hero {
    min-height: 80vh;
    padding: 4rem 1rem 3rem;
  }
  .lp-hero-title {
    font-size: 1.9rem;
  }
  .lp-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .lp-cta-group .lp-btn {
    width: 100%;
    justify-content: center;
  }
  .lp-section {
    padding: 3rem 1rem;
  }
  .lp-feat-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   STRIP HEADERS — shared by Top Donors + Posts sections
   ============================================================================ */
.lp-strip-header {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}
.lp-strip-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--lp-text);
  letter-spacing: -0.02em;
}
.lp-strip-title > .ti {
  font-size: 1.3em;
  color: var(--lp-accent);
}
.lp-strip-title h2 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
  color: inherit;
}
.lp-strip-sub {
  font-size: 0.85rem;
  color: var(--lp-sub);
  margin: 0;
}

/* ============================================================================
   TOP CHATTERE
   ============================================================================ */
.lp-top-donors {
  background: var(--lp-surface2, var(--lp-surface));
}

/* ── Layout: podium (top 3) + pill grid (4-13) ───────────────────────────── */
.lp-donors-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Top-3 podium row */
.lp-donors-podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

/* Grid for ranks 4+ */
.lp-donors-rest {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

/* ── Skeleton ────────────────────────────────────────────────────────────── */
:root {
  --lp-skeleton-from: #e2e8f0;
  --lp-skeleton-mid: #f8fafc;
  --lp-skeleton-to: #e2e8f0;
}
html.theme-dark .lp-wrap,
html.dark .lp-wrap,
body.theme-dark .lp-wrap,
body.dark .lp-wrap,
html.theme-trueblue .lp-wrap,
html.trueblue .lp-wrap,
body.theme-trueblue .lp-wrap,
body.trueblue .lp-wrap {
  --lp-skeleton-from: var(--lp-border);
  --lp-skeleton-mid: rgba(255, 255, 255, 0.04);
  --lp-skeleton-to: var(--lp-border);
}
.lp-donor-skeleton {
  border-radius: 18px;
  height: 130px;
  background: linear-gradient(
    90deg,
    var(--lp-skeleton-from) 25%,
    var(--lp-skeleton-mid) 50%,
    var(--lp-skeleton-to) 75%
  );
  background-size: 200% 100%;
  animation: lpSkeleton 1.4s ease infinite;
}
.lp-donor-skeleton--pill {
  border-radius: 999px;
  height: 40px;
  width: 110px;
}
@keyframes lpSkeleton {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ── Podium cards (top 3) ────────────────────────────────────────────────── */
.lp-donor-podium-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.6rem 0.75rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--lp-border);
  background: var(--lp-feat-bg);
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  overflow: hidden;
  cursor: default;
}
a.lp-donor-podium-card {
  cursor: pointer;
}

/* Shimmer top band */
.lp-donor-podium-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  background: var(--lp-border);
}

.lp-donor-podium-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* Rank 1 — gold */
.lp-donor-podium-card.lp-donor-rank-1 {
  border-color: rgba(251, 191, 36, 0.5);
  background: linear-gradient(
    160deg,
    rgba(251, 191, 36, 0.08) 0%,
    var(--lp-feat-bg) 60%
  );
}
.lp-donor-podium-card.lp-donor-rank-1::before {
  background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
}
@keyframes lpGoldGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
  }
  50% {
    box-shadow: 0 0 24px 6px rgba(251, 191, 36, 0.25);
  }
}
.lp-donor-podium-card.lp-donor-rank-1 {
  animation: lpGoldGlow 3s ease-in-out infinite;
}
.lp-donor-podium-card.lp-donor-rank-1:hover {
  animation: none;
}

/* Rank 2 — silver */
.lp-donor-podium-card.lp-donor-rank-2 {
  border-color: rgba(148, 163, 184, 0.45);
  background: linear-gradient(
    160deg,
    rgba(148, 163, 184, 0.07) 0%,
    var(--lp-feat-bg) 60%
  );
}
.lp-donor-podium-card.lp-donor-rank-2::before {
  background: linear-gradient(90deg, #cbd5e1, #94a3b8, #cbd5e1);
}

/* Rank 3 — bronze */
.lp-donor-podium-card.lp-donor-rank-3 {
  border-color: rgba(234, 88, 12, 0.4);
  background: linear-gradient(
    160deg,
    rgba(234, 88, 12, 0.07) 0%,
    var(--lp-feat-bg) 60%
  );
}
.lp-donor-podium-card.lp-donor-rank-3::before {
  background: linear-gradient(90deg, #fdba74, #ea580c, #fdba74);
}

/* Crown / medal badge */
.lp-donor-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.1rem;
  line-height: 1;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

/* Rank number label (top-left) */
.lp-donor-rank-label {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--lp-muted);
}
.lp-donor-rank-1 .lp-donor-rank-label {
  color: #f59e0b;
}
.lp-donor-rank-2 .lp-donor-rank-label {
  color: #94a3b8;
}
.lp-donor-rank-3 .lp-donor-rank-label {
  color: #ea580c;
}

/* Avatar */
.lp-donor-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--lp-border);
  background: var(--lp-bg);
  flex-shrink: 0;
}
.lp-donor-rank-1 .lp-donor-avatar {
  border-color: #f59e0b;
  width: 72px;
  height: 72px;
}
.lp-donor-rank-2 .lp-donor-avatar {
  border-color: #94a3b8;
}
.lp-donor-rank-3 .lp-donor-avatar {
  border-color: #ea580c;
}

/* Name */
.lp-donor-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--lp-text);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.lp-donor-rank-1 .lp-donor-name {
  font-size: 0.9rem;
  color: #fbbf24;
}
.lp-donor-rank-2 .lp-donor-name {
  color: #cbd5e1;
}
.lp-donor-rank-3 .lp-donor-name {
  color: #fdba74;
}

/* Score/activity label */
.lp-donor-activity {
  font-size: 0.65rem;
  color: var(--lp-muted);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ── Pill cards (rank 4-13) ──────────────────────────────────────────────── */
.lp-donor-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--lp-border);
  background: var(--lp-feat-bg);
  text-decoration: none;
  cursor: default;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  max-width: 160px;
}
a.lp-donor-pill {
  cursor: pointer;
}
.lp-donor-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--lp-accent-rgb), 0.45);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.lp-donor-pill-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lp-border);
  background: var(--lp-bg);
  flex-shrink: 0;
}
.lp-donor-pill-inner {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.lp-donor-pill-rank {
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--lp-muted);
  line-height: 1;
  letter-spacing: 0.04em;
}
.lp-donor-pill-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lp-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 110px;
  line-height: 1.3;
}

/* Empty state */
.lp-donors-empty {
  text-align: center;
  padding: 2.5rem;
  color: var(--lp-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Responsive */
@media (max-width: 575px) {
  .lp-donors-podium {
    grid-template-columns: repeat(3, 1fr);
  }
  .lp-donor-avatar {
    width: 48px;
    height: 48px;
  }
  .lp-donor-rank-1 .lp-donor-avatar {
    width: 54px;
    height: 54px;
  }
}

/* ============================================================================
   NYESTE OPSLAG
   ============================================================================ */
.lp-posts {
  background: var(--lp-bg);
}
.lp-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.lp-post-card {
  background: var(--lp-feat-bg);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: relative;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  opacity: 0;
  transform: translateY(16px);
}
.lp-post-card.lp-visible {
  opacity: 1;
  transform: translateY(0);
}
.lp-post-card:nth-child(2).lp-visible {
  transition-delay: 0.05s;
}
.lp-post-card:nth-child(3).lp-visible {
  transition-delay: 0.1s;
}
.lp-post-card:nth-child(4).lp-visible {
  transition-delay: 0.15s;
}
.lp-post-card:nth-child(5).lp-visible {
  transition-delay: 0.2s;
}
.lp-post-card:nth-child(6).lp-visible {
  transition-delay: 0.25s;
}
.lp-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow-lg);
  border-color: rgba(var(--lp-accent-rgb), 0.4);
}

/* Stretched link overlay */
.lp-post-card-link {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
}

.lp-post-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
}
.lp-post-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lp-border);
  flex-shrink: 0;
}
.lp-post-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.lp-post-username {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lp-text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  z-index: 1;
}
.lp-post-username:hover {
  text-decoration: underline;
}
.lp-post-time {
  font-size: 0.7rem;
  color: var(--lp-muted);
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.lp-post-media-icon {
  font-size: 1rem;
  color: var(--lp-muted);
  margin-left: auto;
  flex-shrink: 0;
}
.lp-post-body {
  font-size: 0.85rem;
  color: var(--lp-sub);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}
.lp-post-footer {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}
.lp-post-go {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lp-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  transition: color 0.18s ease;
}
.lp-post-go:hover {
  color: var(--lp-accent-dark);
  text-decoration: underline;
}
.lp-posts-empty {
  text-align: center;
  padding: 2.5rem;
  color: var(--lp-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Gender colours — reuse existing username-gender-* classes from global CSS */
.lp-donor-name.username-gender-male,
.lp-post-username.username-gender-male {
  color: #3b82f6;
}
.lp-donor-name.username-gender-female,
.lp-post-username.username-gender-female {
  color: #ec4899;
}
.lp-donor-name.username-gender-trans,
.lp-post-username.username-gender-trans {
  color: #a855f7;
}
.lp-donor-name.username-gender-couple,
.lp-post-username.username-gender-couple {
  color: #f59e0b;
}
.lp-donor-name.username-gender-admin,
.lp-post-username.username-gender-admin {
  color: #ef4444;
}

/* ============================================================================
   REDUCED MOTION
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  .lp-blob,
  .lp-hero-stat-dot,
  .lp-hero-brand {
    animation: none;
  }
  .lp-hero-inner,
  .lp-step,
  .lp-feat-card,
  .lp-trust-item {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================================
   FAVOURITE ROOMS QUICK-JOIN STRIP  (authenticated hero)
   ============================================================================ */
.lp-fav-rooms {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 0.5rem;
}
.lp-fav-rooms-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f59e0b;
  margin-bottom: 0.55rem;
  padding: 0 0.1rem;
}
.lp-fav-rooms-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.lp-fav-room-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.15s ease,
    box-shadow 0.18s ease;
  white-space: nowrap;
}
.lp-fav-room-chip:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 0.65);
  color: #fde68a;
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.25);
  text-decoration: none;
}
/* .lp-fav-room-chip__icon / __icon-fallback removed — replaced by .lp-fav-room-chip__avatar */
.lp-fav-room-chip__name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-fav-room-chip__arrow {
  font-size: 11px;
  opacity: 0.6;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.lp-fav-room-chip:hover .lp-fav-room-chip__arrow {
  transform: translateX(2px);
  opacity: 1;
}

/* ============================================================================
   ROOM SEARCH & BROWSE  (authenticated dashboard)
   ============================================================================ */
.lp-roomsearch {
  background: var(--lp-bg);
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}
.lp-roomsearch .lp-section-title > .ti {
  color: var(--lp-accent);
  font-size: 1.1em;
  vertical-align: middle;
  margin-right: 0.35rem;
}

/* ── Search bar ─────────────────────────────────────────────────────────── */
.lp-rs-searchbar {
  position: relative;
  max-width: 540px;
  margin: 0 auto 2rem;
}
.lp-rs-searchbar__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lp-muted);
  font-size: 1rem;
  pointer-events: none;
}
.lp-rs-searchbar__input {
  width: 100%;
  padding: 0.75rem 2.6rem 0.75rem 2.8rem;
  border-radius: 999px;
  border: 1.5px solid var(--lp-border);
  background: var(--lp-surface);
  color: var(--lp-text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  box-shadow: var(--lp-shadow);
}
.lp-rs-searchbar__input::placeholder {
  color: var(--lp-placeholder);
}
.lp-rs-searchbar__input:focus {
  border-color: var(--lp-accent);
  box-shadow:
    0 0 0 3px rgba(var(--lp-accent-rgb), 0.15),
    var(--lp-shadow);
}
.lp-rs-searchbar__clear {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lp-muted);
  font-size: 0.85rem;
  opacity: 0;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition:
    opacity 0.15s ease,
    color 0.15s ease,
    background 0.15s ease;
  line-height: 1;
}
.lp-rs-searchbar__clear:hover {
  color: var(--lp-text);
  background: var(--lp-surface2);
}

/* ── Room card grid ─────────────────────────────────────────────────────── */
.lp-rs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

/* ── Skeleton loaders ───────────────────────────────────────────────────── */
.lp-rs-loading {
  display: contents; /* lets skeletons participate in the grid */
}
.lp-rs-skeleton {
  height: 130px;
  border-radius: var(--lp-radius);
  background: linear-gradient(
    90deg,
    var(--lp-surface) 25%,
    var(--lp-surface2) 50%,
    var(--lp-surface) 75%
  );
  background-size: 200% 100%;
  animation: lpSkeleton 1.4s ease infinite;
}

/* ── Individual room card ───────────────────────────────────────────────── */
.lp-rs-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 1.1rem;
  border-radius: var(--lp-radius);
  border: 1.5px solid var(--lp-border);
  background: var(--lp-feat-bg);
  color: var(--lp-text);
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  box-shadow: var(--lp-shadow);
}
.lp-rs-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lp-shadow-lg);
  border-color: var(--lp-accent);
  color: var(--lp-text);
  text-decoration: none;
}

/* VIP/Premium variant */
.lp-rs-card--vip {
  border-color: rgba(251, 191, 36, 0.35);
  background: linear-gradient(
    140deg,
    rgba(45, 25, 0, 0.5) 0%,
    var(--lp-feat-bg) 100%
  );
}
.lp-rs-card--vip:hover {
  border-color: rgba(251, 191, 36, 0.75);
}

/* Joined variant — subtle teal tint */
.lp-rs-card--joined {
  border-color: rgba(var(--lp-accent-rgb), 0.3);
}
.lp-rs-card--joined:hover {
  border-color: var(--lp-accent);
}

/* Card header */
.lp-rs-card__header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
/* .lp-rs-card__icon removed — replaced by .lp-rs-avatar CSS initials avatar */
.lp-rs-card__meta {
  flex: 1;
  min-width: 0;
}
.lp-rs-card__name {
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--lp-text);
}
.lp-rs-crown {
  color: #f59e0b;
  font-size: 0.75em;
  vertical-align: middle;
}
.lp-rs-card__badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.2rem;
}

/* Badges + online pill */
.lp-rs-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 1px 6px;
  border-radius: 99px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.lp-rs-badge--vip {
  background: linear-gradient(135deg, #d97706, #fbbf24);
  color: #1c1000;
}
.lp-rs-badge--joined {
  background: rgba(var(--lp-accent-rgb), 0.15);
  color: var(--lp-accent);
  border: 1px solid rgba(var(--lp-accent-rgb), 0.35);
}
.lp-rs-online {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  color: var(--lp-muted);
  font-weight: 600;
}
.lp-rs-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 5px rgba(34, 197, 94, 0.7);
  flex-shrink: 0;
  animation: lpDotPulse 2s ease-in-out infinite;
}
@keyframes lpDotPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.75);
  }
}

/* Description */
.lp-rs-card__desc {
  font-size: 0.8rem;
  color: var(--lp-sub);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer CTA */
.lp-rs-card__footer {
  margin-top: auto;
  padding-top: 0.3rem;
}
.lp-rs-card__cta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lp-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.15s ease;
}
.lp-rs-card:hover .lp-rs-card__cta {
  gap: 0.45rem;
}

/* Empty state */
.lp-rs-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--lp-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  grid-column: 1 / -1;
}

/* ── Room section headers inside the grid ──────────────────────────────── */
.lp-rs-section-hdr {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.1rem 0.1rem;
  margin-top: 0.25rem;
}
.lp-rs-section-hdr:first-child {
  margin-top: 0;
}
.lp-rs-section-hdr--vip {
  color: #f59e0b;
}
.lp-rs-section-hdr--vip .ti {
  color: #fbbf24;
}
.lp-rs-section-hdr--free {
  color: var(--lp-accent);
}
.lp-rs-section-hdr--free .ti {
  color: var(--lp-accent-light);
}

/* ── Room avatar (CSS initials, no image) ───────────────────────────────── */
.lp-rs-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  /* bg + color set inline by JS */
  transition: filter 0.18s ease;
}
.lp-rs-card:hover .lp-rs-avatar {
  filter: brightness(1.1);
}
/* VIP rooms — gold ring */
.lp-rs-card--vip .lp-rs-avatar {
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.6);
}

/* ── Favourite chip avatar (small, pill-shaped) ─────────────────────────── */
.lp-fav-room-chip__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fde68a;
  text-transform: uppercase;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .lp-rs-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Landing-only cookie notice (hardcoded) ─────────────────────────────── */
.lp-cookie-notice {
  position: fixed;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 1rem));
  z-index: 12000;
}
.lp-cookie-notice__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 20, 38, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}
.lp-cookie-notice__text {
  margin: 0;
  color: #b7c5dc;
  font-size: 0.76rem;
  line-height: 1.45;
  flex: 1;
}
.lp-cookie-notice__text a {
  color: #8ec5ff;
  text-decoration: underline;
}
.lp-cookie-notice__actions {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}
.lp-cookie-notice__btn {
  border: 0;
  border-radius: 7px;
  padding: 0.42rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}
.lp-cookie-notice__btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #c7d2e3;
}
.lp-cookie-notice__btn--primary {
  background: #2f7ff0;
  color: #fff;
}
@media (max-width: 720px) {
  .lp-cookie-notice {
    width: calc(100% - 0.5rem);
    bottom: 0.35rem;
  }
  .lp-cookie-notice__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    border-radius: 14px 14px 10px 10px;
  }
  .lp-cookie-notice__actions {
    width: 100%;
  }
  .lp-cookie-notice__btn {
    flex: 1;
    min-height: 42px;
    font-size: 0.78rem;
  }
}
