/* Background Video */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Blur Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(12px) brightness(0.6);
  z-index: -1;
}

/* Container Styles */
body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #f1faee;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background: rgba(9, 9, 9, 0.55);
  padding: 40px;
  border-radius: 15px;
  width: 90%;
  max-width: 700px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

h1 {
  margin-bottom: 10px;
  font-size: 2.5em;
}

.subtitle {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: #a8dadc;
}

form input[type="text"] {
  width: 70%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  margin-right: 10px;
  font-size: 1em;
}

form button {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background: #e63946;
  color: white;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: #d62828;
}

.error {
  color: #ff6b6b;
  margin-top: 20px;
}

.summary-box {
  margin-top: 30px;
  background: #f1faee;
  color: #1d3557;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
}

.summary-box h2 {
  margin-top: 0;
  color: #e63946;
}

.summary-text {
  line-height: 1.6;
}

/* Spinner Styles */
.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #e63946;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}