:root {
  --bg: #0c0a08;
  --gold: #e0b35a;
  --gold-bright: #f0d08a;
  --gold-dim: #a67c32;
  --cream: #f4ebe0;
  --cream-muted: #c4b8a8;
  --text-dim: #8a7f72;
  --ok: #7dcea0;
  --danger: #e07a5f;
  --border: rgba(212, 162, 74, 0.28);
  --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 2.5rem;
  position: relative;
  overflow-x: hidden;
}

.page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 35%, rgba(180, 120, 40, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 90%, rgba(60, 40, 15, 0.35), transparent 55%);
  pointer-events: none;
}

.wrap {
  position: relative;
  width: min(100%, 720px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.35rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(224, 179, 90, 0.08);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.splash-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1410;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px var(--border),
    0 0 60px rgba(212, 162, 74, 0.12);
  line-height: 0;
}

.splash {
  width: 100%;
  height: auto;
  max-height: min(58vh, 560px);
  object-fit: contain;
  object-position: center;
  background: #1a1410;
}

.motto {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.85rem;
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.motto > span:not(.diamond) {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 55%, var(--gold-dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.diamond {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold-dim));
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(224, 179, 90, 0.5);
  border-radius: 1px;
}

h1 {
  margin: 0;
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 span {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold), var(--gold-dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0;
  max-width: 34rem;
  color: var(--cream-muted);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.card {
  width: 100%;
  max-width: 420px;
  margin-top: 0.35rem;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(28, 22, 16, 0.85);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  text-align: left;
}

.card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  text-align: center;
}

.card .sub {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

input[type='email'] {
  flex: 1 1 180px;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

input[type='email']:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(224, 179, 90, 0.15);
}

button[type='submit'] {
  flex: 0 0 auto;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  color: #1a1208;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold-bright));
  box-shadow: 0 6px 22px rgba(224, 179, 90, 0.28);
}

button[type='submit']:hover {
  filter: brightness(1.06);
}

button[type='submit']:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  cursor: pointer;
}

.consent input {
  margin-top: 0.15rem;
  accent-color: var(--gold);
}

.status {
  margin: 0.75rem 0 0;
  min-height: 1.25em;
  font-size: 0.88rem;
  text-align: center;
}

.status.ok {
  color: var(--ok);
}

.status.err {
  color: var(--danger);
}

.note {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

.foot {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.foot strong {
  color: var(--cream-muted);
  font-weight: 600;
}

@media (max-width: 480px) {
  .form-row {
    flex-direction: column;
  }

  button[type='submit'] {
    width: 100%;
  }

  .splash {
    max-height: min(42vh, 360px);
  }
}
