/* ===========================
   БАЗОВЫЕ СТИЛИ
   =========================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  color: white;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  height: 100dvh;
  overflow: hidden;

  background:
    radial-gradient(ellipse at 120% -10%, rgba(80,160,255,0.2), transparent 50%),
    radial-gradient(ellipse at -20% 110%, rgba(80,120,255,0.2), transparent 55%),
    linear-gradient(135deg, #00030A, #00030A);
}

/* ===========================
   КОНТЕЙНЕР
   =========================== */
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 480px;
  height: 100%;
  display: grid;
  grid-template-rows: 6.5fr 6fr 2fr;
  gap: 16px;
  padding: 18px;
}

/* ===========================
   ПРОФИЛЬ
   =========================== */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Декоративный круг */
.circle-bg {
  border-radius: 50%;
  background: rgb(202, 222, 255);
  box-shadow:
    0 0 220px rgb(0, 0, 0),
    inset 0 0 25px rgb(0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

/* Аватар */
.avatar {
  border-radius: 50%;
  overflow: hidden;
  background: #333;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Текст */
.username {
  font-weight: bold;
  margin-bottom: 4px;
}

.userid {
  opacity: 0.7;
}

/* ===========================
   ПАНЕЛЬ КНОПОК
   =========================== */
.panel {
  background: #0000005b;
  border-radius: 30px;
  padding: 20px;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 16px;
  box-shadow: 0 10px 14px rgb(0, 0, 0);
  border: 2px solid #0c1e47;
  
}

.row {
  display: grid;
  gap: 16px;
}

.row-1 { grid-template-columns: 1fr; }
.row-2 { grid-template-columns: 1fr 1fr; }
.row-3 { grid-template-columns: 1fr; }

.btn {
  font-size: 15px;
  width: 100%;
  padding: 15px;
  border-radius: 16px;
  border: none;
  color: rgb(255, 255, 255);
  cursor: pointer;
  transition: .25s cubic-bezier(.4,0,.2,1);

}

.btn.dlss{
  width: 100%;
  padding: 13px;
  border-radius: 16px;
  border: 1px solid #2d6cff;
  background: transparent;
  color: #2d6cff;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;

}



.btn.main{
  background: #2d6cff;
  font-weight: 600;
  box-shadow: 0 0 10px #2d6cff;
}


/* ===========================
   НИЖНИЙ БЛОК
   =========================== */
.mobile .footer {
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* расстояние между логотипом и текстом */
  font-size: 20px;
  font-weight: bold;
}

.mobile .footer-logo {
  width: 38px;   /* можешь менять */
  height: 38px;
  object-fit: contain;
  display: block;
}


/* ===========================
   АДАПТАЦИЯ: МОБИЛЬНЫЕ УСТРОЙСТВА
   =========================== */
.mobile .avatar {
  width: 120px;
  height: 120px;
}

.mobile .circle-bg {
  width: 135px;
  height: 135px;
}

.mobile .username {
  font-size: 22px;
}

.mobile .userid {
  font-size: 16px;
}

/* ===========================
   АДАПТАЦИЯ: ПК / TELEGRAM DESKTOP
   =========================== */

.desktop .footer {
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* расстояние между логотипом и текстом */
  font-size: 15px;
  font-weight: bold;
}

.desktop .footer-logo {
  width: 28px;   /* можешь менять */
  height: 28px;
  object-fit: contain;
  display: block;
}

.desktop .avatar {
  width: 103px;
  height: 103px;
}

.desktop .circle-bg {
  width: 115px;
  height: 115px;
}

.desktop .username {
  font-size: 18px;
}

.desktop .userid {
  font-size: 14px;
}

.screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.screen.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.screen.fade-out {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
