:root {
  --bg: #ffffff;
  --bg-2: #f5f5f5;
  --ink: #0a0a0a;
  --ink-2: #3a3a3a;
  --ink-3: #777777;
  --cyan: #0a0a0a;
  --teal: #0a0a0a;
  --violet: #9a9a9a;
  --rose: #0a0a0a;
  --amber: #9a9a9a;
  --line: rgba(0, 0, 0, 0.12);
  --glass: #ffffff;
  --glass-2: #ffffff;
  --radius: 16px;
  --font-head: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --grad: #0a0a0a;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  transition: opacity .18s ease;
}
body.lang-swap [data-i18n], body.lang-swap [data-i18n-html], body.lang-swap .i18n-dyn { opacity: 0; filter: blur(4px); }
[data-i18n], [data-i18n-html], .i18n-dyn { transition: opacity .25s ease, filter .25s ease; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Fon: tinch, harakatsiz ---------- */
.bg-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bg-soft { background: #ffffff; }
.wrap { position: relative; z-index: 2; }

/* ---------- Til almashtirgich ---------- */
.lang-switch {
  position: relative; display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px;
  background: #ffffff; border: 1px solid var(--line); backdrop-filter: blur(14px);
}
.lang-switch button {
  position: relative; z-index: 1; border: 0; background: none; color: var(--ink-2); cursor: pointer;
  font: 600 13px/1 var(--font); padding: 9px 14px; border-radius: 999px; letter-spacing: .02em; transition: color .25s;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active { color: #ffffff; background: var(--ink); }

/* ---------- Umumiy ---------- */
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #ffffff; color: var(--ink-2); font-size: 13px; backdrop-filter: blur(10px);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.16); animation: ping 1.8s infinite; flex: none; }
.live-dot.off { background: var(--amber); animation: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(0, 0, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); } }
.bump { animation: bump .9s ease; }
@keyframes bump { 30% { color: var(--teal); text-shadow: 0 0 18px var(--teal); transform: scale(1.06); } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

/* Animatsiya va o'tishlar butunlay o'chirilgan */
*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.reveal, .slide .anim { opacity: 1 !important; transform: none !important; filter: none !important; }
h1, h2, h3, h4 { letter-spacing: -0.02em; }
.live-dot { box-shadow: none; }
