/* ShowClutch — Coming Soon landing.
   Exact poster art (frame.jpg) shown on the app's carbon-fibre background,
   plus a floating "waitlist" CTA. Palette + weave lifted verbatim from the
   main app (app/theme.css). */

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

/* ── CARBON FIBRE WEAVE — same 14px diamond weave as the app body ── */
body {
  min-height: 100vh;
  background-color: #0D0D0F;
  background-image:
    repeating-linear-gradient(45deg,
      transparent 0, transparent 5px,
      rgba(255,255,255,0.07) 5px, rgba(255,255,255,0.07) 6px,
      transparent 6px, transparent 7px),
    repeating-linear-gradient(45deg,
      transparent 0, transparent 6px,
      rgba(0,0,0,0.45) 6px, rgba(0,0,0,0.45) 7px,
      transparent 7px, transparent 14px),
    repeating-linear-gradient(-45deg,
      transparent 0, transparent 5px,
      rgba(255,255,255,0.055) 5px, rgba(255,255,255,0.055) 6px,
      transparent 6px, transparent 7px),
    repeating-linear-gradient(-45deg,
      transparent 0, transparent 6px,
      rgba(0,0,0,0.4) 6px, rgba(0,0,0,0.4) 7px,
      transparent 7px, transparent 14px);
  background-size: 14px 14px;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stage shrink-wraps the poster exactly, so the CTA can be positioned as a
   PERCENTAGE of the image (not the viewport) — it then stays glued to the same
   spot on the art at every size/orientation. */
.stage {
  position: relative;
  display: inline-block;
  line-height: 0;
  min-width: 0;
  max-width: 100vw;
  max-height: 100vh;
}

/* Poster scales to the MAX that still shows the whole art, in both orientations:
   - portrait / mobile → width binds → edge-to-edge full width
   - landscape / desktop → height binds → full height, carbon on the sides
   No padding so it grabs maximum space; whatever's left shows the carbon bg. */
.poster-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0 auto;
  min-width: 0; /* defeat flex min-width:auto that otherwise lets the img overflow */
}

/* ── CTA — overlays the poster's "COLLECT | CONNECT | BELONG" band, hiding it.
   Positioned as a % of the image so it tracks that band at any size. ── */
.cta {
  position: absolute;
  left: 50%;
  bottom: 8%;                   /* aligns over the pillars band near the base */
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  background: #E3650B;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(14px, 3.6vw, 18px);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(227,101,11,0.7), 0 6px 22px rgba(0,0,0,0.4);
  transition: background .25s, box-shadow .25s;
  animation: ctaGlow 2.4s ease-in-out infinite;
}
.cta:hover {
  background: #C75409;
  animation: none;
  box-shadow: 0 0 26px 4px rgba(227,101,11,0.6), 0 8px 26px rgba(0,0,0,0.45);
}
.cta:active { filter: brightness(0.92); }
.cta span { transition: transform .2s; }
.cta:hover span { transform: translateX(4px); }

/* soft pulsing orange glow */
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 14px 1px rgba(227,101,11,0.45), 0 6px 22px rgba(0,0,0,0.4); }
  50%      { box-shadow: 0 0 26px 5px rgba(227,101,11,0.75), 0 6px 22px rgba(0,0,0,0.4); }
}
@media (prefers-reduced-motion: reduce) {
  .cta { animation: none; box-shadow: 0 0 18px 2px rgba(227,101,11,0.55), 0 6px 22px rgba(0,0,0,0.4); }
}
