/* Production CSS for ARCSTARZ Waitlist */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #000000;
  background-image: url('/newwebbg.jpg');
  background-size: cover;
  background-position: center 72%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: Arial, sans-serif;
  color: #ffffff;
}

.overlay {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 16px 110px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.72));
}

.container {
  width: min(78vw, 270px);
  margin-bottom: clamp(40px, 7vh, 80px);
  text-align: center;
}

.brand {
  font-size: clamp(1.35rem, 4.8vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  margin-bottom: 0.3rem;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.waitlist-text {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.email-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  padding: 8px 9px;
  border-radius: 7px;
  font-size: 0.78rem;
  outline: none;
  backdrop-filter: blur(4px);
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.82);
}

.email-input:focus {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.55);
}

.submit-btn {
  width: 100%;
  background: #ffffff;
  color: #111111;
  border: none;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.submit-btn:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  background: #9a9a9a;
  color: #222222;
  cursor: not-allowed;
}

.success-message,
.error-message {
  display: none;
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
  font-size: 0.95rem;
}

.success-message {
  background: rgba(30, 170, 90, 0.16);
  border: 1px solid rgba(140, 255, 185, 0.55);
  color: #e8ffef;
}

.error-message {
  background: rgba(190, 35, 35, 0.2);
  border: 1px solid rgba(255, 160, 160, 0.55);
  color: #ffe6e6;
}

.footer {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 100%;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 0 12px;
}

.footer .coming-soon {
  color: rgba(255, 255, 255, 0.9);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 6px;
}

.social-icon {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.social-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.loading {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #111111;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  body {
    background-image: url('/newebbgmobile.jpg');
    background-position: center 76%;
    background-attachment: scroll;
  }

  .overlay {
    padding: 18px 12px 92px;
  }

  .container {
    width: min(84vw, 250px);
    margin-bottom: clamp(44px, 8vh, 72px);
  }

  .brand {
    font-size: clamp(1.2rem, 6vw, 1.7rem);
    letter-spacing: 0.18em;
  }

  .waitlist-text {
    font-size: 0.68rem;
  }

  .email-input {
    padding: 7px 9px;
    font-size: 0.74rem;
  }

  .submit-btn {
    font-size: 0.82rem;
    padding: 7px 9px;
  }
}

@media (max-width: 420px) {
  .container {
    margin-bottom: clamp(48px, 10vh, 74px);
  }

  .brand {
    letter-spacing: 0.15em;
  }
}

