:root {
  --ld-night: #120f24;
  --ld-night-2: #1c1638;
  --ld-paper: #fbf8f3;
  --ld-ink: #16131f;
  --ld-accent: #ff5a1f;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: transparent; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ld-ink); }
body { overflow: hidden; }
#livedemo-root { width: 100%; }
.ld-player { position: relative; width: 100%; border-radius: 14px; overflow: hidden; background: var(--ld-night); box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset; outline: none; }
.ld-player:focus-visible { box-shadow: 0 0 0 3px var(--ld-accent); }
.ld-stage { position: relative; width: 100%; overflow: hidden; background: #fff; min-height: 120px; }
.ld-frame { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.ld-frame-inner, .ld-frame-inner > div { width: 100%; height: 100%; }
.ld-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.ld-click { position: absolute; inset: 0; z-index: 3; cursor: default; }
.ld-target { position: absolute; display: none; border-radius: 10px; box-shadow: 0 0 0 2px var(--ld-accent), 0 0 0 9999px rgba(18,15,36,.28); transition: all .35s cubic-bezier(.22,1,.36,1); }
.ld-target.nudge { animation: ld-nudge .5s ease; }
.ld-dot { position: absolute; display: none; width: 0; height: 0; }
.ld-dot span, .ld-dot i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--ld-accent); }
.ld-dot span { box-shadow: 0 0 0 3px #fff, 0 6px 18px rgba(0,0,0,.25); }
.ld-dot i { animation: ld-pulse 1.6s ease-out infinite; opacity: .6; }
.ld-bubble { position: absolute; z-index: 4; pointer-events: auto; max-width: calc(100% - 24px); padding: 14px 16px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; box-shadow: 0 18px 40px rgba(10,8,25,.35); animation: ld-in .35s cubic-bezier(.22,1,.36,1); }
.ld-bubble.ld-dark { background: var(--ld-night); color: #fff; }
.ld-bubble.ld-light { background: #fff; color: var(--ld-ink); border: 1px solid #ece6dc; }
.ld-bubble p { margin: 0 0 10px; font-weight: 600; }
.ld-bubble-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .6px; opacity: .85; font-weight: 700; }
.ld-bubble-foot span { opacity: .7; }
.ld-next, .ld-btn { appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; background: var(--ld-accent); color: var(--ld-ink); border-radius: 10px; padding: 9px 14px; font-size: 13px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.ld-next:hover, .ld-btn:hover { filter: brightness(1.06); }
.ld-ghost { background: transparent; color: inherit; box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset; }
.ld-hint { position: absolute; z-index: 5; transform: translate(-50%, -8px); background: #fff; color: var(--ld-ink); font-size: 12px; font-weight: 700; padding: 7px 11px; border-radius: 99px; box-shadow: 0 8px 22px rgba(0,0,0,.2); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; white-space: nowrap; }
.ld-hint.show { opacity: 1; transform: translate(-50%, 0); }
.ld-loader { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; background: rgba(251,248,243,.55); }
.ld-loader span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,90,31,.25); border-top-color: var(--ld-accent); animation: ld-spin .8s linear infinite; }
.ld-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--ld-night); color: #fff; font-size: 12px; }
.ld-icon { appearance: none; border: 0; background: rgba(255,255,255,.08); color: #fff; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.ld-icon:hover:not(:disabled) { background: rgba(255,255,255,.16); }
.ld-icon:disabled { opacity: .35; cursor: default; }
.ld-icon:focus-visible, .ld-btn:focus-visible, .ld-next:focus-visible, .ld-lang:focus-visible { outline: 2px solid var(--ld-accent); outline-offset: 2px; }
.ld-count { font-weight: 700; letter-spacing: .3px; white-space: nowrap; }
.ld-progress { flex: 1; height: 4px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; min-width: 40px; }
.ld-progress i { display: block; height: 100%; width: 0; background: var(--ld-accent); border-radius: inherit; transition: width .4s cubic-bezier(.22,1,.36,1); }
.ld-lang { background: rgba(255,255,255,.08); color: #fff; border: 0; border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 12px; }
.ld-lang option { color: var(--ld-ink); }
.ld-screen { position: absolute; inset: 0; z-index: 20; display: none; place-items: center; padding: 18px; background: rgba(18,15,36,.72); backdrop-filter: blur(6px); }
.ld-screen[data-open] { display: grid; }
.ld-card { width: min(420px, 100%); background: var(--ld-night); color: #fff; border-radius: 18px; padding: 26px; box-shadow: 0 30px 70px rgba(0,0,0,.45); animation: ld-in .4s cubic-bezier(.22,1,.36,1); border: 1px solid rgba(255,255,255,.08); }
.ld-card h2 { font-family: "Barlow Condensed", Impact, sans-serif; font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 0 0 10px; letter-spacing: .3px; }
.ld-card p { margin: 0 0 16px; opacity: .82; font-size: 14px; line-height: 1.55; }
.ld-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.ld-form label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 600; }
.ld-form label span { display: block; margin-bottom: 5px; opacity: .8; }
.ld-form input[type="email"], .ld-form input[type="text"] { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 16px; }
.ld-form input:focus { outline: 2px solid var(--ld-accent); outline-offset: 1px; }
.ld-consent { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 500 !important; opacity: .85; }
.ld-form-error { color: #ffb4a0; min-height: 18px; margin: 0 0 6px !important; font-size: 13px !important; }
.ld-gate-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--ld-ink); background: var(--ld-accent); border-radius: 99px; padding: 4px 10px; margin-bottom: 12px; }
.ld-btn-wide { flex: 1; justify-content: center; padding: 12px 16px; font-size: 14px; }
.ld-privacy { font-size: 11.5px !important; opacity: .6 !important; margin: 12px 0 0 !important; }
.ld-link { background: none; border: 0; color: #fff; opacity: .7; cursor: pointer; font: inherit; text-decoration: underline; }
.ld-badge { position: absolute; right: 10px; top: 10px; z-index: 8; font-size: 11px; background: rgba(18,15,36,.86); color: #fff; padding: 5px 9px; border-radius: 99px; text-decoration: none; backdrop-filter: blur(4px); }
.ld-badge b { color: var(--ld-accent); }
.ld-ribbon { position: absolute; left: 10px; top: 10px; z-index: 8; background: var(--ld-accent); color: var(--ld-ink); font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.ld-error { padding: 40px 20px; text-align: center; color: #fff; background: var(--ld-night); font-size: 14px; }
.ld-error button { margin-left: 6px; }
.ld-fatal { min-height: 220px; display: grid; place-items: center; border-radius: 14px; }
.ld-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes ld-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes ld-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ld-spin { to { transform: rotate(360deg); } }
@keyframes ld-nudge { 0%, 100% { transform: none; } 30% { transform: scale(1.04); } 60% { transform: scale(.98); } }
@media (max-width: 520px) {
  .ld-bubble { font-size: 13px; padding: 11px 12px 10px; }
  .ld-count { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ld-dot i, .ld-target.nudge, .ld-bubble, .ld-card { animation: none !important; }
  .ld-target, .ld-progress i { transition: none !important; }
}
