/* ── Verdict page - static styles (dynamic values set via CSS vars in <style>) ── */
/* --accent, --glow-bg, --text-shadow-color, --verdict-size set inline per decision */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100dvh; }
body { min-height: 100dvh; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #080808;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

/* ── Card layout ── */
.card-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.card-page::before {
  content: '';
  position: absolute;
  top: 36%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw; height: 90vw;
  max-width: 460px; max-height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-bg) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.card-logo { height: 2.5rem; width: auto; display: block; opacity: 0.9; }
.card-ts { font-size: 11px; color: rgba(255,255,255,0.25); }

.card-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4.5rem 0 1.375rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.app-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.375rem; }
.app-label  { font-size: 12px; font-weight: 700; letter-spacing: 0.15em; color: rgba(255,255,255,0.5); }
.app-arrow  { font-size: 11px; color: rgba(255,255,255,0.22); }
.app-status { font-size: 12px; font-weight: 700; letter-spacing: 0.15em; color: var(--accent); }

.card-verdict {
  font-size: var(--verdict-size);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 80px var(--text-shadow-color);
}
.card-subtitle {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.3);
  margin-top: 0.6rem;
}

.card-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.card-content {
  padding: 1.5rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.content-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.content-quote {
  font-style: italic;
  color: rgba(255,255,255,0.5);
  font-size: clamp(0.875rem, 4vw, 1rem);
  line-height: 1.4;
  margin-top: 0.35rem;
}
.content-message {
  font-size: clamp(1rem, 4.8vw, 1.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin-top: 0.35rem;
}
.content-fail {
  font-style: italic;
  font-size: clamp(0.875rem, 4vw, 1rem);
  line-height: 1.4;
  margin-top: 0.35rem;
  opacity: 0.85;
}

/* ── Stats ── */
.stats-row {
  display: flex;
  padding: 1rem 0;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.stat { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }
.stat-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.stat-value {
  font-size: clamp(0.875rem, 4vw, 1rem);
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.01em;
}

/* ── Bottom CTA ── */
.bottom { border-top: 1px solid rgba(255,255,255,0.06); flex-shrink: 0; }
.action-section {
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}
.btn-dare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 1rem;
  border-radius: 100px;
  color: #000;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
  -webkit-appearance: none;
}
.bmc-link {
  display: inline-block;
}
.bmc-button {
  display: block;
  height: 48px;
  width: auto;
}
.footer-link {
  font-size: 11px;
  color: rgba(255,255,255,0.15);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.cta-tagline { font-size: 1rem; font-weight: 700; color: #fff; text-align: center; }
.cta-sub {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  line-height: 1.45;
  max-width: 260px;
}
.btn-get {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  border-radius: 100px;
  background: #fff;
  color: #000;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}

/* ── Reveal animation ── */
#rv-overlay { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
#rv-top, #rv-bot {
  position: fixed;
  left: 0; right: 0;
  height: 55dvh;
  background: #080808;
  z-index: 100;
  will-change: transform;
}
#rv-top { top: 0; }
#rv-bot { bottom: 0; }
#rv-word {
  position: fixed;
  inset: 0;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  font-size: var(--verdict-size);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 80px var(--text-shadow-color);
}

@keyframes rv-word-in {
  0%   { opacity: 0; transform: scale(0.9); }
  20%  { opacity: 1; transform: scale(1); }
  65%  { opacity: 1; transform: scale(1.1); text-shadow: 0 0 120px var(--accent), 0 0 200px var(--text-shadow-color); }
  100% { opacity: 0; transform: scale(0); }
}

#typed-msg { opacity: 0; }
#rv-fail   { opacity: 0; }
#rv-stats  { opacity: 0; }

/* ── Small screens (iPhone mini, SE) ── */
@media (max-height: 780px) {
  .card-hero { padding: 2.5rem 0 1rem; }
  .app-row   { margin-bottom: 1rem; }
  .card-content { padding: 1rem 0 0.75rem; }
  .stats-row { padding: 0.625rem 0; }
}
