/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* BACKGROUND */
.hero-bg {
  position: relative;
  height: 100vh;
  background: url('login.png') 
              center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(115deg, rgba(0,0,0,0.8), rgba(0,0,0,0.4)); */
  /* backdrop-filter: blur(2px); */
  z-index: 10;
}

/* NAVBAR */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  z-index: 3;
  display: flex;
  align-items: center;
  max-width: 89vw;
}

/* .bg-img{
  background-image: url(login.png);
  background-position: center center;
  background-size: max(1200px, 100vw);
  background-repeat: no-repeat;
  height: 100%;
  position: relative;
}
.main {
  background-image: url(login.png);
  background-position: center center;
  background-size: max(1200px, 100vw);
  background-repeat: no-repeat;
  height: 100%;
  position: relative;
} */
.navbar img {
  color: red;
  width: 143px;
  position: relative;
  z-index: 10;
}
.logo {
  font-size: 2.2rem;
  font-weight: 700;
  color: #e50914;
  letter-spacing: 2px;
  cursor: pointer;
  transition: text-shadow 0.3s ease;
}
.logo:hover {
  text-shadow: 0 0 15px #e50914;
}

/* LOGIN CARD */
.login-card {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.75);
  padding: 70px 68px 40px;
  border-radius: 8px;
  max-width: 420px;
  width: 90%;
  animation: fadeUp 0.8s ease forwards;
  box-shadow: 0 0 40px rgba(0,0,0,0.4);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-card h1 {
  font-size: 2rem;
  margin-bottom: 28px;
  font-weight: 600;
}

/* INPUTS */
.input-group {
  position: relative;
  margin-bottom: 20px;
}
.input-group input {
  width: 100%;
  padding: 18px 12px 10px;
  background: #333;
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 1rem;
}
.input-group label {
  position: absolute;
  top: 16px;
  left: 12px;
  font-size: 1rem;
  color: #8c8c8c;
  pointer-events: none;
  transition: 0.3s ease;
}
.input-group input:focus + label,
.input-group input:valid + label {
  top: 5px;
  font-size: 0.8rem;
  color: #e50914;
}

/* BUTTONS */
.btn-primary {
  width: 100%;
  background: #e50914;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover {
  background: #f6121d;
  transform: translateY(-2px);
}

.btn-secondary {
  width: 100%;
  background: #222;
  color: #fff;
  border: 1px solid #555;
  padding: 14px;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.3s ease, border 0.3s ease;
}
.btn-secondary:hover {
  background: #333;
  border-color: #888;
}

/* EXTRAS */
.login-options {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #b3b3b3;
  margin-top: 10px;
}
.login-options a:hover {
  text-decoration: underline;
}
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #8c8c8c;
  margin: 20px 0;
  font-size: 0.85rem;
}
.divider span {
  background: #000;
  padding: 0 10px;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #333;
}

/* FOOTER TEXTS */
.signup {
  margin-top: 30px;
  font-size: 1rem;
  color: #737373;
}
.signup a {
  color: #fff;
  font-weight: 500;
}
.signup a:hover {
  text-decoration: underline;
}
.small-text {
  margin-top: 14px;
  font-size: 0.8rem;
  color: #8c8c8c;
  line-height: 1.4;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .login-card {
    padding: 50px 30px 30px;
  }
  .navbar {
    padding: 15px 30px;
  }
  .logo {
    font-size: 1.8rem;
  }
}
