/* Page-specific styles for the Spacercise landing page. */

.page { min-height: 100vh; display: flex; flex-direction: column; }

/* — hero carousel — */
.hero {
  position: relative; height: 78vh; min-height: 480px;
  overflow: hidden; background: var(--color-neutral-900);
}
.hero-track {
  display: flex; height: 100%; width: 100%;
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
}
.slide { position: relative; flex: 0 0 100%; height: 100%; }

@keyframes slotdrift {
  from { transform: scale(1.04) translateX(-1.2%); }
  to   { transform: scale(1.04) translateX(1.2%); }
}
.slide img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
  animation: slotdrift 14s ease-in-out infinite alternate;
}

/* Placeholder label shown until a real screenshot is uploaded */
.slot-label {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--color-neutral-500); font-size: 14px; letter-spacing: 0.04em;
  border: 1px dashed var(--color-neutral-700); margin: var(--space-4);
  border-radius: var(--radius-md); text-align: center; padding: var(--space-4);
}

.hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 2;
  background: linear-gradient(to top, var(--color-bg), transparent);
  pointer-events: none;
}

/* game logo overlapping the carousel */
.hero-logo-wrap {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
  pointer-events: none; padding-bottom: var(--space-6);
}
.hero-logo {
  position: relative;
  width: min(420px, 60vw); height: 180px; pointer-events: auto;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.6));
}
.hero-logo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; z-index: 1;
}
.hero-tagline {
  margin: 0; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-neutral-300); text-align: center; padding: 0 var(--space-4);
}

/* slide dots */
.hero-dots {
  position: absolute; right: var(--space-5); top: var(--space-5); z-index: 3;
  display: flex; gap: var(--space-2);
}
.hero-dots button {
  width: 24px; height: 4px; border: none; border-radius: 2px;
  cursor: pointer; padding: 0; background: var(--color-neutral-600);
}
.hero-dots button:hover { background: var(--color-accent-400); }
.hero-dots button.active { background: var(--color-accent); }

.scroll-cue {
  position: absolute; left: 50%; bottom: var(--space-2); z-index: 3;
  transform: translateX(-50%); color: var(--color-neutral-400); pointer-events: none;
}
.scroll-cue i { font-size: 18px; }

/* — body — */
main {
  max-width: 880px; width: 100%; margin: 0 auto;
  padding: var(--space-8) var(--space-6) 140px;
}
.sections { display: flex; flex-direction: column; gap: var(--space-8); }
section { display: flex; flex-direction: column; gap: var(--space-4); align-items: center; text-align: center; }

.title { margin: 0; font-size: 44px; line-height: 1.1; }
.title-rule {
  width: 220px; height: 1px;
  margin: var(--space-6) 0;
  background: linear-gradient(to right, transparent, var(--color-accent) 50%, transparent);
}
.lede {
  margin: 0; font-size: 18px; line-height: 1.65;
  color: var(--color-neutral-200); max-width: 60ch; text-wrap: pretty;
}
.cta-row { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-2); }
.cta-row .btn { display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none; }
.cta-row .btn i { font-size: 18px; }

/* — meet the devs — */
.devs { gap: var(--space-6); }
.devs-heading { margin: 0; font-size: 28px; color: var(--color-neutral-300); }
.dev-card {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--space-3); max-width: 60ch;
}
.dev-photo {
  position: relative; display: block;
  width: 140px; height: 140px; border-radius: 50%;
  overflow: hidden; border: 2px solid var(--color-accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dev-photo:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-accent) 25%, transparent);
}
.dev-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.dev-photo .slot-label { margin: 0; font-size: 10px; border-radius: 50%; }
.dev-name {
  margin: 0; font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px; color: var(--color-text);
}
.dev-info {
  margin: 0; font-size: 15px; line-height: 1.6;
  color: var(--color-neutral-300); text-wrap: pretty;
}

/* — contact us — */
.contact { gap: var(--space-5); }
.contact-heading { margin: 0; font-size: 28px; color: var(--color-neutral-300); }
.contact-link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  text-decoration: none;
}
.contact-link i { font-size: 18px; }

.signup h2 { margin: 0; font-size: 22px; }
.signup > p { margin: 0; color: var(--color-neutral-300); font-size: 15px; }
.signup form { display: flex; gap: var(--space-2); width: 100%; max-width: 440px; }
.signup .input { flex: 1; }
.signup button { white-space: nowrap; }

/* fixed developer logo, bottom-left */
.dev-logo {
  position: fixed; left: var(--space-4); bottom: var(--space-4); z-index: 50;
  display: flex; align-items: center; gap: var(--space-2);
}
.dev-logo .slot { position: relative; width: 156px; height: 56px; }
.dev-logo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; border-radius: 8px; z-index: 1;
}
.dev-logo .slot-label {
  margin: 0; font-size: 8px; padding: 2px; border-radius: 8px;
}
