* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  height: 100vh;
  overflow: hidden;
  background: black;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

body.loaded {
  opacity: 1;
}

/* ФОН */
.background {
  position: absolute;
  inset: -5%;
  background: url("bg.jpg") center/cover no-repeat;
  filter: blur(2px);
  transform: scale(1.1);
  transition: transform 0.2s linear;
  z-index: -2;
}

/* КНОПКА ЗВУКА */
.sound-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.8;
}

/* КАРТОЧКА */
.card {
  width: 360px;
  padding: 32px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
  transition: transform 0.15s ease;
}

/* АВАТАР */
.avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

/* ТЕКСТ */
h1 {
  font-size: 24px;
  font-weight: 500;
}

.tag {
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 20px;
}

/* ИКОНКИ */
.icons {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.icons a {
  color: white;
  font-size: 22px;
  opacity: 0.8;
  transition: 0.2s;
}

.icons a:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* 📱 MOBILE */
@media (max-width: 480px) {
  .card {
    width: 90%;
    padding: 26px;
  }

  h1 {
    font-size: 22px;
  }
}
