/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  background: url('background.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark overlay on background */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

/* Container as center card */
.container {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 3rem 2rem;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Headline */
h1 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Subtext */
p {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: #e0e0e0;
}

/* Form Styling */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

input[type="email"] {
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  width: 100%;
  font-size: 1rem;
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

input[type="email"]::placeholder {
  color: #ddd;
}

button {
  padding: 0.75rem 2rem;
  background-color: #ff6b6b;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #ff4a4a;
}

/* Responsive */
@media screen and (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }

  p {
    font-size: 0.95rem;
  }

  .container {
    padding: 2rem 1.5rem;
  }
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #ccc;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.3rem 1rem;
  border-radius: 5px;
  z-index: 1000;
}
