:root {
  --cream: #fff9ec;
  --gold: #f3c86b;
  --line: rgba(255, 255, 255, 0.20);
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--cream);
  background:
    linear-gradient(115deg, rgba(0, 0, 0, 0.56), rgba(0, 25, 40, 0.15) 46%, rgba(0, 0, 0, 0.42)),
    url("assets/bg.png") 56% 34% / 120% auto no-repeat fixed;
}

.page-shell {
  height: 100svh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.hero-card {
  width: min(500px, 100%);
  max-height: calc(100svh - 36px);
  padding: 28px 34px 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(7, 17, 22, 0.74), rgba(7, 17, 22, 0.50));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin: 0 -34px 22px;
}

.logo {
  width: 85%;
  height: auto;
  display: block;
  mix-blend-mode: screen;
  max-width: none;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,0.35));
}

h1 {
  margin: 0 auto;
  max-width: 9ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.9rem, 6vw, 4.6rem);
  line-height: 0.88;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  color: var(--cream);
}


.intro {
  margin: 0 auto 16px;
  max-width: 28rem;
  color: rgba(255, 249, 236, 0.90);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}

.signup-form {
  display: grid;
  gap: 10px;
  text-align: left;
}

.hidden-field,
label {
  display: none;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--cream);
  font: inherit;
  outline: none;
  text-align: center;
}

input::placeholder { color: rgba(255, 249, 236, 0.48); }
input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(243, 200, 107, 0.16); }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--cream);
  transition: background-color 9999s ease-in-out 0s;
  box-shadow: 0 0 0 1000px rgba(255,255,255,0.12) inset;
}

button, .return-link {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  margin-top: 0;
  padding: 0 22px;
  background: linear-gradient(135deg, #fff2b6, #f3c86b 48%, #d99532);
  color: #161008;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button:hover, .return-link:hover { transform: translateY(-1px); }

.success-card { text-align: left; }
.success-card h1 { max-width: none; }
.return-link { margin-top: 10px; }

@media (max-width: 680px) {
  body {
    background-attachment: scroll;
    background-position: 58% 32%;
    background-size: 180% auto;
  }

  .page-shell {
    padding: 14px;
  }

  .hero-card {
    width: min(470px, 100%);
    max-height: calc(100svh - 28px);
    padding: 24px 22px 18px;
    border-radius: 24px;
  }

  .logo-wrap {
    margin: 0 -22px 18px;
  }

  .logo {
    width: 85%;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.4rem, 10vw, 3.8rem);
    line-height: 0.88;
  }


  .intro {
    margin: 0 auto 14px;
    font-size: 0.91rem;
    line-height: 1.48;
  }

  input {
    min-height: 46px;
  }

  button, .return-link {
    min-height: 48px;
  }
}
