/* ============================================================
   Страница входа — login.css
   ============================================================ */

.login-page {
  background: #000618;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
}

/* Паттерн — оттиск логотипа */
.login-pattern {
  position: absolute;
  inset: 0;
  background-image: url("/logo-pattern.png");
  background-repeat: repeat;
  background-size: 800px 800px;
  background-position: -120px -120px;
  opacity: 0.19;
  pointer-events: none;
}

.login-container {
  position: relative;
  z-index: 1;
  max-width: 720px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* Логотип-картинка */
.login-logo-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 6px 30px rgba(238, 18, 143, 0.55));
}

/* Заголовок */
.login-title {
  font-family: "Jost", sans-serif;
  font-weight: 700;
  font-size: 44px;
  letter-spacing: 2px;
  color: #FAB72C;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 4px;
}

/* fantasy */
.login-fantasy {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: #EE128F;
  letter-spacing: 4px;
  line-height: 1;
  margin-bottom: 32px;
}

/* Кнопки */
.login-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  margin-top: 8px;
}

/* Обёртка Telegram-виджета */
#telegram-widget-container {
  display: flex;
  justify-content: center;
}

/* Обёртка VK-виджета */
#vk-widget-container {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.login-btn {
  position: relative;
  padding: 16px 24px;
  border-radius: 12px;
  font-family: "Jost", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Кнопка VK */
.login-btn-vk {
  background: transparent;
  color: #7d8494;
  border: 1px solid #2a3549;
}
.login-btn-vk:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.login-btn-note {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #4a5568;
  background: #0a1220;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 4px;
}

/* Футер */
.login-footer {
  margin-top: 32px;
  font-size: 12px;
  color: #4a5568;
  text-align: center;
}
.login-footer a {
  color: #7d8494;
  text-decoration: none;
  transition: color 0.15s;
}
.login-footer a:hover {
  color: #FAB72C;
}

/* Мобильная адаптация */
@media (max-width: 600px) {
  .login-logo-img { width: 100px; height: 100px; }
  .login-title {
    font-size: 28px;
    letter-spacing: 1px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.15;
  }
  .login-fantasy { font-size: 22px; letter-spacing: 2px; margin-bottom: 24px; }
  .login-btn { padding: 14px 20px; font-size: 15px; }
}