/* ============================================
   UVLIS — Landing / marketing home
   Apple-style premium: glassmorphism, minimalism,
   system typography, quiet color. Loaded only on /.
   Relies on tokens from styles.css and reuses the
   existing .auth-card / .auth-tabs / .form-* / .btn-primary
   so the login & register flow keeps working untouched.
   ============================================ */

/* Playfair Display (italic) — display accent for the cinematic hero wordmark. */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,400;1,500;1,600&display=swap');

.font-playfair { font-family: 'Playfair Display', serif; }

:root {
  --lp-max: 1240px;
  --lp-nav-h: 64px;
  --lp-font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', sans-serif;
  --lp-ink: #f5f5f7;
  --lp-dim: #a6a6b0;
  --lp-faint: #6f6f7a;
  --lp-line: rgba(255, 255, 255, 0.09);
  --lp-line-soft: rgba(255, 255, 255, 0.05);
  --lp-glass: rgba(255, 255, 255, 0.045);
  --lp-glass-hi: rgba(255, 255, 255, 0.08);
  --lp-blur: blur(28px) saturate(160%);
  --lp-radius: 24px;
  --lp-glow-violet: rgba(124, 58, 237, 0.35);
}

/* ---- Shell & ambient background ---- */
.lp-shell {
  background: #050507;
  color: var(--lp-ink);
  font-family: var(--lp-font);
  min-height: 100dvh;
  /* `clip` contains stray horizontal overflow without promoting overflow-y to
     auto (which `hidden` does) and without leaving the document pannable on iOS. */
  overflow-x: clip;
  position: relative;
}

/* Ambient background lives on a dedicated element at z-index:-1 so it sits
   behind all content without us having to lift every child (which would
   otherwise clobber the role/force-pass overlays from styles.css). It now
   doubles as a legibility scrim over the fixed cinematic video (z-index:-2):
   Uvlis brand tints on top + a translucent dark gradient so text stays
   readable across the whole scrolling page. */
.lp-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 75% -12%, rgba(124, 58, 237, 0.20), transparent 62%),
    radial-gradient(1000px 600px at 10% 2%, rgba(6, 182, 212, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(5, 5, 7, 0.72) 0%, rgba(6, 6, 10, 0.80) 45%, rgba(5, 5, 7, 0.9) 100%);
}

/* Fullscreen cinematic loop, fixed behind everything (below the .lp-bg scrim).
   Kept subtle so the Uvlis brand tints read as texture, not a literal video. */
.lp-video {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background: #050507;
}
.lp-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  pointer-events: none;
}

/* Two faint vertical guide lines at the container edges (desktop only) —
   the quiet "engineering blueprint" detail from the Aura layout. */
.lp-guides { display: none; }
@media (min-width: 981px) {
  .lp-guides {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }
  .lp-guides i {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.07);
  }
  .lp-guides i.l { left: 50%; transform: translateX(calc(-50% - (var(--lp-max) / 2))); }
  .lp-guides i.r { left: 50%; transform: translateX(calc(-50% + (var(--lp-max) / 2))); }
}

.lp-wrap {
  width: 100%;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Let the content breathe on larger desktops so it doesn't look narrow
   right after the full-bleed hero + logo ticker. Widens nav + every
   .lp-wrap section (the hero is full-bleed and unaffected). */
@media (min-width: 1440px) { :root { --lp-max: 1320px; } }
@media (min-width: 1680px) { :root { --lp-max: 1440px; } }
@media (min-width: 1920px) { :root { --lp-max: 1520px; } }

/* ============================================
   NAV
   ============================================ */
.lp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--lp-nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.lp-nav.scrolled {
  background: rgba(6, 6, 10, 0.6);
  backdrop-filter: var(--lp-blur);
  -webkit-backdrop-filter: var(--lp-blur);
  border-bottom-color: var(--lp-line-soft);
}
.lp-nav-inner {
  width: 100%;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--lp-font);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
  color: #fff;
}
.lp-brand img { width: 28px; height: 28px; object-fit: contain; }
.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}
.lp-nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 7px 15px;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}
.lp-nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.18); }
.lp-nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---- Buttons: pill, quiet, Apple-like ---- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--lp-font);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 999px;
  padding: 10px 20px;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.lp-btn:active { transform: scale(0.98); }
.lp-btn-ghost {
  color: var(--lp-ink);
  background: var(--lp-glass);
  border-color: var(--lp-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.lp-btn-ghost:hover { background: var(--lp-glass-hi); color: #fff; }
.lp-btn-primary {
  color: #050507;
  background: #fff;
  box-shadow: 0 10px 30px -12px rgba(255, 255, 255, 0.25);
}
.lp-btn-primary:hover { background: #e9e9ef; color: #050507; transform: translateY(-1px); }
.lp-btn-lg { padding: 15px 30px; font-size: 1rem; }

.lp-burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--lp-glass);
  border: 1px solid var(--lp-line);
  color: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.lp-burger span { width: 16px; height: 1.5px; background: #fff; border-radius: 2px; transition: 0.25s; }

/* mobile slide-down menu */
.lp-mobile-menu {
  position: fixed;
  top: var(--lp-nav-h); left: 0; right: 0;
  z-index: 99;
  background: rgba(6, 6, 10, 0.88);
  backdrop-filter: var(--lp-blur);
  -webkit-backdrop-filter: var(--lp-blur);
  border-bottom: 1px solid var(--lp-line);
  padding: 14px 24px 22px;
  display: none;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.lp-mobile-menu.open { display: flex; transform: translateY(0); opacity: 1; }
.lp-mobile-menu a {
  color: var(--lp-ink);
  font-size: 1rem;
  font-weight: 500;
  padding: 13px 6px;
  border-bottom: 1px solid var(--lp-line-soft);
}
.lp-mobile-menu .lp-btn { margin-top: 12px; width: 100%; }

/* ============================================
   HERO — cinematic full-screen (cursor-spotlight reveal)
   Base image (dimmed) + reveal image (bright, same asset) unmasked by a
   canvas-drawn radial spotlight that trails the cursor. Desktop only; on
   touch / no-hover the reveal stays fully visible (vivid image, no spotlight).
   ============================================ */
.lp-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #05040a;
}

.lp-hero-photo,
.lp-hero-reveal {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}
/* Base layer: sunset scene (shown by default, incl. mobile / no-hover). */
.lp-hero-photo {
  z-index: 10;
  background-image: url('/forlandingfinal.webp?v=20260704-5');
  filter: brightness(0.82) saturate(0.98);
}
/* Reveal layer: deep-night scene — a genuinely different image, unmasked only
   inside the cursor spotlight. Hidden by default (fully transparent mask) so
   touch / no-hover keeps showing the base; the JS spotlight reveals it. */
.lp-hero-reveal {
  z-index: 30;
  background-image: url('/forlandingfinal2.webp?v=20260704-6');
  filter: brightness(1.02) saturate(1.08);
  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
          mask-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  will-change: -webkit-mask-image, mask-image;
}
.lp-hero-canvas { position: absolute; inset: 0; pointer-events: none; display: none; }

/* Legibility scrims — above the images, below the text */
.lp-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 4, 10, 0.55) 0%, rgba(5, 4, 10, 0) 26%),
    linear-gradient(0deg, rgba(5, 4, 10, 0.66) 0%, rgba(5, 4, 10, 0) 34%);
}

/* Heading (top, centered) */
.lp-hero-heading {
  position: absolute;
  top: 12%;
  left: 0; right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  pointer-events: none;
}
.lp-hero-eyebrow {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 22px;
}
.lp-hero-heading h1 {
  color: #fff;
  line-height: 0.95;
  margin: 0;
  text-shadow: 0 2px 46px rgba(0, 0, 0, 0.4);
}
.lp-hero-heading .l1 {
  display: block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.05em;
  font-size: clamp(3rem, 8vw, 7rem);
}
.lp-hero-heading .l2 {
  display: block;
  font-family: var(--lp-font);
  font-weight: 400;
  letter-spacing: -0.06em;
  font-size: clamp(3rem, 8vw, 7rem);
  margin-top: -0.05em;
}

/* Bottom-left pitch + bottom-right CTA block */
.lp-hero-bl {
  position: absolute;
  bottom: 8%;
  left: 40px;
  z-index: 50;
  max-width: 280px;
  pointer-events: none;
}
.lp-hero-bl p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); line-height: 1.6; }
.lp-hero-br {
  position: absolute;
  bottom: 8%;
  right: 40px;
  z-index: 50;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.lp-hero-br p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); line-height: 1.6; }
.lp-hero-br-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-hero-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--lp-font); font-weight: 600; font-size: 0.92rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  color: #fff; border: none;
  background: linear-gradient(120deg, #7c3aed, #22d3ee);
  box-shadow: 0 14px 40px -12px rgba(124, 58, 237, 0.6);
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease;
}
.lp-hero-cta-btn:hover { transform: scale(1.03); filter: brightness(1.06); box-shadow: 0 18px 52px -12px rgba(124, 58, 237, 0.78); }
.lp-hero-cta-btn:active { transform: scale(0.97); }
.lp-hero-cta-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--lp-font); font-weight: 500; font-size: 0.92rem;
  padding: 13px 22px; border-radius: 999px; cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s ease;
}
.lp-hero-cta-ghost:hover { background: rgba(255, 255, 255, 0.2); }

/* auth card (opens as an overlay — see AUTH ACCESS MODES) */
.lp-auth {
  position: relative;
}
.lp-auth .auth-card {
  max-width: 430px;
  margin: 0 auto;
  width: 100%;
  border-radius: var(--lp-radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--lp-line);
  backdrop-filter: var(--lp-blur);
  -webkit-backdrop-filter: var(--lp-blur);
  box-shadow:
    0 40px 90px -40px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.lp-auth-badge {
  text-align: center;
  font-size: 0.78rem;
  color: var(--lp-faint);
  margin-top: 14px;
}

/* ============================================
   PLATFORM STRIP (hero stats)
   ============================================ */
.lp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--lp-glass);
  backdrop-filter: var(--lp-blur);
  -webkit-backdrop-filter: var(--lp-blur);
  overflow: hidden;
}
.lp-stat {
  text-align: center;
  padding: 30px 18px;
}
.lp-stat + .lp-stat { border-left: 1px solid var(--lp-line-soft); }
.lp-stat .n {
  font-family: var(--lp-font);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.lp-stat .l { color: var(--lp-faint); font-size: 0.82rem; margin-top: 10px; line-height: 1.4; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.lp-section { padding: 110px 0; }
.lp-section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.lp-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9d8cf0;
  margin-bottom: 16px;
}
.lp-section-head h2 {
  font-family: var(--lp-font);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 18px;
}
.lp-section-head p { color: var(--lp-dim); font-size: 1.05rem; line-height: 1.65; }

/* ============================================
   FEATURE GRID
   ============================================ */
.lp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lp-feature {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--lp-radius);
  border: 1px solid var(--lp-line);
  background: var(--lp-glass);
  backdrop-filter: var(--lp-blur);
  -webkit-backdrop-filter: var(--lp-blur);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background 0.3s ease;
}
.lp-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--lp-glass-hi);
}
.lp-feature-ic {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--lp-line);
  margin-bottom: 20px;
}
.lp-feature-ic svg { width: 24px; height: 24px; display: block; }
.lp-feature h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 8px;
}
.lp-feature p { color: var(--lp-dim); font-size: 0.93rem; line-height: 1.6; }

/* ============================================
   SHOWCASE ROWS (text + mock)
   ============================================ */
.lp-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 28px;
}
.lp-showcase.reverse .lp-show-text { order: 2; }
.lp-show-text h2 {
  font-family: var(--lp-font);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 16px;
}
.lp-show-text p { color: var(--lp-dim); font-size: 1.02rem; line-height: 1.7; margin-bottom: 24px; }
.lp-show-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.lp-show-list li { display: flex; gap: 12px; color: var(--lp-ink); font-size: 0.95rem; align-items: flex-start; line-height: 1.5; }
.lp-show-list .ck {
  flex: 0 0 auto;
  width: 21px; height: 21px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--lp-line);
  color: #a78bfa;
  margin-top: 1px;
}
.lp-show-list .ck svg { width: 11px; height: 11px; display: block; }

/* mock frame — shared glass panel */
.lp-mock {
  position: relative;
  border-radius: var(--lp-radius);
  border: 1px solid var(--lp-line);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: var(--lp-blur);
  -webkit-backdrop-filter: var(--lp-blur);
  box-shadow:
    0 50px 100px -50px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 20px;
  overflow: hidden;
}
.lp-mock-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.lp-mock-bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: rgba(255, 255, 255, 0.14); }

/* chat mock */
.lp-chat-row { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.lp-chat-av {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  background: rgba(167, 139, 250, 0.18);
  border: 1px solid var(--lp-line);
}
.lp-chat-av.b { background: rgba(236, 72, 153, 0.16); }
.lp-chat-av.c { background: rgba(34, 211, 238, 0.14); }
.lp-chat-body .nm { font-size: 0.8rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.lp-chat-body .nm span { color: var(--lp-faint); font-weight: 400; font-size: 0.7rem; margin-left: 6px; }
.lp-bubble {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--lp-line-soft);
  padding: 9px 14px;
  border-radius: 4px 16px 16px 16px;
  color: var(--lp-ink);
  font-size: 0.88rem;
  line-height: 1.4;
}
.lp-bubble.me {
  background: rgba(167, 139, 250, 0.16);
  border-color: rgba(167, 139, 250, 0.22);
}
.lp-mock-input {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--lp-line);
  color: var(--lp-faint);
  font-size: 0.86rem;
}
.lp-mock-input .send {
  margin-left: auto; width: 28px; height: 28px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center; color: #050507; font-size: 12px;
}

/* games mock grid */
.lp-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-game-tile {
  aspect-ratio: 1;
  border-radius: 16px;
  border: 1px solid var(--lp-line);
  background: rgba(255, 255, 255, 0.035);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}
.lp-game-tile:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.07); }
.lp-game-tile .e { font-size: 25px; }
.lp-game-tile .t { font-size: 0.72rem; color: var(--lp-dim); font-weight: 500; }

/* ============================================================
   Games orbits — concentric rotating rings with game chips
   orbiting a glass core. Chips counter-rotate to stay upright.
   ============================================================ */
.lp-orbits-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  /* Soft brand glow behind the rings */
  background:
    radial-gradient(320px 320px at 50% 50%, rgba(124, 58, 237, 0.16), transparent 70%);
}
.lp-orbits {
  position: relative;
  width: 460px;
  height: 460px;
  flex: 0 0 auto;
}
/* transform-origin center; sizes fixed, centered via negative margins so
   `transform` is free for the spin animation. */
.lp-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  will-change: transform;
}
/* Gradient hairline ring via the mask technique (violet fading in/out). */
.lp-orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1px;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0) 0%, rgba(167, 139, 250, 0.85) 43%, rgba(6, 182, 212, 0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.lp-orbit-1 { width: 168px; height: 168px; margin: -84px 0 0 -84px;  --r: 84px;  animation: lp-spin-l 30s linear infinite; }
.lp-orbit-2 { width: 268px; height: 268px; margin: -134px 0 0 -134px; --r: 134px; animation: lp-spin-r 40s linear infinite; }
.lp-orbit-3 { width: 368px; height: 368px; margin: -184px 0 0 -184px; --r: 184px; animation: lp-spin-r 50s linear infinite; }
.lp-orbit-4 { width: 460px; height: 460px; margin: -230px 0 0 -230px; --r: 230px; animation: lp-spin-l 60s linear infinite; }

@keyframes lp-spin-r { to { transform: rotate(360deg); } }
@keyframes lp-spin-l { to { transform: rotate(-360deg); } }

/* Chip: positioned on its ring at angle --a, radius --r (from parent).
   Scoped under .lp-orbits so it never collides with the wallet .lp-chip. */
.lp-orbits .lp-chip {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a)));
}
.lp-orbits .lp-chip.lg { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
/* Inner disc holds the emoji and counter-rotates to stay upright.
   Direction/duration mirror the parent ring. */
.lp-orbits .lp-chip .ci {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 22px rgba(var(--g), 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  will-change: transform;
}
.lp-orbits .lp-chip.lg .ci { font-size: 30px; }
/* Counter-spin per ring keeps chips upright */
.lp-orbit-1 .ci { animation: lp-spin-r 30s linear infinite; }
.lp-orbit-2 .ci { animation: lp-spin-l 40s linear infinite; }
.lp-orbit-3 .ci { animation: lp-spin-l 50s linear infinite; }
.lp-orbit-4 .ci { animation: lp-spin-r 60s linear infinite; }

/* Glass core with count-up */
.lp-orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 128px;
  height: 128px;
  margin: -64px 0 0 -64px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: radial-gradient(circle at 50% 30%, rgba(124, 58, 237, 0.35), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 0 0 46px rgba(124, 58, 237, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.lp-orbit-core .n {
  font-family: var(--lp-font);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff, #d9a1ff 60%, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-orbit-core .l {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lp-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Scale down on narrower viewports */
@media (max-width: 1120px) { .lp-orbits { transform: scale(0.9); } }
@media (max-width: 980px) {
  .lp-orbits-wrap { min-height: 420px; }
  .lp-orbits { transform: scale(0.82); }
}
@media (max-width: 560px) {
  .lp-orbits-wrap { min-height: 360px; }
  .lp-orbits { transform: scale(0.62); }
}
@media (prefers-reduced-motion: reduce) {
  .lp-orbit, .lp-orbits .lp-chip .ci { animation: none !important; }
}
:root[data-reduce-motion] .lp-orbit,
:root[data-reduce-motion] .lp-orbits .lp-chip .ci { animation: none !important; }

/* 3D world mock (Constructor) */
.lp-world {
  position: relative;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #08080f 0%, #0c0c1a 55%, #10102a 100%);
  border: 1px solid var(--lp-line-soft);
}
.lp-world-grid {
  position: absolute;
  left: -40%; right: -40%; bottom: -52%;
  height: 92%;
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.16) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(420px) rotateX(62deg);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%);
          mask-image: linear-gradient(180deg, transparent, #000 40%);
}
.lp-cube {
  position: absolute;
  border-radius: 12px;
  animation: lp-hover 7s ease-in-out infinite;
}
.lp-cube.a {
  width: 56px; height: 56px; left: 18%; top: 26%;
  transform: rotate(-8deg);
  background: linear-gradient(135deg, #a78bfa, #6d28d9);
  box-shadow: 0 30px 50px -20px rgba(124, 58, 237, 0.55);
}
.lp-cube.b {
  width: 38px; height: 38px; left: 52%; top: 15%;
  transform: rotate(12deg);
  background: linear-gradient(135deg, #67e8f9, #0891b2);
  box-shadow: 0 26px 44px -18px rgba(6, 182, 212, 0.5);
  animation-delay: -2.4s;
}
.lp-cube.c {
  width: 46px; height: 46px; right: 16%; top: 36%;
  transform: rotate(6deg);
  background: linear-gradient(135deg, #f9a8d4, #db2777);
  box-shadow: 0 28px 46px -18px rgba(219, 39, 119, 0.45);
  animation-delay: -4.6s;
}
.lp-cube.d {
  width: 26px; height: 26px; left: 38%; top: 50%;
  transform: rotate(-14deg);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation-delay: -1.2s;
}
@keyframes lp-hover {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
.lp-world-hud {
  position: absolute;
  left: 50%; bottom: 16px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(10, 10, 18, 0.55);
  border: 1px solid var(--lp-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--lp-dim);
  font-size: 0.8rem;
}
.lp-world-hud b { color: #fff; font-weight: 600; }

/* ============================================================
   ECONOMÍA — full-bleed section w/ forlanding3 backdrop, premium
   glass wallet card, floating coins & ways-to-earn tiles.
   ============================================================ */
.lp-econ {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  isolation: isolate;
}
/* Backdrop image (webp, ~48KB) + slow drift */
.lp-econ-bg {
  position: absolute;
  inset: -6% -4%;
  z-index: -2;
  background: #06060a url('/forlanding3.webp') center center / cover no-repeat;
  animation: lp-econ-drift 26s ease-in-out infinite alternate;
}
/* Legibility scrim: darker on the left (under the text), brand tints. */
.lp-econ-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 620px at 82% 26%, rgba(124, 58, 237, 0.28), transparent 60%),
    radial-gradient(700px 520px at 10% 90%, rgba(6, 182, 212, 0.18), transparent 58%),
    linear-gradient(100deg, rgba(5, 5, 8, 0.92) 0%, rgba(5, 5, 8, 0.78) 42%, rgba(5, 5, 8, 0.55) 100%);
}
@keyframes lp-econ-drift {
  from { transform: scale(1.04) translate(0, 0); }
  to   { transform: scale(1.1) translate(-1.5%, -1.5%); }
}

.lp-econ-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.lp-econ-text h2 {
  font-family: var(--lp-font);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 16px;
}
.lp-econ-grad {
  background: linear-gradient(120deg, #d9a1ff 0%, #a78bfa 45%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-econ-text > p {
  color: var(--lp-dim);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 460px;
}
.lp-econ-text .lp-show-list { margin-bottom: 30px; }
.lp-econ-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.lp-econ-link {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.lp-econ-link:hover { opacity: 1; transform: translateX(3px); }

/* ── Visual column ── */
.lp-econ-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Floating coins */
.lp-fcoin {
  position: absolute;
  font-size: 2rem;
  filter: drop-shadow(0 8px 18px rgba(124, 58, 237, 0.6));
  z-index: 3;
  animation: lp-float 6s ease-in-out infinite;
}
.lp-fcoin.c1 { top: -18px; left: 6%; font-size: 2.4rem; animation-delay: 0s; }
.lp-fcoin.c2 { top: 34%; right: -6px; font-size: 1.7rem; animation-delay: 1.4s; }
.lp-fcoin.c3 { bottom: 18%; left: -8px; font-size: 2rem; animation-delay: 2.6s; }
@keyframes lp-float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-16px) rotate(6deg); }
}

/* Premium wallet card */
.lp-fcard {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  padding: 26px 26px 22px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(150deg, rgba(124, 58, 237, 0.55) 0%, rgba(30, 22, 60, 0.6) 46%, rgba(8, 145, 178, 0.42) 100%),
    rgba(12, 12, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  backdrop-filter: blur(30px) saturate(160%);
  box-shadow:
    0 40px 90px -34px rgba(0, 0, 0, 0.9),
    0 0 60px -20px rgba(124, 58, 237, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: perspective(1200px) rotateX(6deg) rotateY(-7deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.lp-econ-visual:hover .lp-fcard { transform: perspective(1200px) rotateX(2deg) rotateY(-2deg) translateY(-4px); }
/* Diagonal sheen sweep */
.lp-fcard-sheen {
  position: absolute;
  top: -60%; left: -30%;
  width: 60%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: rotate(18deg);
  animation: lp-sheen 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes lp-sheen {
  0%, 62% { left: -40%; }
  100% { left: 130%; }
}
.lp-fcard-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% -10%, rgba(255, 255, 255, 0.16), transparent 55%);
  pointer-events: none;
}
.lp-fcard-top {
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
.lp-fcard-brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 0.9rem; letter-spacing: -0.01em;
}
.lp-fcard-brand img { border-radius: 6px; }
/* EMV-style chip */
.lp-fcard-emv {
  width: 36px; height: 27px; border-radius: 6px;
  background: linear-gradient(135deg, #f4d47a, #b8860b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  position: relative;
}
.lp-fcard-emv::after {
  content: ""; position: absolute; inset: 5px;
  border: 1px solid rgba(0, 0, 0, 0.35); border-radius: 3px;
  background:
    linear-gradient(90deg, transparent 46%, rgba(0,0,0,0.35) 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 46%, rgba(0,0,0,0.35) 46% 54%, transparent 54%);
}
.lp-fcard-bal {
  display: flex; align-items: center; gap: 12px;
  margin-top: 30px; position: relative; z-index: 1;
}
.lp-fcard-bal .coin { font-size: 2.1rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4)); }
.lp-fcard-bal .lp-num {
  font-family: var(--lp-font);
  font-weight: 800; font-size: 3.1rem; letter-spacing: -0.03em; line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.lp-fcard-cap {
  margin-top: 4px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em; position: relative; z-index: 1;
}
.lp-fcard-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 24px; position: relative; z-index: 1;
}
.lp-fcard-foot .mask {
  font-family: var(--lp-font); font-weight: 600; letter-spacing: 0.18em;
  font-size: 0.82rem; color: rgba(255, 255, 255, 0.6);
}
.lp-fcard-foot .delta {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.78rem; font-weight: 700; color: #7ef2b0;
  background: rgba(34, 197, 94, 0.16); padding: 4px 10px; border-radius: 999px;
}
.lp-fcard-foot .delta i { font-style: normal; font-weight: 500; color: rgba(255, 255, 255, 0.72); }

/* Ways-to-earn tiles */
.lp-econ-earn {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin-top: 6px;
}
.lp-earn-tile {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
}
.lp-earn-tile:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.09); border-color: rgba(167, 139, 250, 0.5); }
.lp-earn-tile .i {
  font-size: 1.35rem; width: 40px; height: 40px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(124, 58, 237, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.lp-earn-tile .tx b { display: block; color: #fff; font-size: 0.86rem; font-weight: 700; }
.lp-earn-tile .tx small { display: block; color: var(--lp-dim); font-size: 0.74rem; line-height: 1.35; margin-top: 2px; }

@media (max-width: 900px) {
  .lp-econ { padding: 80px 0; }
  .lp-econ-grid { grid-template-columns: 1fr; gap: 48px; }
  .lp-econ-scrim { background:
    radial-gradient(700px 500px at 80% 10%, rgba(124, 58, 237, 0.3), transparent 60%),
    linear-gradient(180deg, rgba(5, 5, 8, 0.82), rgba(5, 5, 8, 0.9)); }
  .lp-fcard { transform: none; }
  .lp-econ-visual:hover .lp-fcard { transform: translateY(-4px); }
}
@media (max-width: 560px) {
  .lp-econ-earn { grid-template-columns: 1fr; max-width: 400px; }
  .lp-earn-tile { flex-direction: row; align-items: center; }
  .lp-fcoin { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-econ-bg, .lp-fcard-sheen, .lp-fcoin { animation: none !important; }
}
:root[data-reduce-motion] .lp-econ-bg,
:root[data-reduce-motion] .lp-fcard-sheen,
:root[data-reduce-motion] .lp-fcoin { animation: none !important; }

/* ============================================
   GAMES MARQUEE
   ============================================ */
.lp-marquee {
  position: relative;
  overflow: hidden;
  padding: 14px 0;
  margin-top: 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.lp-marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: lp-scroll 44s linear infinite;
}
.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }
@keyframes lp-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.lp-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--lp-line);
  background: var(--lp-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--lp-dim);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}
.lp-pill .e { font-size: 1rem; }

/* ============================================
   CTA BAND
   ============================================ */
.lp-cta {
  position: relative;
  margin: 24px 0 90px;
  padding: 88px 32px;
  border-radius: 32px;
  border: 1px solid var(--lp-line);
  text-align: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: var(--lp-blur);
  -webkit-backdrop-filter: var(--lp-blur);
}
.lp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(720px 340px at 50% -30%, rgba(124, 58, 237, 0.16), transparent 70%);
}
.lp-cta h2 {
  position: relative;
  font-family: var(--lp-font);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 14px;
}
.lp-cta p { position: relative; color: var(--lp-dim); font-size: 1.06rem; max-width: 480px; margin: 0 auto 32px; line-height: 1.65; }
.lp-cta .lp-btn { position: relative; }

/* ============================================
   FOOTER
   ============================================ */
.lp-footer {
  border-top: 1px solid var(--lp-line-soft);
  padding: 64px 0 40px;
}
.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px 28px;
}
.lp-footer-brand .lp-brand { font-size: 1.2rem; margin-bottom: 14px; }
.lp-footer-brand p { color: var(--lp-faint); font-size: 0.9rem; line-height: 1.65; max-width: 280px; }
.lp-foot-col h4 {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-faint);
  margin-bottom: 16px;
}
.lp-foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.lp-foot-col a { color: var(--lp-dim); font-size: 0.9rem; transition: color 0.18s ease; }
.lp-foot-col a:hover { color: #fff; }
.lp-footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 52px; padding-top: 26px;
  border-top: 1px solid var(--lp-line-soft);
  color: var(--lp-faint); font-size: 0.84rem;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-d="1"] { transition-delay: 0.08s; }
[data-reveal-d="2"] { transition-delay: 0.16s; }
[data-reveal-d="3"] { transition-delay: 0.24s; }
[data-reveal-d="4"] { transition-delay: 0.32s; }
[data-reveal-d="5"] { transition-delay: 0.40s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .lp-auth .auth-card { margin: 0 auto; }
  .lp-hero h1 { max-width: 640px; }
  .lp-showcase { grid-template-columns: 1fr; gap: 36px; }
  .lp-showcase.reverse .lp-show-text { order: 0; }
  /* Grid tracks default to min-width:auto, so the fixed-460px .lp-orbits
     forces the column (and the whole section) wider than the viewport,
     clipping the heading/paragraph. Let tracks shrink and clip the scaled
     orbit's oversized layout box. */
  .lp-showcase > * { min-width: 0; }
  .lp-orbits-wrap { max-width: 100%; overflow: hidden; }
  .lp-features { grid-template-columns: repeat(2, 1fr); }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
  .lp-footer-brand { grid-column: 1 / -1; }
  .lp-nav-links { display: none; }
}

@media (max-width: 760px) {
  .lp-nav-actions .lp-btn-ghost.desktop-only { display: none; }
  .lp-burger { display: flex; }
  .lp-hero { padding-top: calc(var(--lp-nav-h) + 44px); }
  .lp-stats { grid-template-columns: 1fr 1fr; margin-top: 52px; }
  .lp-stat { padding: 24px 14px; }
  .lp-stat:nth-child(3) { border-left: none; }
  .lp-stat:nth-child(n+3) { border-top: 1px solid var(--lp-line-soft); }
  .lp-section { padding: 72px 0; }
  .lp-features { grid-template-columns: 1fr; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .lp-cta { padding: 56px 22px; }
  .lp-world { height: 250px; }
}

@media (max-width: 460px) {
  .lp-wrap, .lp-nav-inner { padding: 0 18px; }
  .lp-hero-cta { flex-direction: column; }
  .lp-hero-cta .lp-btn { width: 100%; }
  .lp-footer-grid { grid-template-columns: 1fr; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lp-marquee-track, .lp-cube { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================
   AUTH ACCESS MODES
   - PWA standalone  → only the login/register card (no landing)
   - Mobile website  → card hidden until a CTA is tapped, then full-screen panel
   - Desktop website → card lives inline in the hero (default)
   ============================================ */
.auth-close { display: none; }

/* Keep the admin role / forced-password modals above the auth overlay. */
.role-overlay { z-index: 1400; }

/* --- Website (ALL sizes): card hidden until the user taps a CTA, then it
       opens as a centered overlay. The cinematic hero stands alone otherwise. --- */
html:not(.pwa-auth) .lp-auth { display: none; }
html:not(.pwa-auth) .lp-auth-badge { display: none; }

html:not(.pwa-auth) body.auth-open { overflow: hidden; }
html:not(.pwa-auth) body.auth-open .lp-nav,
html:not(.pwa-auth) body.auth-open .lp-mobile-menu { display: none; }

html:not(.pwa-auth) body.auth-open .lp-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 1200;
  margin: 0;
  padding: 72px 18px 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(5, 5, 8, 0.86);
  backdrop-filter: var(--lp-blur);
  -webkit-backdrop-filter: var(--lp-blur);
  animation: lp-auth-slide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
html:not(.pwa-auth) body.auth-open .lp-auth .auth-card {
  margin: auto;
  max-width: 430px;
}
html:not(.pwa-auth) body.auth-open .auth-close {
  display: flex;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1300;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--lp-line);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  cursor: pointer;
}
html:not(.pwa-auth) body.auth-open .auth-close:hover { background: rgba(255, 255, 255, 0.16); }

/* --- Installed PWA (standalone): show ONLY the auth card, centered --- */
html.pwa-auth .lp-nav,
html.pwa-auth .lp-mobile-menu,
html.pwa-auth .lp-stats,
html.pwa-auth .lp-section,
html.pwa-auth .lp-marquee2,
html.pwa-auth .lp-menubar,
html.pwa-auth .lp-video,
html.pwa-auth .lp-guides,
html.pwa-auth .lp-cta,
html.pwa-auth .lp-footer,
html.pwa-auth .lp-hero-photo,
html.pwa-auth .lp-hero-reveal,
html.pwa-auth .lp-hero-scrim,
html.pwa-auth .lp-hero-canvas,
html.pwa-auth .lp-hero-heading,
html.pwa-auth .lp-hero-bl,
html.pwa-auth .lp-hero-br { display: none !important; }

html.pwa-auth .lp-hero {
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  background: #05040a;
}
html.pwa-auth .lp-auth {
  display: block;
  position: static;
  max-width: 440px;
  width: 100%;
}
html.pwa-auth .lp-auth .auth-card { margin: 0 auto; }
html.pwa-auth .lp-auth-badge { display: block; text-align: center; }

@keyframes lp-auth-slide {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ============================================================================
   AURA RENOVATION LAYER
   Cinematic upgrades layered over the base landing: shiny gradient headline,
   liquid-glass cards, a macOS menu-bar strip, a full app-window mockup, and a
   giant-watermark "planes" section. All additive — existing auth/PWA flows and
   class names are untouched.
   ============================================================================ */

/* ---- Shiny animated gradient headline (Uvlis violet → cyan) ---- */
.animate-shiny {
  background-image: linear-gradient(
    to right,
    #120a26 0%, #4c1d95 12.5%, #c4b5fd 32.5%, #22d3ee 50%,
    #4c1d95 67.5%, #120a26 87.5%, #120a26 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: url(#c3-noise);
  animation: lp-shiny 6s linear infinite;
}
@keyframes lp-shiny {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ---- Liquid-glass utility (luminous gradient hairline + inner sheen) ---- */
.liquid-glass {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  background-blend-mode: luminosity;
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%, rgba(255, 255, 255, 0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ============================================
   macOS-STYLE MENU BAR STRIP
   ============================================ */
.lp-menubar {
  position: relative;
  z-index: 2;
  height: 40px;
  background: rgba(6, 6, 10, 0.5);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}
.lp-menubar-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--lp-dim);
}
.lp-menubar-left { display: flex; align-items: center; gap: 18px; }
.lp-menubar .apple { width: 14px; height: 14px; color: #fff; }
.lp-menubar .app { color: #fff; font-weight: 700; }
.lp-menubar-menu { display: flex; align-items: center; gap: 18px; }
.lp-menubar-menu span { color: var(--lp-dim); transition: color 0.15s ease; }
.lp-menubar-menu span:hover { color: #fff; }
.lp-menubar-right { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.lp-menubar-right svg { width: 14px; height: 14px; }

/* ============================================
   APP-WINDOW MOCKUP (the showpiece)
   ============================================ */
.lp-appwin-sec { padding-top: 64px; padding-bottom: 40px; }
.lp-appwin {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(10, 11, 16, 0.72);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  box-shadow:
    0 60px 130px -50px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.lp-appwin::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.08) 30%,
    rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.08) 80%, rgba(255, 255, 255, 0.35) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}
.lp-appwin-bar {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--lp-line-soft);
  background: rgba(0, 0, 0, 0.28);
}
.lp-appwin-lights { display: flex; gap: 8px; }
.lp-appwin-lights i { width: 12px; height: 12px; border-radius: 50%; }
.lp-appwin-title {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  color: var(--lp-faint);
  margin-right: 46px; /* balance the traffic-light cluster */
}
.lp-appwin-body {
  display: grid;
  grid-template-columns: 3fr 4fr 5fr;
  height: 520px;
}

/* sidebar */
.lp-aw-side { border-right: 1px solid var(--lp-line-soft); background: rgba(0, 0, 0, 0.25); padding: 16px; overflow: hidden; }
.lp-aw-compose {
  display: flex; align-items: center; gap: 8px;
  width: 100%;
  background: #fff; color: #060609;
  font-size: 0.78rem; font-weight: 700;
  border-radius: 12px; padding: 10px 12px; margin-bottom: 18px;
}
.lp-aw-compose svg { width: 15px; height: 15px; }
.lp-aw-nav { display: flex; flex-direction: column; gap: 2px; }
.lp-aw-nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 11px; border-radius: 9px;
  font-size: 0.83rem; color: var(--lp-dim);
  transition: background 0.15s ease, color 0.15s ease;
}
.lp-aw-nav a svg { width: 16px; height: 16px; opacity: 0.85; flex: 0 0 auto; }
.lp-aw-nav a .count { margin-left: auto; font-size: 0.72rem; color: var(--lp-faint); }
.lp-aw-nav a:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.lp-aw-nav a.active { background: rgba(255, 255, 255, 0.1); color: #fff; }
.lp-aw-nav a.active .count { color: #c4b5fd; }
.lp-aw-labels-t {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lp-faint); margin: 22px 0 12px 11px;
}
.lp-aw-label { display: flex; align-items: center; gap: 11px; padding: 7px 11px; font-size: 0.82rem; color: var(--lp-dim); }
.lp-aw-label .dot { width: 9px; height: 9px; border-radius: 50%; }

/* room / message list */
.lp-aw-list { border-right: 1px solid var(--lp-line-soft); display: flex; flex-direction: column; overflow: hidden; }
.lp-aw-search {
  display: flex; align-items: center; gap: 9px;
  padding: 14px 16px; border-bottom: 1px solid var(--lp-line-soft);
  color: var(--lp-faint); font-size: 0.8rem;
}
.lp-aw-search svg { width: 14px; height: 14px; }
.lp-aw-item {
  padding: 14px 16px; border-bottom: 1px solid var(--lp-line-soft);
  cursor: default; transition: background 0.15s ease;
}
.lp-aw-item:hover { background: rgba(255, 255, 255, 0.03); }
.lp-aw-item.active { background: rgba(124, 58, 237, 0.14); }
.lp-aw-item-top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.lp-aw-item-name { font-size: 0.84rem; font-weight: 600; color: #fff; }
.lp-aw-item.unread .lp-aw-item-name::before {
  content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #22d3ee; margin-right: 7px; vertical-align: middle;
}
.lp-aw-item-time { margin-left: auto; font-size: 0.7rem; color: var(--lp-faint); }
.lp-aw-item-sub { font-size: 0.8rem; color: var(--lp-ink); margin-bottom: 2px; }
.lp-aw-item-prev { font-size: 0.76rem; color: var(--lp-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* reader */
.lp-aw-read { display: flex; flex-direction: column; overflow: hidden; }
.lp-aw-read-tools {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 16px; border-bottom: 1px solid var(--lp-line-soft);
}
.lp-aw-tool {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--lp-dim); transition: background 0.15s ease, color 0.15s ease;
}
.lp-aw-tool:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.lp-aw-tool svg { width: 16px; height: 16px; }
.lp-aw-tool.right { margin-left: auto; }
.lp-aw-read-body { padding: 20px; overflow: hidden; }
.lp-aw-read-h {
  font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; color: #fff; margin-bottom: 14px;
}
.lp-aw-sender { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.lp-aw-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #22d3ee, #4c1d95);
}
.lp-aw-sender-meta .n { font-size: 0.82rem; font-weight: 600; color: #fff; }
.lp-aw-sender-meta .m { font-size: 0.72rem; color: var(--lp-faint); }
.lp-aw-pill {
  margin-left: auto; font-size: 0.7rem; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--lp-line); color: var(--lp-dim);
}
.lp-aw-card {
  border-radius: 14px; padding: 14px 16px; margin-bottom: 18px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.24);
}
.lp-aw-card-h { display: flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 700; color: #c4b5fd; margin-bottom: 8px; }
.lp-aw-card-h svg { width: 14px; height: 14px; }
.lp-aw-card p { font-size: 0.83rem; color: var(--lp-ink); line-height: 1.55; }
.lp-aw-read-body > p { font-size: 0.86rem; color: var(--lp-dim); line-height: 1.65; margin-bottom: 11px; }
.lp-aw-read-body > p.sig { color: var(--lp-faint); }
.lp-aw-attach {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 6px; padding: 9px 14px; border-radius: 10px;
  border: 1px solid var(--lp-line); background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem; color: var(--lp-ink);
}
.lp-aw-attach svg { width: 15px; height: 15px; color: var(--lp-dim); }

/* ============================================
   CINEMATIC "PLANES" SECTION (giant watermark)
   ============================================ */
.c3-pricing-section {
  position: relative;
  padding: 40px 20px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: clip;
  z-index: 1;
}
.c3-watermark-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  text-align: center;
  margin-top: 20px;
  z-index: 2;
}
.c3-watermark-main {
  font-family: var(--lp-font);
  font-size: 9rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  filter: url(#c3-noise-pricing);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.c3-watermark-line-1 { color: #fff; }
.c3-watermark-line-2 {
  background: linear-gradient(to right, #120a26 0%, #4c1d95 25%, #c4b5fd 65%, #22d3ee 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.c3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1100px;
  margin-top: 56px;
  position: relative;
  z-index: 3;
}
.c3-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 46px 26px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(135deg, rgba(6, 6, 10, 0.72), rgba(6, 6, 10, 0.42));
  backdrop-filter: blur(16px) brightness(0.92);
  -webkit-backdrop-filter: blur(16px) brightness(0.92);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, background 0.4s ease;
}
.c3-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
}
.c3-card:hover {
  transform: translateY(-12px) scale(1.01);
  border-color: rgba(34, 211, 238, 0.7);
}
.c3-card-pro { background: linear-gradient(135deg, rgba(3, 3, 6, 0.86), rgba(6, 6, 12, 0.56)); }
.c3-tier-small { font-size: 1.05rem; font-weight: 500; color: rgba(255, 255, 255, 0.6); }
.c3-tier-large { font-size: 2.7rem; font-weight: 600; letter-spacing: -0.02em; color: #fff; margin-top: 8px; }
.c3-tier-large .per { font-size: 1rem; font-weight: 500; color: rgba(255, 255, 255, 0.45); }
.c3-desc { font-size: 0.88rem; color: rgba(255, 255, 255, 0.5); min-height: 3.2em; margin: 16px 0 34px; line-height: 1.5; }
.c3-list { list-style: none; display: flex; flex-direction: column; }
.c3-list li { display: flex; align-items: flex-start; gap: 13px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); margin-bottom: 16px; line-height: 1.4; }
.c3-check {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.14);
}
.c3-check svg { width: 12px; height: 12px; }
.c3-btn {
  margin-top: auto; align-self: stretch;
  background: #fff; color: #060609;
  padding: 12px 32px; border-radius: 100px;
  font-family: var(--lp-font); font-weight: 700; font-size: 0.9rem;
  border: none; cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, background 0.2s ease;
}
.c3-btn:hover { transform: scale(1.02); background: #f2f2f5; box-shadow: 0 12px 30px -12px rgba(255, 255, 255, 0.4); }
.c3-freebadge {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--lp-dim);
}
.c3-freebadge b { color: #fff; font-weight: 600; }
.c3-freebadge .g { width: 7px; height: 7px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 12px #22d3ee; }

/* Final CTA: luminous edge over the existing radial glow */
.lp-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0) 65%, rgba(255, 255, 255, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.lp-cta-actions { position: relative; display: inline-flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ============================================
   AURA LAYER — RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .c3-pricing-section { padding: 20px 0 72px; }
  .c3-watermark-main { font-size: 3.4rem; filter: none; }
  .c3-watermark-line-2 { background: none; -webkit-text-fill-color: #22d3ee; color: #22d3ee; }
  .c3-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100vw;
    padding: 0 20px;
    gap: 16px;
    scrollbar-width: none;
  }
  .c3-grid::-webkit-scrollbar { display: none; }
  .c3-card { flex: 0 0 300px; scroll-snap-align: center; min-height: 520px; }
}

@media (max-width: 980px) {
  .lp-appwin-body { min-width: 780px; }
  .lp-appwin-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .lp-appwin-scroll::-webkit-scrollbar { display: none; }
  .lp-menubar-menu span:nth-child(n+4) { display: none; }
}

@media (max-width: 760px) {
  .lp-appwin-sec { padding-top: 40px; }
  .lp-appwin-body { height: 460px; }
  .lp-video video { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .animate-shiny { animation: none; }
  .lp-video video { display: none; }
}

/* ============================================================================
   CINEMATIC HERO — entrance animations + responsive
   ============================================================================ */
@keyframes lp-heroReveal {
  0% { opacity: 0; transform: translateY(28px); filter: blur(12px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes lp-heroFadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes lp-heroZoom {
  0% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.hero-anim { opacity: 0; animation-fill-mode: forwards; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
.hero-reveal { animation-name: lp-heroReveal; animation-duration: 1.1s; }
.hero-fade { animation-name: lp-heroFadeUp; animation-duration: 1s; }
.lp-hero-photo.hero-zoom,
.lp-hero-reveal.hero-zoom { animation: lp-heroZoom 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@media (max-width: 760px) {
  .lp-hero-bl { display: none; }
  .lp-hero-heading { top: 14%; }
  .lp-hero-br {
    left: 20px;
    right: 20px;
    bottom: 6%;
    max-width: none;
    align-items: stretch;
  }
  .lp-hero-cta-btn { justify-content: center; }
}

@media (max-width: 460px) {
  .lp-hero-heading .l1,
  .lp-hero-heading .l2 { font-size: clamp(2.5rem, 13vw, 3.4rem); }
  .lp-hero-eyebrow { letter-spacing: 0.18em; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim,
  .lp-hero-photo.hero-zoom,
  .lp-hero-reveal.hero-zoom { animation: none; opacity: 1; }
}

/* ============================================================================
   SCROLL-DRIVEN MARQUEE — two rows of preview tiles that slide in opposite
   directions as the page scrolls (positions set in landing.js).
   ============================================================================ */
.lp-marquee2 {
  position: relative;
  z-index: 1;
  background: #0c0c0c;
  padding: 96px 0 40px;
  overflow: hidden;
}
@media (min-width: 640px) { .lp-marquee2 { padding-top: 128px; } }
@media (min-width: 768px) { .lp-marquee2 { padding-top: 160px; } }

.lp-marquee2-row { overflow: hidden; }
.lp-marquee2-row + .lp-marquee2-row { margin-top: 12px; }
.lp-marquee2-track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}
.lp-marquee2-track img {
  flex: 0 0 auto;
  width: 420px;
  height: 270px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  background: #141414;
}

/* ============================================================
   UVLIVERS — community · status · impact. Aspirational glass
   membership section (replaces the old free-pricing block).
   ============================================================ */
.uvr-section { position: relative; overflow: hidden; }
.uvr-aura {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(680px 460px at 20% 8%, rgba(124, 58, 237, 0.22), transparent 60%),
    radial-gradient(620px 460px at 88% 96%, rgba(6, 182, 212, 0.16), transparent 60%);
}
.uvr-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.uvr-head h2 {
  font-family: var(--lp-font);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 10px 0 16px;
}
.uvr-grad {
  position: relative;
  background: linear-gradient(120deg, #d9a1ff 0%, #a78bfa 42%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.uvr-head p { color: var(--lp-dim); font-size: 1.08rem; line-height: 1.65; }
.uvr-head p b { color: #fff; font-weight: 700; }

.uvr-grid {
  display: grid;
  grid-template-columns: minmax(340px, 390px) 1fr;
  gap: 40px;
  align-items: center;
}

/* ── Uvliver identity card ── */
.uvr-card-wrap { display: flex; justify-content: center; perspective: 1300px; }
.uvr-card {
  position: relative;
  width: 100%;
  max-width: 390px;
  border-radius: 24px;
  padding: 24px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(155deg, rgba(124, 58, 237, 0.5) 0%, rgba(24, 18, 48, 0.62) 48%, rgba(8, 145, 178, 0.4) 100%),
    rgba(12, 12, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  backdrop-filter: blur(30px) saturate(160%);
  box-shadow:
    0 44px 100px -38px rgba(0, 0, 0, 0.92),
    0 0 66px -22px rgba(124, 58, 237, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: rotateX(6deg) rotateY(-6deg);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.uvr-card-wrap:hover .uvr-card { transform: rotateX(2deg) rotateY(-2deg) translateY(-4px); }
.uvr-card-sheen {
  position: absolute; top: -60%; left: -35%;
  width: 55%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(18deg);
  animation: lp-sheen 6s ease-in-out infinite;
  pointer-events: none;
}
.uvr-card-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 50% -12%, rgba(255, 255, 255, 0.16), transparent 55%);
}
.uvr-card-head { display: flex; align-items: center; gap: 13px; position: relative; z-index: 1; }
.uvr-ava {
  width: 52px; height: 52px; border-radius: 15px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  background: linear-gradient(140deg, #7c3aed, #22d3ee);
  box-shadow: 0 8px 22px -6px rgba(124, 58, 237, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.uvr-id { display: flex; flex-direction: column; gap: 5px; margin-right: auto; }
.uvr-name { font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.uvr-badge {
  display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 9px; border-radius: 999px;
  color: #ffe9a8;
  background: linear-gradient(120deg, rgba(255, 200, 0, 0.22), rgba(124, 58, 237, 0.28));
  border: 1px solid rgba(255, 220, 130, 0.4);
}
.uvr-badge .star { color: #ffd768; }
.uvr-level {
  font-size: 0.72rem; font-weight: 700; color: rgba(255, 255, 255, 0.85);
  padding: 5px 10px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
}
.uvr-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; margin-top: 22px; position: relative; z-index: 1;
}
.uvr-stat {
  text-align: center; padding: 12px 4px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.uvr-stat b {
  display: block; font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.uvr-stat small { display: block; font-size: 0.64rem; color: rgba(255, 255, 255, 0.62); margin-top: 3px; }
.uvr-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px; position: relative; z-index: 1;
  font-size: 0.78rem;
}
.uvr-crowns { font-weight: 700; color: rgba(255, 255, 255, 0.9); }
.uvr-crowns .top { color: #ffd768; }
.uvr-since { color: rgba(255, 255, 255, 0.6); font-weight: 500; }

/* ── Benefits bento ── */
.uvr-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.uvr-perk {
  padding: 20px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
}
.uvr-perk:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(167, 139, 250, 0.5);
}
.uvr-perk .i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 13px; font-size: 1.4rem;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 13px;
}
.uvr-perk h3 { font-size: 1.02rem; font-weight: 700; color: #fff; margin-bottom: 6px; letter-spacing: -0.01em; }
.uvr-perk p { font-size: 0.86rem; line-height: 1.55; color: var(--lp-dim); }

/* ── Collective impact + CTA ── */
.uvr-impact {
  margin-top: 44px;
  border-radius: 22px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.uvr-impact-title {
  font-weight: 700; color: #fff; font-size: 1.05rem; letter-spacing: -0.01em;
}
.uvr-impact-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.uvr-istat { text-align: center; }
.uvr-istat b {
  display: block; font-family: var(--lp-font); font-weight: 800;
  font-size: 1.7rem; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #fff, #d9a1ff 65%, #22d3ee);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.uvr-istat small { display: block; font-size: 0.76rem; color: var(--lp-dim); margin-top: 2px; }
.uvr-cta { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-left: auto; }
.uvr-cta-sub { font-size: 0.78rem; color: var(--lp-faint); }

@media (max-width: 900px) {
  .uvr-grid { grid-template-columns: 1fr; gap: 32px; }
  .uvr-card-wrap { order: -1; }
  .uvr-card { transform: none; }
  .uvr-card-wrap:hover .uvr-card { transform: translateY(-4px); }
  .uvr-impact { flex-direction: column; text-align: center; gap: 20px; }
  .uvr-cta { margin-left: 0; }
}
@media (max-width: 560px) {
  .uvr-benefits { grid-template-columns: 1fr; }
  .uvr-impact-stats { gap: 20px; }
  .uvr-head h2 br { display: none; }
}
@media (prefers-reduced-motion: reduce) { .uvr-card-sheen { animation: none !important; } }
:root[data-reduce-motion] .uvr-card-sheen { animation: none !important; }

/* ============================================================
   COMUNIDAD + JUEGOS — shared parallax backdrop (forlanding4)
   ============================================================ */
.lp-gc { position: relative; overflow: hidden; isolation: isolate; }
.lp-gc-bg {
  position: absolute;
  inset: -16% 0;
  z-index: -2;
  background: #06060a url('/forlanding4.webp') center 20% / cover no-repeat;
  will-change: transform;
}
.lp-gc-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(880px 600px at 14% 6%, rgba(124, 58, 237, 0.26), transparent 60%),
    radial-gradient(820px 640px at 90% 98%, rgba(6, 182, 212, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(5, 5, 8, 0.9) 0%, rgba(5, 5, 8, 0.66) 26%, rgba(5, 5, 8, 0.62) 72%, rgba(5, 5, 8, 0.92) 100%);
}
/* Frost the glass mocks a touch more so text stays crisp over the photo. */
.lp-gc .lp-mock { background: rgba(9, 9, 15, 0.55); }
/* Adjacent sections butt together seamlessly over the single image. */
.lp-gc-sec { position: relative; z-index: 0; }
.lp-gc #juegos { padding-top: 20px; }

/* ── Enhanced chat mock ── */
.lp-chat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid var(--lp-line-soft);
}
.lp-chat-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; font-size: 0.92rem; }
.lp-chat-title .live {
  width: 8px; height: 8px; border-radius: 50%; background: #3ee08a;
  box-shadow: 0 0 0 0 rgba(62, 224, 138, 0.6);
  animation: lp-pulse 2s ease-out infinite;
}
@keyframes lp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 224, 138, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(62, 224, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 224, 138, 0); }
}
.lp-chat-online { display: inline-flex; align-items: center; gap: 8px; font-size: 0.76rem; color: var(--lp-dim); }
.lp-chat-online b { color: #fff; font-weight: 700; }
.lp-chat-online .avs { display: inline-flex; }
.lp-chat-online .avs .a {
  width: 24px; height: 24px; border-radius: 50%; margin-left: -7px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px;
  background: #1a1a2a; border: 1.5px solid #0b0b12;
}
.lp-chat-online .avs .a:first-child { margin-left: 0; }
.lp-chat-scroll { position: relative; }
.lp-react { display: flex; gap: 6px; margin-top: 6px; }
.lp-react .r {
  font-size: 0.72rem; font-weight: 600; color: #fff;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--lp-line-soft);
}
.lp-typing { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.lp-typing .dots {
  display: inline-flex; gap: 4px; align-items: center;
  padding: 11px 14px; border-radius: 4px 16px 16px 16px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--lp-line-soft);
}
.lp-typing .dots i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--lp-dim);
  animation: lp-typing 1.3s ease-in-out infinite;
}
.lp-typing .dots i:nth-child(2) { animation-delay: 0.18s; }
.lp-typing .dots i:nth-child(3) { animation-delay: 0.36s; }
@keyframes lp-typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* ── Juegos orbit core: "en vivo" pill ── */
.lp-core-live {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 6px; font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: #cbb6ff; padding: 3px 9px; border-radius: 999px;
  background: rgba(124, 58, 237, 0.24); border: 1px solid rgba(167, 139, 250, 0.35);
}
.lp-core-live i {
  width: 6px; height: 6px; border-radius: 50%; background: #3ee08a;
  animation: lp-pulse 2s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .lp-chat-title .live, .lp-typing .dots i, .lp-core-live i { animation: none !important; }
  .lp-gc-bg { transform: none !important; }
}
:root[data-reduce-motion] .lp-chat-title .live,
:root[data-reduce-motion] .lp-typing .dots i,
:root[data-reduce-motion] .lp-core-live i { animation: none !important; }
:root[data-reduce-motion] .lp-gc-bg { transform: none !important; }

/* ============================================================
   Minimalist colorful SVG icons (replace emojis in comunidad+juegos)
   ============================================================ */
.lp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Game icons on the orbit chips */
.lp-orbits .lp-chip .ci { font-size: 0; }
.lp-orbits .lp-chip .ci .gi { width: 26px; height: 26px; display: block; }
.lp-orbits .lp-chip.lg .ci .gi { width: 32px; height: 32px; }

/* Game icons in the marquee pills */
.lp-pill .pe { width: 19px; height: 19px; flex: 0 0 auto; display: block; }

/* Chat avatars — colorful tinted disc + white user glyph */
.lp-chat-av { background: #7c3aed; border-color: transparent; color: #fff; }
.lp-chat-av.b { background: #ec4899; }
.lp-chat-av.c { background: #06b6d4; }
.lp-chat-av .ui { width: 20px; height: 20px; color: #fff; display: block; }
.lp-chat-online .avs .a { color: #fff; }
.lp-chat-online .avs .a:nth-child(1) { background: #7c3aed; }
.lp-chat-online .avs .a:nth-child(2) { background: #ec4899; }
.lp-chat-online .avs .a:nth-child(3) { background: #06b6d4; }
.lp-chat-online .avs .a .ui { width: 14px; height: 14px; color: #fff; display: block; }

/* Reaction chips */
.lp-react .r { display: inline-flex; align-items: center; gap: 4px; }
.lp-react .r .ri { width: 13px; height: 13px; display: block; }

/* Send button icon */
.lp-mock-input .send svg { width: 14px; height: 14px; display: block; }

/* ============================================================
   Colorful SVG icons in the Economía & Uvlivers sections
   (replace emojis; sizes match each container).
   ============================================================ */
.lp-fcoin svg { width: 1em; height: 1em; display: block; }
.lp-fcard-bal .coin svg { width: 1em; height: 1em; display: block; }
.lp-earn-tile .i svg { width: 22px; height: 22px; display: block; }
.uvr-ava svg { width: 28px; height: 28px; display: block; color: #fff; }
.uvr-perk .i svg { width: 24px; height: 24px; display: block; }
.uvr-crown-ic { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; }
