body {
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.container {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  width: 320px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
}

h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 1.7rem;
  color: #0aff99;
  margin-top: 1rem;
}

.face-id-btn {
  background: none;
  border: none;
  cursor: pointer;
  margin-top: 1rem;
}

.face-id-btn img {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 0 10px #0aff99);
}

.login-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1rem;
}

.btn {
  padding: 0.625rem;
  border: none;
  border-radius: 0.3125rem;
  font-size: 0.875rem;
  cursor: pointer;
  color: white;
  transition: opacity 0.3s ease;
}

.btn-google { background-color: #db4437; }
.btn-facebook { background-color: #3b5998; }
.btn-twitter { background-color: #1da1f2; }
.btn-microsoft { background-color: #000000; }
.btn-yahoo { background-color: #6001d2; }
.btn-email { background-color: #ea4335; }

.btn:hover { opacity: 0.8; }

.terms {
  margin-top: 1rem;
  font-size: 0.75rem;
  text-align: center;
}

.terms a {
  color: #0aff99;
  text-decoration: none;
}

.terms a:hover {
  text-decoration: underline;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 360px;
  background: rgba(30, 30, 30, 0.95);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 1rem;
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
  backdrop-filter: blur(20px);
}

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.scan-animation {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid rgba(0, 255, 153, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 20px #0aff99;
}

.scan-line {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #0aff99;
  box-shadow: 0 0 10px #0aff99;
  animation: scan 2s infinite alternate;
}

@keyframes scan {
  0% { top: 20%; }
  100% { top: 80%; }
}

.status {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #0aff99;
  font-weight: bold;
}

.close-btn {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #0aff99;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  color: #000;
}

.close-btn:hover {
  background: #00cc77;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}