/* ====== ОСНОВА ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #000;
  overflow: hidden;
  color: #000;
}

.page {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  opacity: 0;
  animation: fade-in 1s ease forwards;
}

/* ====== ФОН ====== */
.background {
  position: absolute;
  inset: 0;
  background: url("bg-hospital.png") center center / cover no-repeat;
  z-index: 1;
}

/* ====== КНОПКИ ====== */
.top-buttons {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
  z-index: 3;
}

.top-btn {
  min-width: 120px;
  height: 52px;
  border-radius: 8px;
  border: 2px solid #d7d7d7;
  background: #f5f5f5;
  box-shadow: 0 3px 0 #b1b1b1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.12s ease;
}

.top-btn span {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: #222;
}

.top-btn:hover {
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.7));
}

.top-btn:active {
  transform: translateY(2px);
  box-shadow: none;
}

/* ====== ЦЕНТРАЛЬНЫЙ ТЕКСТ (КАРТИНКИ) ====== */
.center-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.coming-soon-img,
.project-name-img {
  max-width: 90%;
  height: auto;
  image-rendering: auto;
}

/* ====== ТОЛПА ====== */
.crowd-wrap {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(10px); /* немного ниже нижней границы */
  z-index: 2;
  pointer-events: none;
}

.crowd-img {
  width: min(900px, 90vw);
  height: auto;
  display: block;
  margin: 0;
}

/* ====== ПОДПИСЬ ====== */
.footer-sign {
  position: absolute;
  right: 32px;
  bottom: 20px;
  z-index: 3;
}

.footer-sign-img {
  max-width: 200px;
  height: auto;
  image-rendering: auto;
}

/* ====== АНИМАЦИЯ ====== */
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ====== МОБИЛЬНЫЙ АДАПТИВ ====== */
@media (max-width: 768px) {
  .top-buttons { gap: 20px; }
  .top-btn { min-width: 90px; height: 46px; }
  .footer-sign { right: 16px; bottom: 12px; }
  .footer-sign-img { max-width: 140px; }
  .crowd-wrap { transform: translateX(-50%) translateY(5px); }
}
