body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  color: #fff;
  background: #0d1117;
  overflow-x: hidden;
}

/* ---------- Hero section ---------- */
.welcome-hero {
  position: relative;
  height: 100vh;
  background: url("/img/bg.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,17,23,0.85), rgba(20,24,30,0.85));
}

.content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 2rem;
  animation: fadeIn 1.2s ease-out;
}

.logo {
  width: 100px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
}

h1 {
  font-size: 2.4em;
  font-weight: 600;
  margin-bottom: 0.4em;
}

h1 span {
  color: #ff7b00;
}

p {
  font-size: 1.1em;
  color: #c9d1d9;
  margin-bottom: 2em;
}

.btn.primary {
  background: #ff7b00;  /* оранжевый фон */
  color: #fff;           /* белый текст */
  width: 100%;
  padding: 0.8em;
  border-radius: 6px;
  text-align: center;
  font-size: 1em;
  box-sizing: border-box;
  border: none;          /* убираем серую рамку */
}

.btn.primary:hover {
  background: #ff9500;
  transform: translateY(-2px);
}


/* ---------- Form ---------- */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 300px;
  margin: 0 auto 1.5rem auto;
}

.input-field {
  padding: 0.8em;
  border-radius: 6px;
  border: none;
  outline: none;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
}

/* Кнопка «Войти» */
.login-form .btn.primary {
  width: 100%;
  padding: 0.8em;
  border-radius: 6px;
  font-size: 1em;
  text-align: center;
  border: none;          /* убираем рамку */
  outline: none;         /* убираем outline */
  background: #ff7b00;
  color: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
}

.login-form .btn.primary:hover {
  background: #ff9500;
  transform: translateY(-2px);
}

.login-form .btn.primary:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

/* ---------- Vertical buttons ---------- */
.vertical-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 300px;
  margin: 0 auto;
}

.vertical-buttons .btn {
  width: 100%;
  padding: 0.8em;
  border-radius: 6px;
  font-size: 1em;
  text-align: center;
  box-sizing: border-box;
  text-decoration: none;
}

.btn.secondary {
  background: #30363d;
  color: #fff;
}

.btn.secondary:hover {
  background: #444c56;
  transform: translateY(-2px);
}

.btn.ghost {
  border: 1px solid #ff7b00;
  color: #ff7b00;
  background: transparent;
}

.btn.ghost:hover {
  background: rgba(255, 123, 0, 0.1);
}


/* ---------- Animations ---------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  h1 { font-size: 1.8em; }
  .logo { width: 80px; }
}

@media (max-width: 480px) {
  p { font-size: 1em; }
  .btn { width: 100%; }
}
