/* =============================================================
   TriviaFlow — Stylesheet
   Aesthetic: neon-gradient, dopamine-maxed, mobile-first social
   ============================================================= */

:root {
  /* Core palette — deliberately saturated, not corporate */
  --bg-deep: #0a0015;
  --ink: #ffffff;
  --ink-dim: rgba(255, 255, 255, 0.72);
  --ink-faint: rgba(255, 255, 255, 0.45);

  /* Signature gradient (cyan → magenta) — used everywhere */
  --grad-main: linear-gradient(155deg, #1ad7ff 0%, #7c4dff 45%, #ff2d9b 100%);
  --grad-card: linear-gradient(165deg, #2ee8ff 0%, #6d4bff 50%, #ff2d9b 100%);
  --grad-shine: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);

  --accent-cyan: #1ad7ff;
  --accent-magenta: #ff2d9b;
  --accent-gold: #ffd447;
  --accent-green: #19f2b1;
  --accent-red: #ff4d6d;

  /* Surfaces */
  --surface-glass: rgba(255, 255, 255, 0.10);
  --surface-glass-strong: rgba(255, 255, 255, 0.18);
  --surface-dark: rgba(10, 0, 25, 0.55);
  --border-glass: rgba(255, 255, 255, 0.22);

  /* Type */
  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-body: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;

  /* Motion */
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

/* Allow text selection in inputs and share preview */
input, textarea, .share-preview, .share-preview * {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

button { font-family: inherit; color: inherit; border: none; background: none; cursor: pointer; }

/* =============================================================
   START SCREEN
   ============================================================= */
.start-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-main);
  overflow: hidden;
  animation: fadeIn 0.4s var(--ease-smooth);
}

.start-screen::before {
  /* Noise texture for depth */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15) 0%, transparent 40%),
                    radial-gradient(circle at 80% 80%, rgba(255,45,155,0.3) 0%, transparent 50%);
  pointer-events: none;
}

.start-screen.hidden {
  animation: fadeOut 0.5s var(--ease-smooth) forwards;
  pointer-events: none;
}

.start-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
}

.logo-stack { margin-bottom: 3rem; }

.logo-badge {
  font-size: 4.5rem;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
  animation: float 3s var(--ease-smooth) infinite;
}

.logo-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 12vw, 4.5rem);
  letter-spacing: -0.04em;
  margin: 0.5rem 0 0.25rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.25);
  font-style: italic;
}

.logo-tagline {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.85);
}

.start-stats {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.stat-pill {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.start-button {
  position: relative;
  width: 100%;
  padding: 1.25rem 2rem;
  background: var(--ink);
  color: var(--bg-deep);
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35),
              0 0 0 1px rgba(255,255,255,0.1) inset;
  transition: transform 0.18s var(--ease-bounce);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.start-button:active { transform: scale(0.97); }

.start-button-shine {
  position: absolute;
  inset: 0;
  background: var(--grad-shine);
  transform: translateX(-100%);
  animation: shine 2.8s var(--ease-smooth) infinite;
  pointer-events: none;
}

.start-button-text { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.start-button-hint { font-size: 0.75rem; font-weight: 500; opacity: 0.6; }

.start-footer {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

/* =============================================================
   FEED — TikTok-style scroll snap
   ============================================================= */
.feed {
  position: fixed;
  inset: 0;
  overflow-y: scroll;
  overscroll-behavior-y: contain;
  -webkit-overscroll-behavior-y: contain;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-deep);
  touch-action: pan-y;
}
.feed::-webkit-scrollbar { display: none; }
.feed { scrollbar-width: none; }

/* =============================================================
   CARD — one full-screen slide per question
   ============================================================= */
.card {
  position: relative;
  width: 100%;
  height: 100svh;  /* small viewport height — excludes browser UI */
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  padding: max(env(safe-area-inset-top), 0.5rem) 0.75rem max(env(safe-area-inset-bottom), 0.5rem);
  background: var(--grad-card);
  overflow: hidden;
  isolation: isolate;
}

.card::before {
  /* Ambient glow blobs for depth */
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 10%, rgba(26,215,255,0.55) 0%, transparent 35%),
    radial-gradient(circle at 80% 90%, rgba(255,45,155,0.55) 0%, transparent 40%),
    radial-gradient(circle at 60% 40%, rgba(124,77,255,0.35) 0%, transparent 50%);
  z-index: -1;
  animation: drift 18s ease-in-out infinite;
}

.card::after {
  /* Subtle noise for texture — prevents banding */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

/* --- Top bar (difficulty, category, streak, score) --- */
.card-topbar {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  /* Fix for camera notch */
  margin-top: 1.5rem; 
  margin-top: max(env(safe-area-inset-top), 1.5rem);
  margin-bottom: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.6rem;
  background: var(--surface-dark);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  transition: transform 0.15s var(--ease-bounce), background 0.2s;
}
.chip:active { transform: scale(0.94); }
.chip-caret { opacity: 0.6; font-size: 0.7rem; margin-left: 0.1rem; }
.chip-streak { color: var(--accent-gold); }
.chip-score { color: var(--accent-gold); }

/* --- Stat banner ("35% got it right") --- */
.card-stat {
  align-self: center;
  /* Push extra space to top */
  margin-top: auto;
  margin-bottom: 1.25rem;
  padding: 0.5rem 1rem;
  background: var(--surface-dark);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  animation: slideDown 0.5s var(--ease-bounce) both;
}

/* --- Question --- */
.card-question {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.75rem, 6.5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-align: center;
  padding: 0 0.5rem;
  text-wrap: balance;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
  animation: slideUp 0.5s var(--ease-bounce) 0.1s both;
  flex-shrink: 0;
}

/* --- Timer / Reveal zone (the main event) --- */
.reveal-zone {
  /* Prevent vertical stretching */
  flex: 0 1 auto;
  min-height: 0;
  margin: 2rem 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* --- Countdown ring --- */
.countdown {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s var(--ease-smooth) both;
}

.countdown-svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.countdown-track { fill: none; stroke: rgba(255,255,255,0.15); stroke-width: 6; }
.countdown-progress {
  fill: none;
  stroke: var(--ink);
  stroke-width: 6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.6));
  transition: stroke-dashoffset 1s linear;
}
.countdown-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 5rem;
  line-height: 1;
  color: var(--ink);
  text-shadow: 0 4px 24px rgba(0,0,0,0.3);
  animation: tick 1s var(--ease-bounce) infinite;
}

/* --- Reveal box (the dopamine moment) --- */
.reveal {
  position: relative;
  width: 100%;
  padding: 2rem 1.5rem;
  border-radius: 28px;
  background: rgba(10,0,25,0.35);
  border: 2px solid rgba(255,255,255,0.55);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1) inset,
    0 0 40px rgba(26,215,255,0.5),
    0 0 80px rgba(255,45,155,0.35),
    0 20px 60px rgba(0,0,0,0.35);
  text-align: center;
  animation: revealPop 0.55s var(--ease-bounce) both;
  overflow: hidden;
}

.reveal-glow {
  position: absolute;
  inset: -2px;
  border-radius: 28px;
  background: linear-gradient(120deg, var(--accent-cyan), var(--accent-magenta), var(--accent-cyan));
  background-size: 200% 200%;
  animation: glowShift 3s linear infinite;
  z-index: -1;
  filter: blur(8px);
  opacity: 0.8;
}

.reveal-answer {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.reveal-emoji {
  font-size: 1.5rem;
  margin: 0 0.4rem;
  display: inline-block;
  animation: wobble 1s var(--ease-bounce) infinite;
}

/* Confetti burst (pure CSS) */
.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 28px;
}
.confetti span {
  position: absolute;
  width: 8px;
  height: 14px;
  top: 50%;
  left: 50%;
  opacity: 0;
  animation: confettiFly 1.4s ease-out forwards;
}
.confetti span:nth-child(1) { background: var(--accent-gold); --tx: -160px; --ty: -120px; --r: 240deg; animation-delay: 0s; }
.confetti span:nth-child(2) { background: var(--accent-cyan); --tx: 140px; --ty: -100px; --r: -180deg; animation-delay: 0.05s; }
.confetti span:nth-child(3) { background: var(--accent-magenta); --tx: -100px; --ty: 130px; --r: 300deg; animation-delay: 0.1s; }
.confetti span:nth-child(4) { background: var(--accent-green); --tx: 170px; --ty: 80px; --r: -240deg; animation-delay: 0.08s; }
.confetti span:nth-child(5) { background: var(--ink); --tx: 0; --ty: -170px; --r: 180deg; animation-delay: 0.12s; }
.confetti span:nth-child(6) { background: var(--accent-gold); --tx: -180px; --ty: 40px; --r: -120deg; animation-delay: 0.15s; }
.confetti span:nth-child(7) { background: var(--accent-magenta); --tx: 120px; --ty: 160px; --r: 200deg; animation-delay: 0.18s; }
.confetti span:nth-child(8) { background: var(--accent-cyan); --tx: -40px; --ty: 180px; --r: -300deg; animation-delay: 0.22s; }

/* --- CTA: Did you get it right? --- */
.cta-block {
  background: rgba(10,0,25,0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  padding: 0.75rem;
  /* Push extra space to bottom */
  margin-bottom: auto;
  animation: slideUp 0.4s var(--ease-bounce) 0.3s both;
  opacity: 0;
  flex-shrink: 0;
}
.cta-block.show { opacity: 1; }

.cta-label {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: white;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.cta-buttons { display: flex; gap: 0.65rem; }

.cta-btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.15s var(--ease-bounce), background 0.2s;
  border: 2px solid transparent;
}
.cta-btn:active { transform: scale(0.96); }

.cta-yes {
  background: rgba(25, 242, 177, 0.18);
  border-color: rgba(25, 242, 177, 0.6);
  color: #c2ffed;
}
.cta-yes.claimed {
  background: rgba(25, 242, 177, 0.35);
  border-color: var(--accent-green);
  animation: pulse 0.4s var(--ease-bounce);
}

.cta-no {
  background: rgba(255, 77, 109, 0.14);
  border-color: rgba(255, 77, 109, 0.5);
  color: #ffd6dd;
}

/* --- Ad slot --- */
.ad-slot {
  height: 80px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* --- Right-side action rail (heart + share) --- */
.action-rail {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  z-index: 5;
}

.action-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(10,0,25,0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform 0.18s var(--ease-bounce), background 0.2s;
  position: relative;
}
.action-btn:active { transform: scale(0.9); }
.action-btn.liked {
  background: rgba(255, 45, 155, 0.3);
  border-color: var(--accent-magenta);
  animation: heartPop 0.5s var(--ease-bounce);
}
.action-btn-label {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  white-space: nowrap;
}


/* --- Ad-only card (every 5th slide) --- */
.card-ad {
  background: #1a1033;
  min-height: 100svh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  padding: max(env(safe-area-inset-top), 0.5rem) 0.75rem max(env(safe-area-inset-bottom), 0.5rem);
}
.card-ad .ad-full {
  flex: 1;
  border: 2px dashed rgba(255,255,255,0.25);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.ad-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  text-transform: uppercase;
}
.ad-title { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; font-style: italic; }
.ad-skip-counter {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--ink-dim);
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
}

/* =============================================================
   MODALS
   ============================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.modal[aria-hidden="false"] { display: block; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.25s var(--ease-smooth);
}

.modal-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #15052b;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  padding: 0.5rem 1.25rem 2rem;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUpSheet 0.35s var(--ease-bounce);
  box-shadow: 0 -20px 60px rgba(0,0,0,0.5);
}

.modal-handle {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  margin: 0.5rem auto 1.25rem;
}

.modal-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.category-option {
  padding: 1.1rem 0.75rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.15s var(--ease-bounce), background 0.2s;
}
.category-option:active { transform: scale(0.96); background: rgba(255,255,255,0.14); }
.category-option .cat-emoji { font-size: 1.8rem; }
.category-option.selected {
  background: var(--grad-main);
  border-color: transparent;
}

.difficulty-list { display: flex; flex-direction: column; gap: 0.6rem; }
.difficulty-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  text-align: left;
  transition: transform 0.15s var(--ease-bounce), background 0.2s;
}
.difficulty-option:active { transform: scale(0.98); }
.difficulty-option.selected { background: var(--grad-main); border-color: transparent; }
.difficulty-emoji { font-size: 1.6rem; }
.difficulty-name { font-weight: 700; font-size: 1.05rem; }
.difficulty-points { font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent-gold); }

/* =============================================================
   SHARE TOAST
   ============================================================= */
.share-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: var(--bg-deep);
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  z-index: 300;
  opacity: 0;
  transition: opacity 0.25s, transform 0.4s var(--ease-bounce);
  pointer-events: none;
}
.share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =============================================================
   KEYFRAMES
   ============================================================= */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; transform: scale(1.04); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes shine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(2%, -3%) scale(1.05); }
  66% { transform: translate(-2%, 2%) scale(0.95); }
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUpSheet { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes tick {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes revealPop {
  0% { opacity: 0; transform: scale(0.7) rotate(-2deg); }
  60% { opacity: 1; transform: scale(1.05) rotate(1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes glowShift { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(15deg) scale(1.15); } }
@keyframes confettiFly {
  0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(var(--r)); }
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
@keyframes heartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
@keyframes hintFade {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: 0.8; transform: translateY(-4px); }
}

/* Prevent double-tap zoom on iOS */
@media (hover: none) {
  button, .chip, .action-btn, .cta-btn { touch-action: manipulation; }
}


/* ============ SHARE SHEET ============ */
.share-sheet-content {
  padding: 0.5rem 1.1rem 1.75rem !important;
}

.share-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.6rem;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.share-subtitle {
  font-size: 0.85rem;
  color: var(--ink-dim);
  text-align: center;
  margin-bottom: 1.1rem;
}

.share-preview {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.9);
}
.share-preview .sp-link {
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}
.share-preview .sp-q {
  color: white;
  font-style: italic;
}

.share-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.share-option {
  padding: 0.85rem 0.5rem;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.15s var(--ease-bounce), background 0.2s;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
}
.share-option:active { transform: scale(0.96); }
.share-option .share-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.share-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.5);
}
.share-sms {
  background: rgba(10, 132, 255, 0.15);
  border-color: rgba(10, 132, 255, 0.5);
}
.share-twitter {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
}
.share-twitter .share-icon {
  font-family: Georgia, serif;
  font-weight: 700;
  font-style: italic;
}
.share-copy {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
}


/* Challenge-from-friend welcome banner */
.challenge-banner {
  position: fixed;
  top: max(env(safe-area-inset-top), 0.5rem);
  left: 0.75rem;
  right: 0.75rem;
  transform: translateY(-100%);
  background: linear-gradient(135deg, var(--accent-magenta), var(--accent-cyan));
  color: white;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  z-index: 450;
  opacity: 0;
  transition: opacity 0.35s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}
.challenge-banner.show {
  opacity: 1;
  transform: translateY(0);
}
.challenge-banner-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.swipe-hint {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 1rem;
  color: white;
  margin: 0.75rem 0;
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  transition: opacity 0.4s ease;
}

.swipe-hint.active {
  opacity: 1;
  animation: swipeHintPulse 1.2s ease-in-out infinite;
}

@keyframes swipeHintPulse {
  0%, 100% { 
    opacity: 1;
    transform: translateY(0);
  }
  50% { 
    opacity: 0.4;
    transform: translateY(-6px);
  }
}

/* ============ STREAK PRESSURE ============ */
.streak-pressure {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 1rem;
  color: white;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  min-height: 1.4em;
  animation: streakPulse 2.5s ease-in-out infinite;
}

@keyframes streakPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.04); }
}

/* Escalate color intensity at high streaks if we want — future addition */
.streak-pressure.danger {
  color: #ffd447;
  animation: streakDanger 1.2s ease-in-out infinite;
}
@keyframes streakDanger {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.06); text-shadow: 0 0 16px rgba(255, 212, 71, 0.6); }
}

/* ============ CLAIM CELEBRATION ============ */
/* ============ CLAIM CELEBRATION ============ */
.claim-celebration {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  pointer-events: none;
  z-index: 200;
  text-align: center;
  opacity: 0;
  transition: opacity 0.25s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* The dark backdrop that makes it pop */
  padding: 1.1rem 1.8rem;
  background: rgba(10, 0, 25, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 212, 71, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.claim-celebration.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.celebration-msg {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2rem, 9vw, 3.5rem);
  letter-spacing: -0.03em;
  color: white;
  text-shadow:
    0 4px 30px rgba(0,0,0,0.6),
    0 0 40px rgba(255, 212, 71, 0.4);
  line-height: 1;
  white-space: nowrap;
}

.celebration-points {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.25rem, 5vw, 2rem);
  color: var(--accent-gold);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 0 20px rgba(255,212,71,0.6);
  margin-top: 0.4rem;
  letter-spacing: -0.02em;
}

/* ============ BRAG CARD (viral share moment) ============ */
.card-brag {
  background: linear-gradient(155deg, #ffd447 0%, #ff2d9b 50%, #7c4dff 100%);
  position: relative;
  overflow: hidden;
}

.card-brag::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.45) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.25) 0%, transparent 50%);
  animation: bragDrift 12s ease-in-out infinite;
  z-index: 0;
}

@keyframes bragDrift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(3%, -3%) scale(1.05); }
}

.brag-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
  gap: 1rem;
}

.brag-badge {
  font-size: 6rem;
  line-height: 1;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.3));
  animation: bragBounce 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

@keyframes bragBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.08); }
}

.brag-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(3rem, 14vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: white;
  text-shadow:
    0 4px 30px rgba(0,0,0,0.45),
    0 0 40px rgba(255,255,255,0.25);
  animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.brag-subtext {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  max-width: 300px;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  line-height: 1.4;
  animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s both;
  opacity: 0;
  animation-fill-mode: forwards;
}

.brag-share-btn {
  position: relative;
  margin-top: 1.5rem;
  padding: 1.1rem 2.5rem;
  background: white;
  color: #1a0030;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.5) inset;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: bragBtnIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
  opacity: 0;
  animation-fill-mode: forwards;
}

.brag-share-btn:active {
  transform: scale(0.96);
}

.brag-share-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 45, 155, 0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shine 2.5s cubic-bezier(0.22, 1, 0.36, 1) 1s infinite;
  pointer-events: none;
}

@keyframes bragBtnIn {
  from { opacity: 0; transform: translateY(15px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.brag-dismiss {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  animation: swipeHintPulse 2s ease-in-out 1.5s infinite;
}

/* ============ HOME SCREEN PROMPT ============ */
.install-prompt {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
}
.install-prompt[aria-hidden="false"] { display: block; }

.install-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.3s var(--ease-smooth);
}

.install-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #15052b;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  padding: 0.5rem 1.5rem 2rem;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUpSheet 0.4s var(--ease-bounce);
  box-shadow: 0 -20px 60px rgba(0,0,0,0.6);
  text-align: center;
}

.install-handle {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  margin: 0.5rem auto 1.25rem;
}

.install-badge {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
}

.install-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 0.4rem;
  line-height: 1.15;
}

.install-subtext {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.install-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
}

.install-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--grad-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: white;
}

.install-step-text {
  font-size: 0.9rem;
  line-height: 1.35;
  color: rgba(255,255,255,0.9);
}

.install-step-text strong {
  color: white;
  font-weight: 700;
}

.install-close-btn {
  padding: 0.75rem 1.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-weight: 500;
  background: transparent;
  border: none;
}

.install-why {
  margin-bottom: 1.5rem;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 212, 71, 0.12);
  border: 1px solid rgba(255, 212, 71, 0.3);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  text-align: left;
}

.install-why-headline {
  color: var(--accent-gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.install-why-body {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Updated OS-specific steps hiding logic */
.install-prompt[data-os="ios"] [data-install-steps-android],
.install-prompt[data-os="ios"] [data-install-steps-desktop] { display: none; }

.install-prompt[data-os="android"] [data-install-steps-ios],
.install-prompt[data-os="android"] [data-install-steps-desktop] { display: none; }

.install-prompt[data-os="other"] [data-install-steps-ios],
.install-prompt[data-os="other"] [data-install-steps-android] { display: none; }

.install-prompt:not([data-os]) [data-install-steps-android],
.install-prompt:not([data-os]) [data-install-steps-desktop] { display: none; }

/* ============ MULTI-CHOICE ANSWER GRID ============ */
.answer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0 0.25rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
  animation: slideUp 0.4s var(--ease-bounce) 0.2s both;
}

.answer-btn {
  padding: 1rem 0.75rem;
  min-height: 72px;
  border-radius: 18px;
  background: rgba(10, 0, 25, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid rgba(255, 255, 255, 0.28);
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  transition: transform 0.15s var(--ease-bounce), background 0.2s, border-color 0.3s, box-shadow 0.3s;
  word-break: break-word;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.answer-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.answer-btn:active:not(:disabled) {
  transform: scale(0.96);
}

.answer-btn:disabled {
  cursor: default;
}

.answer-btn.placeholder {
  opacity: 0.2;
  visibility: hidden;
}

/* User picked correct — bright neon green glow */
.answer-btn.selected-correct {
  background: rgba(25, 242, 177, 0.35);
  border-color: var(--accent-green);
  color: white;
  box-shadow:
    0 0 30px rgba(25, 242, 177, 0.8),
    0 0 60px rgba(25, 242, 177, 0.4),
    0 0 0 1px rgba(25, 242, 177, 0.6) inset;
  animation: correctPulse 0.5s var(--ease-bounce);
}

/* Correct answer highlighted (not the one user picked) */
.answer-btn.correct:not(.selected-correct) {
  background: rgba(25, 242, 177, 0.22);
  border-color: var(--accent-green);
  color: #c2ffed;
  box-shadow: 0 0 18px rgba(25, 242, 177, 0.45);
}

/* User picked wrong — red glow + shake */
.answer-btn.selected-wrong {
  background: rgba(255, 77, 109, 0.35);
  border-color: var(--accent-red);
  color: white;
  box-shadow:
    0 0 30px rgba(255, 77, 109, 0.7),
    0 0 60px rgba(255, 77, 109, 0.3);
  animation: wrongShake 0.4s ease-in-out;
}

/* Timeout — correct answer pulses softly */
.answer-btn.timeout-correct {
  background: rgba(25, 242, 177, 0.22);
  border-color: var(--accent-green);
  color: #c2ffed;
  animation: timeoutGlow 1.2s ease-in-out infinite;
}

@keyframes correctPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@keyframes wrongShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

@keyframes timeoutGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(25, 242, 177, 0.4); }
  50% { box-shadow: 0 0 28px rgba(25, 242, 177, 0.75); }
}

/* ============ COUNTDOWN ROW (countdown + streak pressure side-by-side or stacked) ============ */
.countdown-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  flex: 1;
  min-height: 0;
}

.card-level-up {
  background: linear-gradient(155deg, #19f2b1 0%, #1ad7ff 50%, #7c4dff 100%);
  position: relative;
  overflow: hidden;
}

.card-level-up::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.4) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.25) 0%, transparent 50%);
  animation: bragDrift 12s ease-in-out infinite;
  z-index: 0;
}

.level-up-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
  gap: 0.75rem;
}

.level-up-emoji {
  font-size: 5.5rem;
  line-height: 1;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.3));
  animation: bragBounce 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  margin-bottom: 0.5rem;
}

.level-up-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2.5rem, 11vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: white;
  text-shadow: 0 4px 30px rgba(0,0,0,0.45), 0 0 40px rgba(255,255,255,0.25);
  margin-bottom: 0.5rem;
}

.level-up-subtext {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  max-width: 320px;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.level-up-primary {
  width: 100%;
  max-width: 320px;
  padding: 1.15rem 2rem;
  background: white;
  color: #1a0030;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  border: none;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.5) inset;
  cursor: pointer;
}

.level-up-primary:active {
  transform: scale(0.96);
}

.level-up-secondary {
  margin-top: 0.85rem;
  padding: 0.65rem 1.5rem;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  text-underline-offset: 3px;
}

.level-up-dismiss {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ============ SHARE-BRAG CARD ============ */
.card-share-brag {
  background: linear-gradient(155deg, #ff2d9b 0%, #7c4dff 50%, #1ad7ff 100%);
  position: relative;
  overflow: hidden;
}

.card-share-brag::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.4) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(255, 212, 71, 0.3) 0%, transparent 50%);
  animation: bragDrift 12s ease-in-out infinite;
  z-index: 0;
}

.share-brag-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.25rem;
  text-align: center;
  gap: 0.65rem;
}

.share-brag-emoji {
  font-size: 4.5rem;
  line-height: 1;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.3));
  animation: bragBounce 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.share-brag-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.8rem, 8vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: white;
  text-shadow: 0 4px 30px rgba(0,0,0,0.45), 0 0 40px rgba(255,255,255,0.25);
  max-width: 340px;
}

.share-brag-question {
  background: rgba(10, 0, 25, 0.55);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin: 0.75rem 0;
  max-width: 340px;
}

.share-brag-question-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 0.4rem;
}

.share-brag-question-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.3;
  color: white;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.share-brag-cta {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  margin-bottom: 0.5rem;
  max-width: 320px;
}

.share-brag-button {
  width: 100%;
  max-width: 320px;
  padding: 1.1rem 2rem;
  background: white;
  color: #1a0030;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  border: none;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.5) inset;
  cursor: pointer;
}

.share-brag-button:active {
  transform: scale(0.96);
}

.share-brag-dismiss {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}