@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/rubik-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/rubik-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #020107;
  --surface: #090714;
  --surface-elevated: #0e0b1d;
  --surface-inner: #0b0818;
  --text: #ffffff;
  --muted: #a1a3be;
  --muted-strong: #cdd0e6;
  --purple: #4d30ff;
  --pink: #cb7cfd;
  --cyan: #67d4ff;
  --gold: #f8d878;
  --green: #4ade80;
  --coral: #fb7185;
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.16);
  --radius-card: 18px;
  --radius-btn: 10px;
  --font: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

/* ===== Shimmering Gradient Accent ===== */
@keyframes landingShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.l-shimmer {
  display: inline-block;
  background: linear-gradient(
    110deg,
    #7f64ff 0%,
    #cb7cfd 24%,
    #67d4ff 48%,
    #f3b8ff 72%,
    #7f64ff 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: landingShimmer 6.5s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(203, 124, 253, 0.28));
}

@media (prefers-reduced-motion: reduce) {
  .l-shimmer {
    animation: none;
    background-position: 25% 50%;
  }
}

/* ===== Ambient Space Backdrop ===== */
.page-shell {
  position: relative;
  isolation: isolate;
}

.ambient-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(64% 42% at 50% -6%, rgba(77, 48, 255, 0.34), transparent 68%),
    radial-gradient(36% 28% at 84% 16%, rgba(203, 124, 253, 0.14), transparent 70%),
    radial-gradient(36% 28% at 14% 46%, rgba(77, 48, 255, 0.12), transparent 72%),
    var(--bg);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* ===== Top Navbar ===== */
.l-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(2, 1, 7, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.l-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
}

.l-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.l-brand-logo {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

.l-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 500;
}

.l-nav-links a {
  transition: color 0.18s ease;
}

.l-nav-links a:hover {
  color: var(--text);
}

.l-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.l-lang-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.l-lang-toggle button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.l-lang-toggle button[aria-pressed="true"] {
  background: rgba(77, 48, 255, 0.28);
  color: var(--text);
}

/* ===== Buttons ===== */
.l-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-btn);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.l-btn:active {
  transform: translateY(1px);
}

.l-btn-primary {
  background: linear-gradient(180deg, #5f45ff 0%, var(--purple) 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 12px 32px rgba(77, 48, 255, 0.48),
    0 0 0 1px rgba(77, 48, 255, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.l-btn-primary:hover {
  background: linear-gradient(180deg, #7058ff 0%, #593eff 100%);
  box-shadow:
    0 16px 40px rgba(77, 48, 255, 0.6),
    0 0 28px rgba(203, 124, 253, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transform: translateY(-1px);
}

.l-btn-ghost {
  background: rgba(255, 255, 255, 0.045);
  color: #f3f2ff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.l-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(203, 124, 253, 0.44);
  transform: translateY(-1px);
}

.l-btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
}

.l-google-icon {
  flex-shrink: 0;
}

/* ===== Hero Section ===== */
.l-hero {
  position: relative;
  padding: 96px 0 76px;
  text-align: center;
  overflow: hidden;
}

.l-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 460px;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(166, 146, 255, 0.26) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: radial-gradient(ellipse 58% 68% at 50% 38%, black 15%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 58% 68% at 50% 38%, black 15%, transparent 74%);
}

.l-hero h1 {
  margin: 0 auto 20px;
  max-width: 860px;
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.032em;
}

.l-hero-sub {
  margin: 0 auto 32px;
  max-width: 650px;
  font-size: 1.06rem;
  color: var(--muted);
  line-height: 1.62;
}

.l-auth-notice {
  max-width: 540px;
  margin: 0 auto 22px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(77, 48, 255, 0.16);
  border: 1px solid rgba(203, 124, 253, 0.42);
  color: #f3ecff;
  font-size: 0.88rem;
  line-height: 1.48;
}

.l-auth-notice.is-error {
  background: rgba(251, 113, 133, 0.14);
  border-color: rgba(251, 113, 133, 0.42);
  color: #ffe4e8;
}

.l-auth-notice[hidden] {
  display: none;
}

.l-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.l-google-note {
  margin: 14px auto 0;
  max-width: 460px;
  font-size: 0.82rem;
  color: var(--muted);
}

.l-google-note[hidden] {
  display: none;
}

.l-hero-facts {
  margin: 38px auto 0;
  max-width: 780px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.l-fact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(14, 11, 29, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.085);
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 500;
}

.l-fact-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px rgba(203, 124, 253, 0.8);
}

/* ===== Section Headers ===== */
.l-section {
  position: relative;
  padding: 78px 0;
  overflow-x: clip;
}

.l-section-head {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.l-section-head::before {
  content: "";
  position: absolute;
  inset: -44px -80px -20px;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(166, 146, 255, 0.22) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: radial-gradient(ellipse 64% 68% at 50% 48%, black 10%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 64% 68% at 50% 48%, black 10%, transparent 74%);
}

.l-section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.12;
}

.l-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

/* ===== Shared Typography Helpers ===== */
.l-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #e9d9ff;
  background: rgba(77, 48, 255, 0.22);
  border: 1px solid rgba(203, 124, 253, 0.34);
  margin-bottom: 14px;
}

.l-lead {
  margin: 0 0 20px;
  font-size: 0.94rem;
  color: var(--muted-strong);
  line-height: 1.62;
}

.l-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.l-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--muted-strong);
  line-height: 1.5;
}

.l-check-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--pink);
}

/* ===== Shared Authentic UI Frame ===== */
.l-ui-frame {
  border-radius: 14px;
  background: #0a0817;
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
  overflow: hidden;
}

.l-ui-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted-strong);
}

.l-ui-tag {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
}

.l-ui-tag.is-purple {
  background: rgba(77, 48, 255, 0.22);
  border-color: rgba(154, 124, 255, 0.34);
  color: #ddd4ff;
}

.l-ui-tag.is-green {
  background: rgba(74, 222, 128, 0.14);
  border-color: rgba(74, 222, 128, 0.34);
  color: #bbf7d0;
}

.l-ui-tag.is-cyan {
  background: rgba(103, 212, 255, 0.14);
  border-color: rgba(103, 212, 255, 0.34);
  color: #cceeff;
}

/* ===== Features Stack ===== */
.l-features-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.l-features-stack > *,
.l-feature-flagship > *,
.l-feature-grid-2 > *,
.l-split > *,
.l-steps-3 > * {
  min-width: 0;
}

.l-feature-flagship {
  border-radius: var(--radius-card);
  padding: 32px;
  background:
    radial-gradient(60% 100% at 86% 0%, rgba(77, 48, 255, 0.22), transparent 64%),
    linear-gradient(180deg, rgba(16, 12, 34, 0.94), rgba(8, 6, 19, 0.98));
  border: 1px solid rgba(154, 124, 255, 0.28);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.52), 0 0 38px rgba(77, 48, 255, 0.12);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 32px;
  align-items: center;
}

.l-feature-flagship h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.18;
}

/* Player Overview + Chart Preview */
.l-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.l-stat-tile {
  padding: 10px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.l-stat-tile span {
  font-size: 0.68rem;
  color: var(--muted);
}

.l-stat-tile strong {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.l-stat-tile em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
}

.l-stat-tile em.is-green { color: var(--green); }
.l-stat-tile em.is-cyan { color: var(--cyan); }

.l-chart-mini {
  padding: 12px 13px 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.l-chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 8px;
  font-size: 0.72rem;
  color: var(--muted-strong);
  margin-bottom: 10px;
}

.l-chart-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.67rem;
  color: var(--muted);
}

.l-chart-legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

.l-chart-legend i.is-gain { background: var(--green); }
.l-chart-legend i.is-spend { background: var(--coral); margin-left: 6px; }

.l-chart-bars {
  height: 86px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
}

.l-bar-col {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.l-bar-pair {
  width: 100%;
  height: 66px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
}

.l-bar-g,
.l-bar-s {
  width: 9px;
  border-radius: 4px 4px 2px 2px;
}

.l-bar-g { background: linear-gradient(180deg, #4ade80, rgba(74, 222, 128, 0.45)); }
.l-bar-s { background: linear-gradient(180deg, #fb7185, rgba(251, 113, 133, 0.45)); }

.l-bar-col:nth-child(1) .l-bar-g { height: 58%; }
.l-bar-col:nth-child(1) .l-bar-s { height: 34%; }
.l-bar-col:nth-child(2) .l-bar-g { height: 74%; }
.l-bar-col:nth-child(2) .l-bar-s { height: 48%; }
.l-bar-col:nth-child(3) .l-bar-g { height: 46%; }
.l-bar-col:nth-child(3) .l-bar-s { height: 62%; }
.l-bar-col:nth-child(4) .l-bar-g { height: 88%; }
.l-bar-col:nth-child(4) .l-bar-s { height: 40%; }
.l-bar-col:nth-child(5) .l-bar-g { height: 66%; }
.l-bar-col:nth-child(5) .l-bar-s { height: 30%; }
.l-bar-col:nth-child(6) .l-bar-g { height: 96%; }
.l-bar-col:nth-child(6) .l-bar-s { height: 54%; }
.l-bar-col:nth-child(7) .l-bar-g { height: 80%; }
.l-bar-col:nth-child(7) .l-bar-s { height: 36%; }

.l-bar-col em {
  font-style: normal;
  font-size: 0.66rem;
  color: var(--muted);
}

/* 2x2 Feature Cards */
.l-feature-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.l-feature-card {
  border-radius: var(--radius-card);
  padding: 20px;
  background: linear-gradient(180deg, rgba(14, 11, 29, 0.92), rgba(8, 6, 19, 0.97));
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.l-feature-card:hover {
  border-color: rgba(154, 124, 255, 0.34);
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}

.l-feature-card .l-ui-frame {
  flex: 1 0 auto;
}

.l-card-body h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.018em;
}

.l-card-body p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Card 1: Game Modes Preview */
.l-mode-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.l-mode-pills span {
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 0.71rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.l-mode-pills span.is-active {
  background: rgba(77, 48, 255, 0.24);
  border-color: rgba(203, 124, 253, 0.38);
  color: #efe4ff;
}

.l-battle-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.l-battle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 0;
}

.l-battle-badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
}

.l-battle-badge.is-win {
  background: rgba(74, 222, 128, 0.16);
  color: #86efac;
  border: 1px solid rgba(74, 222, 128, 0.32);
}

.l-battle-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.l-battle-copy strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.l-battle-copy small {
  font-size: 0.71rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.l-battle-pts {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

/* Card 2: Meta Teams Preview */
.l-meta-rows {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.l-meta-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 0;
}

.l-meta-rank {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pink);
}

.l-meta-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.l-meta-info strong {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.l-meta-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.l-meta-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan));
}

.l-meta-fill.is-f1 { width: 88%; }
.l-meta-fill.is-f2 { width: 68%; }
.l-meta-fill.is-f3 { width: 52%; }

.l-meta-val {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted-strong);
  font-variant-numeric: tabular-nums;
}

/* Card 3: Telegram Alerts Preview */
.l-alert-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
}

.l-alert-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 0;
}

.l-alert-row.is-accent {
  background: rgba(77, 48, 255, 0.14);
  border-color: rgba(154, 124, 255, 0.3);
}

.l-alert-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(77, 48, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 0.86rem;
  flex-shrink: 0;
}

.l-alert-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.l-alert-copy strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.l-alert-copy small {
  font-size: 0.71rem;
  color: var(--muted);
}

.l-alert-time {
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
}

.l-cmd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.l-cmd-chips span {
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 0.7rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cyan);
}

.l-cmd-chips span:last-child {
  font-family: var(--font);
  color: var(--muted-strong);
}

/* Card 4: Multi-Account & Safety Mini Grid */
.l-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.l-mini-tile {
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.065);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.l-mini-tile.is-wide {
  grid-column: 1 / -1;
  background: rgba(74, 222, 128, 0.07);
  border-color: rgba(74, 222, 128, 0.24);
}

.l-mini-k {
  font-size: 0.67rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pink);
}

.l-mini-tile.is-wide .l-mini-k {
  color: var(--green);
}

.l-mini-tile strong {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}

.l-mini-tile small {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ===== Two-Column Split Sections (Assistant & Guild) ===== */
.l-split {
  border-radius: var(--radius-card);
  padding: 32px;
  background:
    radial-gradient(50% 90% at 15% 15%, rgba(77, 48, 255, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(14, 11, 29, 0.94), rgba(8, 6, 19, 0.98));
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.l-split-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.38rem, 2.4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.18;
}

.l-split-copy p {
  margin: 0 0 20px;
  font-size: 0.93rem;
  color: var(--muted-strong);
  line-height: 1.62;
}

/* Assistant HUD Preview */
.l-hud-frame {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 32px rgba(77, 48, 255, 0.14);
  border-color: rgba(154, 124, 255, 0.25);
}

.l-hud-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.l-hud-brand img {
  display: block;
}

.l-hud-res {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.l-hud-res-item {
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.l-hud-res-item.is-emerald {
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.28);
}

.l-hud-res-item span {
  font-size: 0.7rem;
  color: var(--muted-strong);
}

.l-hud-res-item strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.l-hud-res-item em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
}

.l-hud-section,
.l-hud-pack {
  padding: 11px 12px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  gap: 9px;
}

.l-hud-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted-strong);
}

.l-hud-sec-meta {
  color: var(--cyan);
}

.l-hud-power {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.l-hud-quest {
  display: grid;
  gap: 6px;
}

.l-hud-quest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.76rem;
}

.l-hud-quest-row strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.l-progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.l-progress-fill {
  display: block;
  width: 83%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan));
}

.l-hud-clash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(248, 216, 120, 0.1);
  border: 1px solid rgba(248, 216, 120, 0.28);
  font-size: 0.75rem;
}

.l-hud-clash em {
  font-style: normal;
  font-weight: 700;
  color: var(--gold);
}

.l-pack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.l-pack-chips span {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.73rem;
  font-weight: 600;
  background: rgba(77, 48, 255, 0.2);
  border: 1px solid rgba(154, 124, 255, 0.32);
  color: #e9e4ff;
}

/* Telegram AI Report Preview */
.l-tg-window {
  border-radius: 15px;
  background: #0b091a;
  border: 1px solid rgba(154, 124, 255, 0.24);
  padding: 18px 20px;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.55);
  display: grid;
  gap: 13px;
}

.l-tg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.l-tg-sender {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.l-tg-sender img {
  display: block;
}

.l-tg-time {
  font-size: 0.74rem;
  color: var(--muted);
}

.l-tg-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
}

.l-tg-leaders {
  display: grid;
  gap: 7px;
  padding: 12px 14px;
  border-radius: 11px;
  background: rgba(77, 48, 255, 0.14);
  border: 1px solid rgba(154, 124, 255, 0.2);
}

.l-tg-leader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted-strong);
}

.l-tg-leader em {
  font-style: normal;
  font-weight: 700;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.l-tg-diff {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.24);
  font-size: 0.78rem;
}

.l-tg-diff strong {
  color: #86efac;
  font-weight: 700;
}

.l-tg-comment {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted-strong);
  line-height: 1.55;
}

/* ===== 3 Steps + Final CTA ===== */
.l-steps-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.l-step-card {
  border-radius: var(--radius-card);
  padding: 24px 22px;
  background: linear-gradient(180deg, rgba(14, 11, 29, 0.92), rgba(8, 6, 19, 0.98));
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.l-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #e9d9ff;
  background: rgba(77, 48, 255, 0.22);
  border: 1px solid rgba(203, 124, 253, 0.34);
}

.l-step-card h3 {
  margin: 2px 0 0;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.016em;
}

.l-step-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.58;
}

.l-final-cta {
  border-radius: 22px;
  padding: 36px 38px;
  background:
    radial-gradient(50% 120% at 92% 50%, rgba(203, 124, 253, 0.18), transparent 68%),
    radial-gradient(50% 120% at 8% 50%, rgba(77, 48, 255, 0.22), transparent 68%),
    linear-gradient(180deg, rgba(16, 12, 34, 0.94), rgba(8, 6, 18, 0.98));
  border: 1px solid rgba(203, 124, 253, 0.28);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 42px rgba(77, 48, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 28px;
}

.l-final-copy {
  max-width: 560px;
}

.l-final-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

.l-final-copy p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted-strong);
  line-height: 1.58;
}

.l-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Footer Card ===== */
.l-footer-wrap {
  padding: 16px 0 58px;
}

.l-footer-card {
  border-radius: 22px;
  padding: 34px 38px;
  background:
    radial-gradient(50% 90% at 12% 0%, rgba(77, 48, 255, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(13, 10, 27, 0.92), rgba(6, 4, 15, 0.98));
  border: 1px solid rgba(154, 124, 255, 0.2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 36px rgba(77, 48, 255, 0.1);
  display: grid;
  grid-template-columns: 1.45fr repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.l-footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.l-footer-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.l-footer-col h4 {
  margin: 0 0 13px;
  font-size: 0.88rem;
  font-weight: 600;
}

.l-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.l-footer-col a {
  font-size: 0.84rem;
  color: var(--muted);
  transition: color 0.16s ease;
}

.l-footer-col a:hover {
  color: var(--text);
}

/* ===== Toast ===== */
.l-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  max-width: min(520px, calc(100vw - 32px));
  padding: 14px 20px;
  border-radius: 13px;
  background: #110c28;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(203, 124, 253, 0.52);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.85), 0 0 32px rgba(77, 48, 255, 0.36);
  color: #f4f2ff;
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.l-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .l-nav-links { display: none; }
  .l-feature-flagship,
  .l-split,
  .l-feature-grid-2,
  .l-steps-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .l-footer-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 28px); }
  .l-hero { padding: 62px 0 52px; }
  .l-section { padding: 54px 0; }
  .l-feature-flagship,
  .l-split,
  .l-final-cta { padding: 22px 18px; }
  .l-stat-strip,
  .l-hud-res,
  .l-mini-grid { grid-template-columns: minmax(0, 1fr); }
  .l-cta-row .l-btn,
  .l-final-actions,
  .l-final-actions .l-btn { width: 100%; }
  .l-footer-card { grid-template-columns: minmax(0, 1fr); }
}
