:root {
  --bg: #070708;
  --oxblood: #C41E3A;
  --ember: #FF4D3A;
  --gold: #C9A227;
  --muted: #b0a5a2;
  --text: #f5f5f7;
  --max: 420px;
}

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

html {
  min-height: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: grid;
  place-items: center;
  padding: 1.75rem 1rem 2.25rem;
  overflow-x: hidden;
  position: relative;
}

img { display: block; max-width: 100%; height: auto; }

/* —— Atmosphere —— */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(7,7,8,0.55) 0%, rgba(7,7,8,0.9) 55%, #070708 100%),
    url("assets/bg-ember-noir.jpg") center / cover no-repeat;
  pointer-events: none;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.4;
}

.orb-a {
  width: min(70vw, 400px);
  height: min(70vw, 400px);
  top: -8%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(196, 30, 58, 0.5) 0%, transparent 70%);
}

.orb-b {
  width: min(50vw, 280px);
  height: min(50vw, 280px);
  bottom: 8%;
  right: -8%;
  background: radial-gradient(circle, rgba(255, 77, 58, 0.28) 0%, transparent 70%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

/* —— Hub column (tight) —— */
.hub {
  position: relative;
  z-index: 3;
  width: min(var(--max), 100%);
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0 0.25rem;
}

.mark {
  display: inline-flex;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.32);
  box-shadow:
    0 0 0 1px rgba(196, 30, 58, 0.22),
    0 8px 24px rgba(0, 0, 0, 0.45);
  margin-bottom: 1.1rem;
}

.mark img {
  width: 44px;
  height: 44px;
  object-fit: cover;
}

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

/* Whisper pulse on JC mark only */
.whisper-pulse {
  animation: whisper-pulse 3.6s ease-in-out infinite;
}

@keyframes whisper-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(196, 30, 58, 0.22),
      0 8px 24px rgba(0, 0, 0, 0.45),
      0 0 0 0 rgba(196, 30, 58, 0);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(196, 30, 58, 0.38),
      0 8px 24px rgba(0, 0, 0, 0.45),
      0 0 18px 2px rgba(196, 30, 58, 0.28);
  }
}

.logo {
  width: min(100%, 340px);
  margin: 0 auto 0.95rem;
  filter: none;
}

.logo img {
  width: 100%;
  height: auto;
  filter: none;
}

.eyebrow {
  font-family: Oswald, Impact, sans-serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 5vw, 1.55rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 24px rgba(255, 77, 58, 0.22);
}

.links {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  font-family: Oswald, Impact, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

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

/* Primary: oxblood CTA */
.btn-primary {
  background: linear-gradient(165deg, #3a1520 0%, #1a0a10 50%, #12080c 100%);
  border: 1.5px solid var(--oxblood);
  color: var(--text);
  box-shadow:
    0 0 0 1px rgba(196, 30, 58, 0.25),
    0 10px 32px rgba(196, 30, 58, 0.28),
    inset 0 1px 0 rgba(255, 245, 240, 0.05);
}

.cta-breathe {
  animation: cta-breathe 4s ease-in-out infinite;
}

@keyframes cta-breathe {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(196, 30, 58, 0.25),
      0 10px 32px rgba(196, 30, 58, 0.24),
      inset 0 1px 0 rgba(255, 245, 240, 0.05);
    border-color: var(--oxblood);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(196, 30, 58, 0.4),
      0 12px 40px rgba(196, 30, 58, 0.42),
      0 0 28px rgba(196, 30, 58, 0.22),
      inset 0 1px 0 rgba(255, 245, 240, 0.06);
    border-color: #e02848;
  }
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  border-color: var(--ember);
  box-shadow:
    0 0 0 1px rgba(255, 77, 58, 0.35),
    0 14px 40px rgba(196, 30, 58, 0.4),
    0 0 28px rgba(196, 30, 58, 0.2);
}

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

/* X ghost: smoked gold outline, no pulse */
.btn-ghost {
  background: rgba(10, 9, 10, 0.55);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  transform: translateY(-1px);
  color: #e0c45a;
  border-color: #e0c45a;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 22px rgba(201, 162, 39, 0.28);
}

/* Soft fade-in reveal for the stack */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: reveal-in 0.7s ease forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes reveal-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Whisper + breathe keep running after reveal; stack reveal only once */
.whisper-pulse.reveal {
  animation:
    reveal-in 0.7s ease forwards,
    whisper-pulse 3.6s ease-in-out 0.7s infinite;
}

.cta-breathe.reveal {
  animation:
    reveal-in 0.7s ease forwards,
    cta-breathe 4s ease-in-out 0.9s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .whisper-pulse,
  .cta-breathe,
  .reveal,
  .whisper-pulse.reveal,
  .cta-breathe.reveal {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  .btn { transition: none; }
  .btn:hover,
  .btn:focus-visible,
  .btn-primary:hover,
  .btn-ghost:hover {
    transform: none;
  }
}

@media (max-width: 380px) {
  body { padding: 1.35rem 0.85rem 1.85rem; }
  .logo { width: min(100%, 300px); }
  .btn { font-size: 1.1rem; }
  .btn-ghost { font-size: 0.98rem; }
}


/* ——— OnlyFans taped / disabled ——— */
.btn-taped {
  position: relative;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  cursor: not-allowed;
  animation: none !important;
  /* muted offline shell — stripes do the talking */
  background: linear-gradient(165deg, #1a1a1e 0%, #101012 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  box-shadow: none;
  opacity: 0.92;
  transform: none !important;
}
.btn-taped:hover,
.btn-taped:focus-visible,
.btn-taped:active {
  transform: none !important;
  box-shadow: none !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(165deg, #1a1a1e 0%, #101012 100%) !important;
}
.btn-taped .btn-label {
  position: relative;
  z-index: 1;
  opacity: 0.5;
  color: var(--muted);
}
.btn-taped .tape-stripes {
  position: absolute;
  inset: -60% -30%;
  z-index: 2;
  background: repeating-linear-gradient(
    -28deg,
    #1a1a1e 0 10px,
    #ffcc00 10px 20px,
    #1a1a1e 20px 30px,
    #ffcc00 30px 40px
  );
  opacity: 0.72;
  mix-blend-mode: soft-light;
  transform: rotate(-3deg);
  pointer-events: none;
}
.btn-taped .coming-soon-sign {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%) rotate(-8deg);
  padding: 0.28rem 0.7rem;
  border-radius: 4px;
  font-family: Oswald, Impact, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #121214;
  background: #ffcc00;
  border: 2px solid #1a1a1e;
  box-shadow: 0 3px 0 #1a1a1e;
  white-space: nowrap;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .btn-taped { animation: none !important; }
}
