/* === RESET === */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* === BODY + CENTERING === */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #fff;
  background-color: #000;
  overflow: hidden;

  /* фон по умолчанию */
  --bg: url("/images/1.jpg");
}

/* === BACKGROUND WITH ZOOM === */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;

  animation: zoom 20s linear forwards;
  transition: background-image 1.5s ease-in-out;
}

@keyframes zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

/* === MAIN CONTAINER === */
.container {
  width: 100%;
  max-width: 520px;
  padding: 24px;
  text-align: center;
}

/* === HEADER === */
.header {
  margin-bottom: 24px;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

h1 {
  margin: 0;
  font-size: 28px;
}

.subtitle {
  margin-top: 6px;
  opacity: 0.7;
  font-size: 14px;
}

/* === LINKS === */
.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.links a {
  padding: 12px 16px;
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  border-radius: 12px;

  background: rgba(20, 20, 20, 0.65);
  backdrop-filter: blur(6px);

  transition: background 0.25s ease, transform 0.25s ease;
}

.links a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

/* === STATUS BLOCKS === */
.status {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  padding: 16px;
  border-radius: 16px;
  text-align: left;

  background: rgba(20, 20, 20, 0.65);
  backdrop-filter: blur(6px);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
}

.card p {
  margin: 6px 0;
  font-size: 14px;
}

.label {
  opacity: 0.6;
}

.value {
  margin-left: 4px;
}

/* === MOBILE === */
@media (max-width: 480px) {
  .container {
    padding: 16px;
  }

  h1 {
    font-size: 24px;
  }
}
