/* msk.sledmig.ru — shared styles */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-1: #1c1f26;
  --bg-2: #23272f;
  --bg-3: #2b2f38;
  --accent: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.10);
  --text: rgba(255, 255, 255, 0.82);
  --text-dim: rgba(255, 255, 255, 0.34);
  --ok: rgba(126, 204, 157, 0.85);
}

html, body { height: 100%; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg-1);
  position: relative;
  overflow-x: hidden;
}

.backdrop {
  position: fixed;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(circle at 25% 30%, var(--bg-3) 0%, transparent 45%),
    radial-gradient(circle at 78% 70%, var(--bg-2) 0%, transparent 50%),
    linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
  filter: saturate(1.05);
  animation: drift 28s ease-in-out infinite alternate;
}

@keyframes drift {
  0%   { transform: scale(1)    translate(0, 0); }
  100% { transform: scale(1.12) translate(2%, -2%); }
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.45) 100%);
}

main.stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 64px 24px;
  text-align: center;
  opacity: 0;
  animation: rise 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mark::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.7;
  animation: pulse 3.4s ease-in-out infinite;
}

.mark::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: ring 3.4s ease-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.45; }
  50%      { transform: scale(1.1); opacity: 0.85; }
}

@keyframes ring {
  0%   { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

.domain {
  font-size: 15px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--text-dim);
  padding-left: 0.42em;
}

.lead {
  max-width: 30rem;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 26rem;
  margin-top: 8px;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 13px;
}

.row .name { color: var(--text); letter-spacing: 0.02em; }
.row .val  { color: var(--text-dim); font-variant-numeric: tabular-nums; }
.row .val.ok { color: var(--ok); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 7px; vertical-align: middle; }

.code {
  font-size: 17px;
  letter-spacing: 0.3em;
  color: var(--text);
  font-weight: 500;
}

footer {
  position: relative;
  z-index: 2;
  padding: 24px;
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

footer a { color: var(--text-dim); text-decoration: none; transition: color .2s ease; }
footer a:hover { color: var(--text); }
footer .sep { opacity: 0.4; }

@media (prefers-reduced-motion: reduce) {
  .backdrop, .mark::before, .mark::after, main.stage { animation: none; }
  main.stage { opacity: 1; }
}
