* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #1e1e1e 0%, #333 100%);
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 450px;
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 30px 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: #4caf50;
  margin-bottom: 15px;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: white;
}

.subtitle {
  color: #aaa;
  margin-bottom: 30px;
  font-size: 1rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  color: #ddd;
  font-weight: 500;
  font-size: 0.95rem;
}

input[type="email"],
input[type="password"] {
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #252525;
  color: white;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.3);
}

.password-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #bbb;
}

.password-toggle input {
  accent-color: #4caf50;
}

.error-message {
  font-size: 0.85rem;
  color: #e74c3c;
  min-height: 20px;
  display: block;
}

.btn-submit {
  padding: 14px 25px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: #3e8e41;
  transform: translateY(-2px);
}

.btn-submit:active {
  transform: translateY(0);
}

.links {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-top: 15px;
}

.links a {
  color: #4caf50;
  text-decoration: none;
  font-weight: 500;
}

.links a:hover {
  text-decoration: underline;
}

.social-login {
  margin-top: 30px;
  text-align: center;
}

.social-login p {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-btn {
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.google {
  background-color: #db4437;
  color: white;
}

.vk {
  background-color: #4680b1;
  color: white;
}

.steam {
  background-color: #000;
  color: #fff;
}

/* Адаптивность */
@media (max-width: 500px) {
  .container {
    padding: 25px 20px;
    margin: 10px;
  }

  h1 {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .links {