
:root {
  --ink: #0A0000;
  --cream: #F5DADA;
  --blood: #8A0303;
  --blood-bright: #C1121F;
  --gold: #C1121F;
  --gold-deep: #8A0303;
  --coral: #8A0303;
  --coral-deep: #4A0000;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  background: #000;
}

body { height: 100dvh; position: relative; }

video.bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  object-fit: cover;
  z-index: 0;
}

.veil {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(60,0,0,0.25), rgba(10,0,0,0.7));
  z-index: 1;
}

/* ENTER SCREEN */
.enter-screen {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: max(16px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
  gap: clamp(12px, 3.2vh, 26px);
  overflow: hidden;
  transition: opacity 0.6s ease;
}

.enter-screen.hidden { opacity: 0; pointer-events: none; }

.enter-logo {
  --logo-size: min(360px, calc(100vw - 48px), calc(100dvh - 200px));
  width: var(--logo-size);
  height: var(--logo-size);
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 1 auto;
  box-shadow: 0 0 40px rgba(138,3,3,0.5), 0 10px 40px rgba(0,0,0,0.5);
}

.enter-tagline {
  font-weight: 700;
  font-size: clamp(11px, 2.6vw, 16px);
  letter-spacing: 1.2px;
  color: var(--blood-bright);
  max-width: min(320px, calc(100vw - 40px));
  padding: 0 8px;
  line-height: 1.6;
  flex-shrink: 0;
}

.enter-btn {
  background: #FFFFFF;
  color: var(--blood);
  border: none;
  border-radius: 999px;
  padding: 16px 30px;
  font-family: 'Creepster', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}

.enter-btn:hover { background: #FFFFFF; }
.enter-btn:active { transform: scale(0.97); }

.enter-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: rgba(251,233,210,0.4);
  letter-spacing: 0.5px;
}

/* STAGE / FORM */
.stage {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.card {
  width: 100%;
  max-width: 420px;
  background: rgba(20,0,0,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid rgba(138,3,3,0.8);
  border-radius: 10px;
  padding: 26px 26px 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  color: var(--cream);
  max-height: 92dvh;
  overflow-y: auto;
}

.card-logo {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 14px;
  box-shadow: 0 0 24px rgba(138,3,3,0.5);
}

.card-tagline {
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--blood-bright);
  margin-bottom: 16px;
  line-height: 1.5;
}

.card h1 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: center;
  color: var(--blood-bright);
  line-height: 1.15;
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(251,233,210,0.9);
  margin-bottom: 7px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  background: rgba(251,233,210,0.08);
  border: 1.5px solid rgba(138,3,3,0.8);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  color: var(--cream);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(251,233,210,0.4);
}

input:focus,
textarea:focus {
  border-color: var(--blood-bright);
  background: rgba(251,233,210,0.14);
}

textarea { resize: vertical; min-height: 70px; line-height: 1.4; }

.gender-group { display: flex; gap: 10px; }

.gender-option { flex: 1; position: relative; }

.gender-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.gender-option span {
  display: block;
  text-align: center;
  padding: 12px 8px;
  border-radius: 8px;
  border: 1.5px solid rgba(138,3,3,0.8);
  background: rgba(251,233,210,0.08);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.gender-option input:checked + span {
  background: var(--coral);
  border-color: var(--coral);
  color: #FFFFFF;
  font-weight: 600;
}

.submit-btn {
  width: 100%;
  background: var(--coral);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 15px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.3px;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.15s ease, transform 0.1s ease;
}

.submit-btn:hover { background: var(--coral-deep); }
.submit-btn:active { transform: scale(0.98); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.form-error {
  display: none;
  margin-top: 12px;
  font-size: 13px;
  color: #ff6b6b;
  text-align: center;
}

.form-error.show { display: block; }

.confirm { display: none; text-align: center; padding: 30px 10px; }
.confirm.show { display: block; }
.form-body.hide { display: none; }

.confirm .tick {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.confirm h2 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--blood-bright);
}

.confirm p {
  font-size: 14px;
  color: rgba(251,233,210,0.75);
  line-height: 1.5;
}

.card-tagline,
.card h1,
.confirm h2 {
  font-family: 'Butcherman', cursive;
  font-weight: 400;
}

.card h1 { font-size: 24px; letter-spacing: 1px; }

@media (max-width: 380px) {
  .card { padding: 22px 18px 20px; }
  .card h1 { font-size: 19px; }
}

@media (max-height: 620px) {
  .enter-logo { --logo-size: min(280px, calc(100vw - 48px), calc(100dvh - 170px)); }
  .enter-btn { padding: 12px 36px; }
}

@media (max-height: 420px) {
  .enter-logo { --logo-size: min(180px, calc(100vw - 48px), calc(100dvh - 120px)); }
  .enter-tagline { font-size: 11px; }
}
