/* ─────────────────────────────────────────────────────────────────────────────
   The Grand Pillow Society — Coming Soon Stylesheet
   Craft Standard: DESIGN.md + taste-skill & impeccable craft floor
   Canvas: Deep Plum (#120816), Poster Glow atmosphere, Two-Stop Gradient Anchor
───────────────────────────────────────────────────────────────────────────── */

:root {
  /* Brand Tokens */
  --deep-plum: #120816;
  --poster-gold: #f7d94e;
  --resistance-crimson: #ca3c64;
  --poster-slate: #6395b7;
  --mist-lilac: #f4f3ff;
  --soft-gray: #d1d5db;
  --muted-purple: #988e9f;
  
  --card-fill: rgba(255, 255, 255, 0.04);
  --hairline: rgba(255, 255, 255, 0.1);
  --hairline-hover: rgba(247, 217, 78, 0.35);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  min-height: 100dvh;
  background-color: var(--deep-plum);
  color: var(--mist-lilac);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: clamp(2rem, 5vh, 4rem) 1.5rem clamp(1.5rem, 4vh, 2.5rem);
  position: relative;
  overflow-x: hidden;
  /* Authentic theatrical ambient glow from DESIGN.md */
  background-image: 
    radial-gradient(ellipse 65% 50% at 75% 15%, rgba(202, 60, 100, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 25% 20%, rgba(247, 217, 78, 0.07) 0%, transparent 55%),
    radial-gradient(circle at 50% 85%, rgba(99, 149, 183, 0.06) 0%, transparent 50%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ── Architectural Border Line ────────────────────────────────────────────── */
body::before {
  content: "";
  position: fixed;
  inset: clamp(0.75rem, 2vw, 1.5rem);
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.04);
  z-index: 10;
}

/* ── Container Layout ──────────────────────────────────────────────────────── */
.main-wrapper {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: auto 0;
  padding: 1rem 0;
  position: relative;
  z-index: 1;
}

/* ── Logo Spotlight ───────────────────────────────────────────────────────── */
.logo-spotlight {
  position: relative;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-spotlight::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 217, 78, 0.12) 0%, rgba(202, 60, 100, 0.06) 45%, transparent 70%);
  filter: blur(12px);
  z-index: -1;
  pointer-events: none;
}

.logo-img {
  width: clamp(120px, 18vw, 150px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
  transition: transform 0.4s var(--ease-standard);
}

.logo-spotlight:hover .logo-img {
  transform: translateY(-2px) scale(1.02);
}

/* ── Typography Hierarchy ─────────────────────────────────────────────────── */
.society-title {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 6vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--mist-lilac);
  margin-bottom: 1.25rem;
  max-width: 18ch;
}

.society-title em {
  font-style: italic;
  color: var(--poster-gold);
  padding-right: 0.05em; /* Clear italic descender */
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--soft-gray);
  max-width: 48ch;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
  font-weight: 400;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-purple);
  margin-bottom: 2.25rem;
  font-weight: 500;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--poster-gold);
  box-shadow: 0 0 8px var(--poster-gold);
}

/* ── Interactive Anchors (CTA Row) ────────────────────────────────────────── */
.actions-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.85rem 1.85rem;
  border-radius: 999px; /* Pill radius from DESIGN.md */
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  min-height: 48px;
  transition: transform 0.2s var(--ease-standard), opacity 0.2s var(--ease-standard), background 0.2s var(--ease-standard), border-color 0.2s var(--ease-standard);
}

.btn:focus-visible {
  outline: 2px solid var(--poster-gold);
  outline-offset: 3px;
}

/* Primary CTA: Support Us (Authoritative Two-Stop Gradient: Poster Gold -> Resistance Crimson) */
.btn-primary {
  background: linear-gradient(135deg, var(--poster-gold) 0%, var(--resistance-crimson) 100%);
  color: var(--deep-plum);
  border: none;
  box-shadow: 0 4px 20px rgba(247, 217, 78, 0.2);
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(202, 60, 100, 0.3);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* Secondary CTA: Ghost Pill with Hairline border */
.btn-ghost {
  background: var(--card-fill);
  color: var(--mist-lilac);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--hairline-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-ghost:active {
  transform: translateY(0) scale(0.98);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted-purple);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.site-footer p + p {
  margin-top: 0.35rem;
}

.footer-link {
  color: var(--soft-gray);
  text-decoration: none;
  border-bottom: 1px solid rgba(209, 213, 219, 0.2);
  transition: color 0.2s var(--ease-standard), border-color 0.2s var(--ease-standard);
  padding-bottom: 1px;
}

.footer-link:hover {
  color: var(--poster-gold);
  border-color: var(--poster-gold);
}

/* ── Accessibility: Reduced Motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Mobile Layout Optimization ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .actions-row {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
  }
}
