/* ============================================================
   Design 13 — "SPOTLIGHT"
   Theatrical stage spotlight. Pure black, warm amber cone
   of light from above. Floating dust particles. Dramatic.
   ============================================================ */

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

:root {
  --bg:      #080806;
  --amber:   #E8A83A;
  --coral:   #DD6F56;
  --teal:    #6FA7A3;
  --ash:     #F0EAD6;
  --dim:     rgba(240,234,214,0.45);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
}

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--ash);
  font-family: var(--font-sans);
}

/* ── Spotlight cone from above ──────────────────────────── */

.spotlight {
  position: fixed;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 200vw;
  height: 140vh;
  background: conic-gradient(
    from 180deg at 50% 0%,
    transparent 80deg,
    rgba(232, 168, 58, 0.13) 90deg,
    rgba(232, 168, 58, 0.18) 96deg,
    rgba(255, 210, 120, 0.10) 100deg,
    transparent 110deg
  );
  pointer-events: none;
  z-index: 0;
  animation: spotlight-breathe 7s ease-in-out infinite;
}

/* Soft glow pool on the floor */
.spotlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 25%;
  background: radial-gradient(ellipse, rgba(232,168,58,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

@keyframes spotlight-breathe {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scaleX(1); }
  50%       { opacity: 1;    transform: translateX(-50%) scaleX(1.04); }
}

/* ── Floating dust particles ────────────────────────────── */

.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.particles span {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(232, 168, 58, 0.6);
  animation: float-up linear infinite;
}

.particles span:nth-child(1)  { margin-left: -80px;  animation-duration: 8s;  animation-delay: 0s;    width: 1px; height: 1px; }
.particles span:nth-child(2)  { margin-left: -20px;  animation-duration: 11s; animation-delay: 1.5s;  }
.particles span:nth-child(3)  { margin-left:  50px;  animation-duration: 9s;  animation-delay: 3s;    width: 1px; height: 1px; }
.particles span:nth-child(4)  { margin-left: -120px; animation-duration: 13s; animation-delay: 5s;    }
.particles span:nth-child(5)  { margin-left:  90px;  animation-duration: 7s;  animation-delay: 0.5s;  width: 1px; height: 1px; }
.particles span:nth-child(6)  { margin-left: -55px;  animation-duration: 10s; animation-delay: 2s;    }
.particles span:nth-child(7)  { margin-left:  25px;  animation-duration: 14s; animation-delay: 6s;    width: 1px; height: 1px; }
.particles span:nth-child(8)  { margin-left:  130px; animation-duration: 9s;  animation-delay: 4s;    }

@keyframes float-up {
  0%   { bottom: 30%; opacity: 0; transform: translateX(0); }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.3; }
  100% { bottom: 85%; opacity: 0; transform: translateX(20px); }
}

/* ── Page layout ────────────────────────────────────────── */

.page {
  position: relative;
  z-index: 10;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 2rem 2.5rem;
}

/* ── Top bar ────────────────────────────────────────────── */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fade-up 0.8s ease both;
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar__brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(232,168,58,0.3));
}

.topbar__name {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(240,234,214,0.65);
}

.topbar__nav {
  display: flex;
  gap: 1.5rem;
}

.topbar__nav a {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,234,214,0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.topbar__nav a:hover { color: var(--amber); }

/* ── Stage / main content ───────────────────────────────── */

.stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: fade-up 0.9s 0.15s ease both;
}

.stage__eyebrow {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
  opacity: 0.8;
}

/* ── Heading ────────────────────────────────────────────── */

.stage__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.88;
  margin-bottom: 1.75rem;
}

.stage__word {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 13vw, 11rem);
  font-weight: 900;
  color: var(--ash);
  letter-spacing: -0.02em;
  display: block;
  font-style: normal;
}

.stage__word--italic {
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 2px var(--amber);
}

/* ── Body ───────────────────────────────────────────────── */

.stage__body {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--dim);
  font-weight: 300;
  max-width: 460px;
  margin-bottom: 2rem;
}

/* ── Form ───────────────────────────────────────────────── */

.form__row { display: flex; }

.form__input {
  height: 48px;
  width: 260px;
  padding: 0 1rem;
  background: rgba(240,234,214,0.06);
  border: 1px solid rgba(232,168,58,0.25);
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--ash);
  outline: none;
  transition: background 0.2s, border-color 0.2s;
}

.form__input::placeholder { color: rgba(240,234,214,0.2); }
.form__input:focus { background: rgba(240,234,214,0.09); border-color: var(--amber); }

.form__btn {
  height: 48px;
  padding: 0 1.4rem;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.form__btn:hover { background: #c45e46; }
.form__btn:disabled { opacity: 0.5; cursor: default; }

.form__confirm {
  margin-top: 0.75rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--amber);
}
.form__confirm[hidden] { display: none; }

/* ── Footer ─────────────────────────────────────────────── */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fade-up 0.8s 0.3s ease both;
}

.footer__copy,
.footer__opening {
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,234,214,0.18);
}

/* ── Keyframes ──────────────────────────────────────────── */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 640px) {
  .page { padding: 1.5rem 1.25rem; }
  .topbar__name { display: none; }
  .form__input { width: 180px; }
  .particles { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; }
  .spotlight { animation: none; }
  .particles { display: none; }
}
