/* ============================================================
   Design 11 — "MARQUEE"
   Old Hollywood theatre marquee. Warm dark background,
   amber/gold bulb dots border, scrolling ticker strip.
   ============================================================ */

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

:root {
  --bg:      #14100A;
  --gold:    #F2B138;
  --gold-dim:#8A6118;
  --coral:   #DD6F56;
  --text:    #F5EDD8;
  --text-dim:rgba(245,237,216,0.45);
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body:    'Nunito', sans-serif;
}

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

/* ── Stage ──────────────────────────────────────────────── */

.stage {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ── Marquee border via SVG-like dot pattern ────────────── */

.border-frame {
  position: absolute;
  inset: 1.5rem;
  pointer-events: none;
  z-index: 0;
}

.border-frame__edge {
  position: absolute;
}

/* Top & bottom edges: repeating radial dots */
.border-frame__edge--top,
.border-frame__edge--bottom {
  left: 0; right: 0;
  height: 10px;
  background-image: radial-gradient(circle, var(--gold) 4px, transparent 4px);
  background-size: 22px 10px;
  background-repeat: repeat-x;
  animation: bulb-glow 2.4s ease-in-out infinite alternate;
}
.border-frame__edge--top    { top: 0; }
.border-frame__edge--bottom { bottom: 0; animation-delay: 1.2s; }

/* Left & right edges */
.border-frame__edge--left,
.border-frame__edge--right {
  top: 14px; bottom: 14px;
  width: 10px;
  background-image: radial-gradient(circle, var(--gold) 4px, transparent 4px);
  background-size: 10px 22px;
  background-repeat: repeat-y;
  animation: bulb-glow 2.4s ease-in-out infinite alternate;
}
.border-frame__edge--left  { left: 0; animation-delay: 0.6s; }
.border-frame__edge--right { right: 0; animation-delay: 1.8s; }

@keyframes bulb-glow {
  from { opacity: 0.45; filter: brightness(0.8); }
  to   { opacity: 1;    filter: brightness(1.3) drop-shadow(0 0 6px var(--gold)); }
}

/* ── Centre content ─────────────────────────────────────── */

.centre {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 4rem;
  animation: fade-up 0.7s ease both;
}

.centre__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 8px rgba(242,177,56,0.35));
}

.centre__eyebrow {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  animation: fade-up 0.7s 0.1s ease both;
}

.centre__heading {
  font-family: var(--font-display);
  line-height: 0.88;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  animation: fade-up 0.7s 0.2s ease both;
}

.centre__line {
  font-size: clamp(4.5rem, 13vw, 11rem);
  color: var(--text);
  letter-spacing: 0.06em;
  display: block;
}

.centre__line--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--gold);
}

.centre__body {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 420px;
  margin-bottom: 1.75rem;
  animation: fade-up 0.7s 0.3s ease both;
}

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

.form {
  animation: fade-up 0.7s 0.4s ease both;
}

.form__row { display: flex; }

.form__input {
  height: 46px;
  width: 260px;
  padding: 0 1rem;
  background: rgba(245,237,216,0.07);
  border: 1px solid rgba(242,177,56,0.3);
  border-right: none;
  border-radius: 3px 0 0 3px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form__input::placeholder { color: rgba(245,237,216,0.25); }
.form__input:focus { background: rgba(245,237,216,0.1); border-color: var(--gold); }

.form__btn {
  height: 46px;
  padding: 0 1.4rem;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 0 3px 3px 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

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

.form__confirm {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
}
.form__confirm[hidden] { display: none; }

/* ── Social nav ─────────────────────────────────────────── */

.centre__nav {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  animation: fade-up 0.7s 0.5s ease both;
}

.centre__nav a {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.centre__nav a:hover { color: var(--gold); }

/* ── Ticker ─────────────────────────────────────────────── */

.ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: rgba(242,177,56,0.08);
  border-top: 1px solid rgba(242,177,56,0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 20;
}

.ticker__track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite;
}

.ticker__text {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding-right: 4rem;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

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

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

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

@media (max-width: 640px) {
  .border-frame { inset: 0.75rem; }
  .centre { padding: 0 2.5rem; }
  .form__input { width: 180px; }
}

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