body, html {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: #eee;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #111;
  position: relative;
  overflow: hidden; /* убираем скролл */
  transition: background-color .3s, color .3s;
  justify-content: center; /* вертикальное центрирование */
  align-items: center;     /* горизонтальное центрирование */
  height: 100vh;           /* высота экрана */
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('../images/background.png') center bottom / cover no-repeat;
  background-color: #111;
  opacity: 0.8; 
  z-index: 0;
  filter: brightness(0.7);
  transition: filter .3s, opacity .3s;
}

/* ----- CONTAINER ----- */
.container {
  position: relative;  /* Чтобы быть поверх фона */
  z-index: 1;
  text-align: center;
  max-width: 500px;
  width: 100%;
  padding: 2rem;
  background: rgba(10, 10, 10, 0.6);  /* более прозрачный */
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(150, 150, 150, 0.3);
  transition: background-color .3s, box-shadow .3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ----- AVATAR ----- */
.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid #10e2f1d5;
  filter: brightness(1.3);
  box-shadow: 0 0 10px rgba(0, 174, 255, 0.53);
  transition: box-shadow .3s;
}

/* ----- TEXT ----- */
h1 {
  font-size: 2rem;
  margin-bottom: .5rem;
  color: #ddd;
}

.subtitle {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 2rem;
}

/* ----- LINKS ----- */
.links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(40, 40, 40, 0.8);
  min-width: 360px;
  margin: 0 auto;
  color: #ddd;
  padding: 1.2rem 2rem;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background .3s, transform .2s, box-shadow .3s;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
  gap: 10px;
  max-width: 480px; 
  border: 1px solid #666;
}
.link-button:hover {
  background-color: rgba(80, 80, 80, 1);
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}
.link-button img.icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(1.2);
}
.link-button:hover img.icon {
  filter: brightness(1.3);
}
/* ----- FOOTER / LAYOUT ----- */
.page-content {
  flex: 1 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.footer {
  flex-shrink: 0;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  opacity: 0.7;
  padding: 1rem 0;
  background: transparent;
  transition: color .3s, opacity .3s;
}

/* ----- АДАПТИВ ----- */

/* Мобильные устройства (до 480px) */
@media (max-width: 480px) {
  .container {
    padding: 1rem;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    min-width: 240px;
  }
  .avatar {
    width: 80px;
    height: 80px;
  }
  h1 {
    font-size: 1.4rem;
  }
  .subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  .link-button {
    width: 100%;
    max-width: 100%;
    min-width: unset;
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
  }
  .link-button img.icon {
    width: 18px;
    height: 18px;
  }
}

/* Планшеты (481px – 768px) */
@media (max-width: 768px) and (min-width: 481px) {
  .container {
    max-width: 90%;
    padding: 1.5rem;
  }
  .avatar {
    width: 100px;
    height: 100px;
  }
  h1 {
    font-size: 1.7rem;
  }
  .link-button {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    max-width: 100%;
  }
}

/* Десктопы (768px+) — можно расширить кнопки */
@media (min-width: 769px) {
  .link-button {
    min-width: 400px;
    max-width: 500px;
    font-size: 1.1rem;
  }
}
