* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Rubik', sans-serif;
  overflow: hidden;
}
.background {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  transition: transform 0.2s ease-out;
}
.background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('bg.jpg') center/cover no-repeat;
  transform: scale(1.05);
  animation: slowZoom 30s ease-in-out infinite alternate;
  z-index: 0;
}
.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,102,0,0.15), transparent 60%),
    linear-gradient(to bottom, rgba(29,39,42,0.5), rgba(29,39,42,0.85));
  z-index: 1;
}
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;

  background-image: url("https://grainy-gradients.vercel.app/noise.svg");

  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);

  background-color: rgba(29, 39, 42, 0.25);
}
.logo {
  text-align: center;
  padding-top: 20px;
  animation: fadeDown 0.8s ease forwards;
}

.logo img {
  width: 190px;
}
.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  color: white;
  padding: 20px;
  animation: fadeUp 0.9s ease forwards;
}
.headline {
  font-size: 72px;
  font-weight: 850;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 75px;
}
.form-text {
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 20px;
}
.form-container {
  background: rgba(29, 39, 42, 0.55);
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  animation: fadeUp 1.1s ease forwards;
}
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
input {
  padding: 12px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: white;
  outline: none;
  transition: 0.2s;
}
input::placeholder {
  color: rgba(255,255,255,0.5);
}
input:focus {
  border-color: rgba(255,102,0,0.6);
  box-shadow: 0 0 0 3px rgba(255,102,0,0.15);
}
input.error {
  border-color: rgba(255,80,80,0.8);
  box-shadow: 0 0 0 3px rgba(255,80,80,0.15);
}
form label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
input[type="checkbox"] {
  accent-color: #ff6600;
}
button {
  padding: 13px;
  font-weight: 600;
  background: #ff6600;
  color: white;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  position: relative;
  transition: 0.2s;
}
button:hover {
  background: #e55a00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,102,0,0.45);
}
button:active {
  transform: translateY(0);
}
button.loading {
  pointer-events: none;
}
button.loading span {
  opacity: 0;
}
button.loading::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top: 2px solid white;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 0.7s linear infinite;
}
.form-success,
.form-error {
  display: none;
  margin-top: 15px;
  text-align: center;
}
.form-success { color: #4ade80; 
}
.form-error { color: #f87171; 
}
footer {
  text-align: center;
  padding: 20px;
  margin-bottom: 20px; 
  opacity: 0.7;
  color: white;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slowZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}
@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@media (max-width: 768px) {
  .headline { 
    font-size: 42px; }
  .subheadline { 
    font-size: 18px; margin-bottom: 40px; }
  .logo img { 
    width: 130px; }
  footer {
    margin-bottom: 40px; 
  }
}
  
  
