@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --ls-navy: #0B1F3A;
  --ls-navy-2: #16335c;
  --ls-ink: #101C2E;
  --ls-coral: #FF4D3D;
  --ls-coral-deep: #E23A2B;
  --ls-paper: #F3F5F8;
  --ls-paper-2: #E8ECF2;
  --ls-muted: #5A6B82;
  --ls-line: rgba(11, 31, 58, 0.12);
  --ls-line-strong: rgba(11, 31, 58, 0.22);
  --ls-live: #FF3B4A;
  --ls-white: #FFFFFF;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 8px;
  --shadow-soft: 0 18px 50px rgba(11, 31, 58, 0.12);
  --header-h: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--ls-ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(255, 77, 61, 0.08), transparent 55%),
    radial-gradient(700px 380px at -5% 0%, rgba(11, 31, 58, 0.08), transparent 50%),
    linear-gradient(180deg, #F7F8FB 0%, var(--ls-paper) 45%, #EEF1F6 100%);
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 76px;
  -webkit-font-smoothing: antialiased;
}

body.ls-body--landing {
  padding-bottom: 76px;
  background: var(--ls-navy);
}

a {
  color: var(--ls-navy);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--ls-coral); }

h1, h2, h3, .ls-display {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0;
  font-weight: 400;
}

p { margin: 0 0 1rem; line-height: 1.55; }

.ls-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* —— Header —— */
.ls-top {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(243, 245, 248, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--ls-line);
}

.ls-promo-banner {
  position: relative;
  z-index: 90;
  width: 100%;
  background: linear-gradient(90deg, #FF4D3D, #FF7A3D);
  color: #fff;
  padding: 0.7rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.35;
}

.ls-top--over {
  position: relative;
  z-index: 80;
  background: linear-gradient(180deg, rgba(7, 16, 32, 0.92) 0%, rgba(7, 16, 32, 0.55) 100%);
  border-bottom: 0;
  backdrop-filter: none;
}

/* Landing header sits under promo (never overlays it) */
body.ls-has-promo .ls-top--over,
body.ls-has-promo .ls-top {
  position: sticky;
  top: 0;
}

.ls-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.ls-logo {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.05rem);
  color: var(--ls-navy);
  letter-spacing: 0.03em;
  line-height: 1;
}
.ls-logo span { color: var(--ls-coral); }
.ls-top--over .ls-logo { color: #fff; }
.ls-top--over .ls-logo span { color: var(--ls-coral); }

.ls-nav {
  display: none;
  gap: 1.15rem;
  align-items: center;
}
.ls-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ls-ink);
}
.ls-top--over .ls-nav a { color: rgba(255,255,255,0.88); }
.ls-top--over .ls-nav a:hover { color: #fff; }

@media (min-width: 900px) {
  .ls-nav { display: flex; }
  body { padding-bottom: 0; }
  body.ls-body--landing { padding-bottom: 0; }
}

/* —— Buttons —— */
.ls-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ls-btn:hover { transform: translateY(-1px); }
.ls-btn--coral { background: var(--ls-coral); color: #fff; }
.ls-btn--coral:hover { background: var(--ls-coral-deep); color: #fff; }
.ls-btn--navy { background: var(--ls-navy); color: #fff; }
.ls-btn--navy:hover { background: var(--ls-navy-2); color: #fff; }
.ls-btn--ghost {
  background: transparent;
  border: 1px solid var(--ls-line-strong);
  color: var(--ls-ink);
}
.ls-btn--ghost:hover { border-color: var(--ls-navy); color: var(--ls-navy); }
.ls-btn--ghost-light {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
}
.ls-btn--ghost-light:hover { background: rgba(255,255,255,0.16); color: #fff; }
.ls-btn--ghost-light {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
}
.ls-btn--ghost-light:hover { background: rgba(255,255,255,0.16); color: #fff; }
.ls-btn--block { width: 100%; }
.ls-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.ls-btn--sm { padding: 0.5rem 0.85rem; font-size: 0.85rem; }

/* —— Flash / forms —— */
.ls-flash {
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
  font-weight: 600;
}
.ls-flash--success { background: #e7f7ee; color: #146c43; }
.ls-flash--error, .ls-flash--danger { background: #fde8e6; color: #9b1c1c; }
.ls-flash--warning { background: #fff4e5; color: #9a5b00; }
.ls-flash--info { background: #e8f1ff; color: #1a4b8c; }

.ls-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--ls-line);
  border-radius: 12px;
  padding: 1.25rem;
}

.ls-panel {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--ls-line);
  border-radius: 12px;
  padding: 1.35rem 1.25rem;
}

.ls-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) {
  .ls-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .ls-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .ls-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.ls-input, .ls-select, textarea.ls-input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--ls-line);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
  color: var(--ls-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ls-input:focus, .ls-select:focus, textarea.ls-input:focus {
  outline: none;
  border-color: rgba(255, 77, 61, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 77, 61, 0.15);
}
.ls-label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.9rem; }
.ls-field { margin-bottom: 1rem; }
.ls-muted { color: var(--ls-muted); }
.ls-lead { color: var(--ls-muted); max-width: 42ch; font-size: 1.05rem; }

.ls-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--ls-live);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  animation: lsPulse 1.5s ease infinite;
}
.ls-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: lsDot 1.5s ease infinite;
}
@keyframes lsPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@keyframes lsDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.55); }
  70% { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

/* —— Stream tiles —— */
.ls-stream-card {
  display: block;
  background: #fff;
  border: 1px solid var(--ls-line);
  border-radius: 12px;
  overflow: hidden;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ls-stream-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  color: inherit;
}
.ls-stream-card__thumb {
  aspect-ratio: 16/10;
  background:
    linear-gradient(135deg, rgba(255,77,61,0.35), transparent 55%),
    linear-gradient(160deg, var(--ls-navy), #1a3a66 55%, #071525);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0.75rem;
  position: relative;
}
.ls-stream-card__body { padding: 0.95rem 1rem 1.15rem; }
.ls-stream-card__body h3 {
  font-size: 1.55rem;
  margin-bottom: 0.3rem;
  color: var(--ls-navy);
}

/* —— Page chrome —— */
.ls-page {
  padding: 1.75rem 0 3rem;
}
.ls-page h1 {
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  color: var(--ls-navy);
  margin-bottom: 0.45rem;
}
.ls-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.ls-chip-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
}
.ls-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--ls-line);
  background: rgba(255,255,255,0.7);
  color: var(--ls-ink);
  font-weight: 600;
  font-size: 0.88rem;
}
.ls-chip:hover { border-color: var(--ls-navy); color: var(--ls-navy); }
.ls-chip.is-active {
  background: var(--ls-navy);
  border-color: var(--ls-navy);
  color: #fff;
}

.ls-auth {
  width: min(440px, 100%);
  margin: 1rem auto 2rem;
}
.ls-auth h1 { text-align: left; }

.ls-empty {
  padding: 2rem 1.25rem;
  border: 1px dashed var(--ls-line-strong);
  border-radius: 12px;
  background: rgba(255,255,255,0.55);
  text-align: center;
}

/* —— Watch / Go Live —— */
.ls-stage {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9/16;
  max-height: 70vh;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 900px) {
  .ls-stage { aspect-ratio: 16/9; max-height: none; }
}
.ls-stage video, .ls-stage .lk-video {
  width: 100%; height: 100%; object-fit: cover; background: #000;
}
.ls-bidbar {
  position: sticky;
  bottom: 78px;
  z-index: 40;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--ls-line);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  margin-top: 0.75rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}
@media (min-width: 900px) { .ls-bidbar { bottom: 1rem; } }
.ls-bid-flash { animation: lsBidFlash 0.45s ease; }
@keyframes lsBidFlash {
  from { background: #ffe4e0; }
  to { background: #fff; }
}
.ls-chat {
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.92rem;
}
.ls-chat__row { padding: 0.4rem 0; border-bottom: 1px solid var(--ls-line); }
.ls-chat__user { font-weight: 700; color: var(--ls-navy); }

.ls-table { width: 100%; border-collapse: collapse; }
.ls-table th, .ls-table td {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--ls-line);
  font-size: 0.92rem;
}
.ls-switch { display: flex; align-items: center; gap: 0.6rem; }

/* —— Broadcast studio (Watch / Go Live) —— */
.ls-studio {
  display: grid;
  gap: 1rem;
  margin-top: 0.25rem;
}
@media (min-width: 960px) {
  .ls-studio {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
    align-items: start;
  }
}
.ls-studio__stage {
  background: #050b14;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9/16;
  max-height: min(72vh, 720px);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 960px) {
  .ls-studio__stage {
    aspect-ratio: 16/9;
    max-height: none;
  }
}
.ls-studio__stage video,
.ls-studio__stage .lk-video {
  width: 100%; height: 100%; object-fit: cover; background: #000; display: block;
}
.ls-studio__hint {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85); text-align: center; padding: 1.25rem;
  font-weight: 600;
}
.ls-studio__side { display: flex; flex-direction: column; gap: 0.85rem; }
@media (max-width: 959px) {
  .ls-studio .ls-bidbar {
    position: sticky;
    bottom: 78px;
    z-index: 40;
  }
}
.ls-studio__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
  margin-bottom: 0.35rem;
}
.ls-studio-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--ls-line);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
}
.ls-studio-card h2,
.ls-studio-card h3 {
  color: var(--ls-navy);
  margin-bottom: 0.55rem;
}
.ls-price-xl {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--ls-coral);
  line-height: 1;
}
.ls-timer-xl {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  color: var(--ls-navy);
  line-height: 0.9;
}
.ls-status {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.3rem 0.55rem; border-radius: 4px;
}
.ls-status--live { background: var(--ls-live); color: #fff; }
.ls-status--ok { background: #146c43; color: #fff; }
.ls-status--wait { background: #fff4e5; color: #9a5b00; }
.ls-status--done { background: var(--ls-navy); color: #fff; }

.ls-combine {
  background: linear-gradient(135deg, rgba(255,77,61,0.12), rgba(11,31,58,0.06));
  border: 1px solid rgba(255,77,61,0.28);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.25rem;
}
.ls-combine h2 {
  font-size: 1.8rem;
  color: var(--ls-navy);
  margin-bottom: 0.35rem;
}
.ls-combine__row {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  align-items: center; justify-content: space-between;
  margin-top: 0.75rem;
}
.ls-order-items { display: flex; flex-direction: column; gap: 0.55rem; }
.ls-order-item {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0; border-bottom: 1px solid var(--ls-line);
}
.ls-order-item:last-child { border-bottom: 0; }
.ls-obs-box {
  background: #0B1F3A; color: #fff; border-radius: 14px; padding: 1.1rem 1.15rem;
}
.ls-obs-box .ls-label { color: rgba(255,255,255,0.75); }
.ls-obs-box .ls-input {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #fff;
}
.ls-fee-preview {
  background: var(--ls-paper-2);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}

/* —— Footer —— */
.ls-footer {
  padding: 3rem 0 5.5rem;
  border-top: 1px solid var(--ls-line);
  background: linear-gradient(180deg, transparent, rgba(11, 31, 58, 0.04));
  text-align: center;
  color: var(--ls-muted);
  font-size: 0.9rem;
}
body.ls-body--landing .ls-footer {
  background: #071525;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
}
.ls-footer__brand {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ls-navy);
  margin: 0 0 0.35rem;
  letter-spacing: 0.03em;
}
body.ls-body--landing .ls-footer__brand { color: #fff; }
body.ls-body--landing .ls-footer__brand span { color: var(--ls-coral); }
.ls-footer a { color: inherit; }
body.ls-body--landing .ls-footer a:hover { color: #fff; }
.ls-footer__links { margin: 0.85rem 0; display: flex; flex-wrap: wrap; gap: 0.65rem 1rem; justify-content: center; }

/* —— Bottom nav —— */
.ls-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(11, 31, 58, 0.96);
  backdrop-filter: blur(12px);
  padding: 0.5rem 0 max(0.5rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ls-bottom-nav a {
  color: rgba(255,255,255,0.5);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0.25rem 0.55rem;
}
.ls-bottom-nav a.active,
.ls-bottom-nav a:hover { color: #fff; }
.ls-bottom-nav svg { width: 22px; height: 22px; }
@media (min-width: 900px) { .ls-bottom-nav { display: none; } }
