* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
  }
  
  /* Фон страницы */
  body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #0b0c22; /* или другой тёмный фон */
    position: relative;
    overflow: hidden;
  }
  
  /* Контейнер формы */
  .login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 550px;
    padding: 50px 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08); /* Полупрозрачная основа */
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
      0 8px 32px rgba(31, 38, 135, 0.37),
      0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transition: all 0.4s ease;
    z-index: 10;
    animation: fadeInUp 0.7s ease forwards;
    color: white;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Заголовок */
  .login-container h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
  }
  
  /* Поля ввода */
  .login-container input {
    width: 100%;
    padding: 12px 16px;
    margin: 10px 0;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px) saturate(180%);
    color: #fff;
    font-size: 15px;
    transition: 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
  }
  
  .login-container input::placeholder {
    color: rgba(255, 255, 255, 0.7);
  }
  
  .login-container input:focus {
    outline: none;
    box-shadow: 
      0 0 0 2px rgba(96, 62, 219, 0.7),
      0 0 8px rgba(62, 65, 219, 0.6),
      inset 0 0 1px rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.2);
  }
  
  /* Forgot password */
  .forgot-password {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin: 10px 0;
  }
  
  .forgot-password a {
    font-size: 13px;
    color: #b5b1e4;
    text-decoration: none;
  }
  
  .forgot-password a:hover {
    text-decoration: underline;
  }
  
  /* Кнопка */
  .login-container button {
    width: 100%;
    padding: 12px;
    background-image: linear-gradient(to right, #45429c 0%, #786aa6 51%, #4040a6 100%);
    color: white;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
  }
  
  .login-container button:hover {
    transform: scale(1.02);
    
  }
  
  /* OR divider */
  .or-divider {
    margin: 20px 0;
    font-size: 15px;
    color: #eee;
  }
  /* Социальные иконки */
  .social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  
  .social-login img {
    width: 50px;
    height: 50px;
    padding: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  }
  
  .social-login img:hover {
    transform: scale(1.1);
  }
  
  /* Регистрация */
  .new-account {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }
  
  .new-account a {
    color: #b596ff;
    font-weight: 600;
    text-decoration: none;
  }
  
  .new-account a:hover {
    text-decoration: underline;
  }

.background-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* чтобы не мешало кликам */
    z-index: 0; /* на задний план */
    overflow: hidden;
  }
  
  .shape1 {
    position: absolute;
    max-width: 700px;
    height: auto;
    bottom: 0;
    right: 0px;
    opacity: 0.85;
    filter: drop-shadow(0 0 25px rgba(199, 199, 199, 0.5));
  }
  
  /* 🚀 Ракета слева */
  .shape2 {
    position: absolute;
    max-width: 600px;
    height: auto;
    bottom: 0;
    left: 100px;
    bottom: 200px;
    opacity: 0.85;
    transform: rotate(-10deg);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  }
/* ========================= */
/*      Адаптивность         */
/* ========================= */

/* Средние экраны (планшеты и небольшие ноутбуки) */
@media (max-width: 768px) {
    body {
        padding: 20px; /* Чуть больше отступов вокруг формы */
    }
    .login-container {
        width: 80%;
        height: auto;        /* Уберём фиксированную высоту */
        padding: 40px 20px;  /* Уменьшим отступы */
    }
    .login-container h2 {
        font-size: 28px;     /* Уменьшим заголовок */
    }
    .login-container button {
        font-size: 16px;     /* Чуть меньше кнопка */
        padding: 10px;
    }
}

/* Маленькие экраны (смартфоны) */
@media (max-width: 480px) {
    .login-container {
        width: 90%;
        padding: 30px 15px;
        border-radius: 15px; /* Можно чуть уменьшить радиус */
    }
    .login-container h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .login-container input {
        font-size: 14px;
        padding: 10px;
    }
    .login-container button {
        font-size: 16px;
        padding: 10px;
    }
    .or-divider {
        font-size: 14px;
        margin: 15px 0;
    }
    .social-login img {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
}
