/* ============================================================
   Design 4 — "THE ORBIT"
   Deep teal bg. Logo centred in a spinning circular ring.
   Everything radiates from the centre.
   ============================================================ */

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

:root {
  --teal:    #6FA7A3;
  --charcoal:#1E1E1E;
  --coral:   #DD6F56;
  --ash:     #EEECE7;
  --sage:    #8DA48F;
  --bg:      #1a3533;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--ash);
  font-family: var(--font-body);
  min-height: 100dvh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Grain ──────────────────────────────────────────────── */

.grain-filter { position: fixed; width: 0; height: 0; }

.grain {
  position: fixed;
  inset: 0;
  filter: url(#grain);
  opacity: 0.06;
  pointer-events: none;
  z-index: 100;
  background: var(--ash);
}

/* ── Top strip ──────────────────────────────────────────── */

.top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  border-bottom: 1px solid rgba(238,236,231,0.1);
  animation: fade-in 0.6s ease both;
}

.top-strip__left {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(238,236,231,0.5);
}

.top-strip__social {
  display: flex;
  gap: 1.5rem;
}

.top-strip__social a {
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(238,236,231,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.top-strip__social a:hover { color: var(--teal); }

/* ── Main stage ─────────────────────────────────────────── */

.orbit-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2.5rem;
  padding: 2rem;
}

/* ── Orbit ───────────────────────────────────────────────── */

.orbit {
  position: relative;
  width: min(360px, 80vw);
  height: min(360px, 80vw);
  flex-shrink: 0;
  animation: pop-in 0.8s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.orbit__ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 28s linear infinite;
}

.orbit__ring-text {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: rgba(238,236,231,0.4);
}

/* ── Logo centred inside orbit ───────────────────────────── */

.orbit__logo-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit__logo {
  width: 52%;
  height: 52%;
  object-fit: contain;
  border-radius: 12px;
  animation: logo-pop 0.7s 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ── Content below orbit ─────────────────────────────────── */

.orbit-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 500px;
  animation: fade-up 0.7s 0.6s ease both;
}

.orbit-content__heading {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.3em;
  align-items: baseline;
}

.orbit-content__heading span { color: var(--ash); }
.orbit-content__heading em  { font-style: italic; color: var(--coral); }

.orbit-content__body {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(238,236,231,0.55);
  margin-bottom: 2rem;
}

/* ── Countdown ───────────────────────────────────────────── */

.orbit-countdown {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.orbit-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}

.orbit-unit__val {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ash);
}

.orbit-unit__lbl {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 0.25rem;
}

.orbit-sep {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--coral);
  align-self: flex-start;
  animation: blink 1.2s step-start infinite;
}

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

.orbit-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 380px;
}

.orbit-form__input {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: rgba(238,236,231,0.08);
  border: 1px solid rgba(238,236,231,0.2);
  border-radius: 4px 4px 0 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ash);
  text-align: center;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.orbit-form__input::placeholder { color: rgba(238,236,231,0.3); }
.orbit-form__input:focus {
  border-color: var(--teal);
  background: rgba(238,236,231,0.12);
}

.orbit-form__btn {
  width: 100%;
  padding: 0.9rem;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 0 0 4px 4px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s;
}

.orbit-form__btn:hover { background: #c95d45; }

.orbit-form__confirm {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
}
.orbit-form__confirm[hidden] { display: none; }

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

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes logo-pop {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

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

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

@media (max-width: 560px) {
  .orbit-stage { gap: 1.5rem; padding: 1rem; }
  .top-strip__social { display: none; }
}

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