/* SpyMeLive: общая основа (цвета, сброс, кнопки, логотип, язык). */
:root {
  --bg: #0c0e17;
  --bg-2: #10132200;
  --surf: #151930;
  --surf-2: #1b2039;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f4f2ee;
  --muted: #a3a9c2;
  --coral: #ff6a4d;
  --amber: #ffb84d;
  --teal: #2dd4bf;
  --danger: #ff5470;
  --grad: linear-gradient(135deg, #ff6a4d 0%, #ffb84d 100%);
  --r-lg: 28px;
  --r-md: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* Логотип */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-t { font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.logo-sm .logo-t { font-size: 18px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, border-color .18s, filter .18s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad); color: #21120c; box-shadow: 0 10px 30px -8px rgba(255, 106, 77, .55), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 16px 36px -8px rgba(255, 106, 77, .65), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; transform: none; filter: none; box-shadow: none; }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); }
.btn-lg { height: 60px; padding: 0 32px; font-size: 18px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }

/* Выбор языка */
.lang { position: relative; display: inline-flex; align-items: center; color: var(--muted); }
.lang > .ic { position: absolute; left: 12px; width: 16px; height: 16px; pointer-events: none; }
.lang .lang-chev { position: absolute; right: 10px; width: 14px; height: 14px; pointer-events: none; }
.lang select {
  -webkit-appearance: none; appearance: none; height: 40px; padding: 0 30px 0 34px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer;
}
.lang select:hover { background: rgba(255, 255, 255, .09); }
.lang select option { color: #111; background: #fff; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(45, 212, 191, .6); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(45, 212, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
