/* ===== БАЗА ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--gold);
  color: #101010;
}

/* скрываем нативный курсор при кастомном (desktop) */
@media (pointer: fine) {
  body.custom-cursor,
  body.custom-cursor a,
  body.custom-cursor button {
    cursor: none;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: var(--gold-bright);
}

/* ===== ТИПОГРАФИКА ===== */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.2px;
}

h1 {
  font-size: clamp(48px, 9vw, 104px);
  letter-spacing: 6px;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(30px, 5vw, 46px);
}

h3 {
  font-size: 22px;
}

/* ===== КНОПКИ ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 60px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  user-select: none;
}

.btn-arrow {
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn--primary {
  color: #15130e;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  box-shadow: 0 10px 34px rgba(201, 168, 106, 0.28);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 46px rgba(201, 168, 106, 0.4);
  color: #15130e;
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--gold-line);
  color: var(--gold-bright);
  box-shadow: 0 10px 30px rgba(201, 168, 106, 0.12);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 17px;
}

/* магнитная кнопка: сдвиг от курсора */
.btn--magnetic {
  will-change: transform;
}

/* ===== ЛОГОТИП VI / ONCHIKS ===== */
.logo-mark {
  display: block;
  width: 46px;
  height: auto;
  overflow: visible;
}

.logo-mark--lg { width: 64px; }
.logo-mark--xl { width: 110px; }

.logo-ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  opacity: 0.9;
}

.logo-vi {
  fill: var(--gold-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  text-anchor: middle;
  letter-spacing: 1px;
}

.logo-onchiks {
  fill: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.6px;
  text-anchor: middle;
}

/* ===== БЕЙДЖИ / ЧИПЫ ===== */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 60px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}

.chip--gold {
  color: var(--gold-bright);
  border-color: var(--gold-line);
  background: var(--gold-soft);
}

/* ===== ЗАГОЛОВКИ СЕКЦИЙ ===== */
.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 12px;
  color: var(--text);
}

.section-desc {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ===== КАРТОЧКИ ===== */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

/* ===== LIVE ТОЧКА ===== */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 0 rgba(208, 106, 90, 0.6);
  animation: livePing 1.6s ease-out infinite;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--danger);
  text-transform: uppercase;
}

/* доступность */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
