body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  padding-top: 50px;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.login-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: 20px;
  width: 320px;
  text-align: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  animation: fadeIn 1s ease;
}

.login-box h2 {
  margin-bottom: 25px;
  font-size: 24px;
}

.input-group {
  margin-bottom: 20px;
  width: 100%;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  outline: none;
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 16px;
}

.btn {
  background-color: #fff;
  color: #333;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #333;
  color: #fff;
  transform: scale(1.05);
}

.error-box {
  background: rgba(255, 0, 0, 0.3);
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 15px;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-section, .video-section {
  text-align: center;
  margin-top: 50px;
  color: #fff;
  max-width: 600px;
}

.toggle-btn {
  background-color: #fff;
  color: #333;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-btn:hover {
  background-color: #333;
  color: #fff;
}

.code-box {
  background: rgba(0, 0, 0, 0.5);
  color: #00FFAA;
  text-align: left;
  padding: 20px;
  margin: 20px auto;
  width: 90%;
  border-radius: 10px;
  display: none;
  overflow-x: auto;
  white-space: pre-wrap;
}

.code-box.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 20px auto;
  width: 90%;
  max-width: 600px;
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 15px;
}
