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

:root {
  --purple: #a855f7;
  --purple-glow: rgba(168,85,247,0.5);
  --white: #ffffff;
  --white-dim: rgba(255,255,255,0.55);
  --font: 'Montserrat', sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #000;
  color: var(--white);
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  animation: fadeDown 0.7s ease 0.2s both;
}

.nav-logo {
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
}

.nav-home {
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: color 0.3s;
}
.nav-home:hover { color: var(--purple); }

/* ─── SOCIAL ICONS ─── */
.social-bar {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.7s ease 0.8s both;
}

.social-icon {
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s, transform 0.25s;
}
.social-icon:hover { color: var(--purple); transform: scale(1.25); }
.social-icon svg { width: 14px; height: 14px; fill: currentColor; }

/* ─── PAGE LAYOUT ─── */
.page {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ─── FLYER SECTION ─── */
/* 
  Strategy: use an <img> tag so the browser handles sizing naturally.
  We show the top 72% of the image (logo + Steadara text + Coming Soon)
  and fade it into black at the bottom.
*/
.flyer-section {
  position: relative;
  flex: 0 0 72%;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.flyer-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: scale(1.08);
  display: block;
  background: #000;
}

/* Fade flyer into black at the bottom */
.flyer-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent 0%, #000000 100%);
  pointer-events: none;
}

/* ─── TEXT + FORM SECTION ─── */
.text-section {
  flex: 1;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px 20px;
  animation: fadeUp 0.8s ease 0.4s both;
}

.awesome {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  letter-spacing: 0.04em;
  color: var(--white);
  text-align: center;
  text-shadow: 0 0 40px rgba(168,85,247,0.2);
  margin-bottom: 8px;
}

.sub {
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(0.62rem, 1.3vw, 0.75rem);
  letter-spacing: 0.12em;
  color: var(--white-dim);
  text-align: center;
  margin-bottom: 20px;
}

/* ─── EMAIL FORM ─── */
.email-row {
  display: flex;
  width: 100%;
  max-width: 400px;
}

.email-row input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-right: none;
  border-radius: 2px 0 0 2px;
  padding: 10px 16px;
  color: var(--white);
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.email-row input::placeholder {
  color: rgba(255,255,255,0.25);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}
.email-row input:focus {
  border-color: rgba(168,85,247,0.6);
  background: rgba(255,255,255,0.09);
}

.email-row button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 0 2px 2px 0;
  padding: 10px 18px;
  color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s, border-color 0.3s;
}
.email-row button:hover {
  background: rgba(168,85,247,0.2);
  border-color: rgba(168,85,247,0.6);
}
.email-row button:disabled { opacity: 0.5; cursor: not-allowed; }

/* ─── MESSAGES ─── */
.error-msg {
  display: none;
  font-family: var(--font);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(255,100,100,0.9);
  margin-top: 8px;
  text-align: center;
}

.success-msg {
  display: none;
  font-family: var(--font);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--purple);
  margin-top: 8px;
  text-transform: uppercase;
  text-shadow: 0 0 12px var(--purple-glow);
}



/* ─── ANIMATIONS ─── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── MOBILE ─── */
@media (max-width: 600px) {
  nav { padding: 16px 20px; }
  .nav-logo { font-size: 0.78rem; letter-spacing: 0.2em; }
  .social-bar { right: 10px; gap: 16px; }
  .flyer-section { flex: 0 0 58%; }
  .text-section { padding: 0 16px 16px; }
  .awesome { font-size: clamp(1.1rem, 5vw, 1.5rem); }
  .email-row { max-width: 100%; }
  .by-weirdo { bottom: 12px; right: 16px; font-size: 0.78rem; }
}

/* Very small phones */
@media (max-width: 360px) {
  .flyer-section { flex: 0 0 54%; }
}

/* Tall phones (iPhone Pro Max etc) */
@media (min-height: 812px) and (max-width: 600px) {
  .flyer-section { flex: 0 0 60%; }
}
