@font-face {
  font-family: 'Avallon Alt';
  src: url('AvallonAlt.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Quicksand', Arial, sans-serif;
  box-sizing: border-box;
}

.background video {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: brightness(0.7) blur(10px); /* Reintroduce blur effect */
  clip-path: inset(-10px); /* Adjust to prevent blur overflow */
  z-index: 0;
  pointer-events: none;
  will-change: filter; /* Hint browser for better performance */
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 80vw;
  max-width: 700px;
  text-align: center;
  z-index: 1;
}

.logo {
  display: block;
  margin: 0 auto 1.5rem auto;
  max-width: 160px;
  height: auto;
}

.tagline h1, .tagline h2 {
  font-family: 'Avallon Alt', cursive;
  color: #ffe6b3;
  margin: 0.5rem 0;
  font-weight: 400;
  text-shadow: 1px 2px 8px #3e2c1a;
}

.tagline h1 {
  font-size: 3.2rem;
  line-height: 1.1;
}

.tagline h2 {
  font-size: 2.2rem;
  line-height: 1.1;
}

.waitlist-form {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  box-shadow: none;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.waitlist-input-group {
  display: flex;
  width: 100%;
  max-width: 600px;
  background: #fdf1d6;
  border-radius: 2rem;
  overflow: hidden;
  border: 4px solid #fdf1d6;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .waitlist-input-group {
    flex-direction: column;
    max-width: 95vw;
    border-radius: 1.5rem;
    border-width: 2px;
  }
  .waitlist-input-group input[type="email"] {
    border-radius: 1.5rem 1.5rem 0 0;
    font-size: 0.95rem;
    padding: 0.7rem 0.7rem;
    height: 38px;
    text-align: center;
  }
  .waitlist-input-group button {
    border-radius: 0 0 1.5rem 1.5rem;
    font-size: 1rem;
    padding: 0.5rem 0;
    height: 38px;
    line-height: 38px;
    width: 100%;
  }
}

.waitlist-input-group input[type="email"] {
  border: none;
  outline: none;
  background: #fdf1d6;
  font-size: 1.25rem;
  flex: 1;
  padding: 1.1rem 1.2rem;
  color: #3e2c1a;
  border-radius: 2rem 0 0 2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  height: 54px;
  box-sizing: border-box;
}

.waitlist-input-group input[type="email"]::placeholder {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #b8a77a;
  opacity: 1;
}

.waitlist-input-group button {
  background: #2d241a;
  color: #fdf1d6;
  border: none;
  border-radius: 0 2rem 2rem 0;
  font-size: 1.25rem;
  padding: 0 4rem;
  min-width: 200px;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  height: 60px;
  line-height: 60px;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: top;
  white-space: normal;
  word-break: break-word;
}

.waitlist-input-group button:hover {
  background: #fdf1d6;
  color: #2d241a;
}

footer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(44, 36, 26, 0.85);
  color: #ffe6b3;
  text-align: center;
  padding: 1rem 0 0.5rem 0;
  font-size: 1rem;
  z-index: 2;
  letter-spacing: 1px;
} 