/* ==========================================================================
   ValueGuessr — dark, glassy, neon-green themed styling.
   Mobile-first: the whole layout is built for a phone-width column first,
   then just gains breathing room on wider viewports.
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-2: #0d0d0f;
  --accent: #00ff9d;
  --accent-dim: #00c97d;
  --accent-glow: rgba(0, 255, 157, 0.45);
  --text: #f5f6f7;
  --text-dim: #a1a1aa;
  --text-faint: #6b6b74;
  --glass-bg: rgba(255, 255, 255, 0.055);
  --glass-bg-strong: rgba(255, 255, 255, 0.09);
  --glass-border: rgba(255, 255, 255, 0.12);
  --danger: #ff4d5e;
  --warn: #ffcc4d;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 560px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }
button { font-family: var(--font-body); }

.accent { color: var(--accent); }

/* ---- Background: gradient mesh + grain texture -------------------------- */

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(0, 255, 157, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 35% at 100% 20%, rgba(168, 85, 247, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 255, 157, 0.08), transparent 60%),
    var(--bg-2);
  pointer-events: none;
}

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

.app {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 0 16px;
}

/* ---- Top bar -------------------------------------------------------------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px 10px;
  gap: 10px;
}

.brand-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: none;
  padding: 4px 6px 4px 2px;
  margin-left: -2px;
  cursor: pointer;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.brand-btn:hover { background: rgba(255, 255, 255, 0.05); }
.brand-btn:active { transform: scale(0.96); }

.brand-mark { width: 32px; height: 32px; flex-shrink: 0; overflow: visible; }
.brand-mark-bg { fill: rgba(0, 255, 157, 0.1); stroke: rgba(0, 255, 157, 0.35); stroke-width: 1.5; transition: fill 0.2s ease; }
.brand-btn:hover .brand-mark-bg { fill: rgba(0, 255, 157, 0.18); }
.brand-mark-house { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.brand-mark-trend { fill: none; stroke: var(--text); stroke-width: 2.1; stroke-linejoin: round; stroke-linecap: round; }

.live-counter {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-dim);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ---- Activity ticker ------------------------------------------------------ */

.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  padding: 7px 0;
  margin-bottom: 14px;
}

.ticker {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.ticker span.ticker-item { display: inline-flex; align-items: center; gap: 6px; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Layout / stage -------------------------------------------------------- */

.stage { flex: 1; display: flex; flex-direction: column; padding-bottom: 24px; }

.screen { display: flex; flex-direction: column; gap: 16px; animation: screen-in 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.screen[hidden] { display: none; }

@keyframes screen-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Glass card base -------------------------------------------------------- */

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.card { padding: 22px; }

/* ---- Buttons --------------------------------------------------------------- */

.btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.96); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-lg { width: 100%; padding: 16px 20px; font-size: 1.02rem; }

.btn-primary {
  background: var(--accent);
  color: #04140c;
  box-shadow: 0 0 0 rgba(0, 255, 157, 0), 0 6px 24px -4px var(--accent-glow);
}
.btn-primary:hover { box-shadow: 0 0 26px var(--accent-glow), 0 6px 24px -4px var(--accent-glow); }

.btn-ghost {
  background: var(--glass-bg-strong);
  color: var(--text);
  border: 1px solid var(--glass-border);
}

.btn-outline {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--glass-border);
  padding: 12px 18px;
  font-size: 0.9rem;
  flex: 1;
}

/* ---- Start screen ----------------------------------------------------------- */

.start-card { text-align: center; padding-top: 34px; }

.hero-title {
  font-size: clamp(1.7rem, 7vw, 2.3rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-sub { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 18px; }

.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-dim);
  background: rgba(0, 255, 157, 0.08);
  border: 1px solid rgba(0, 255, 157, 0.25);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.social-proof strong { color: var(--accent); }

.stats-preview { display: flex; gap: 10px; margin-bottom: 24px; }

.stat-chip {
  flex: 1;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stat-chip-value { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.stat-chip-label { font-size: 0.66rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.04em; }

.start-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }

.daily-hint { font-size: 0.72rem; color: var(--text-faint); line-height: 1.4; }

/* ---- Game HUD --------------------------------------------------------------- */

.game-hud { display: flex; align-items: center; justify-content: space-between; padding: 4px 2px; }

.progress-dots { display: flex; gap: 7px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); transition: all 0.25s ease; }
.dot.filled { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
.dot.current { background: var(--text); transform: scale(1.3); }

.hud-right { display: flex; gap: 18px; }
.hud-metric { display: flex; flex-direction: column; align-items: flex-end; }
.hud-label { font-size: 0.62rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.hud-value { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }

/* ---- Property card ------------------------------------------------------------ */

.property-card { padding: 0; overflow: hidden; }

.property-image-wrap { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.property-image {
  width: 100%; height: 100%; object-fit: cover; display: block;
  background: linear-gradient(135deg, #1a1a1d, #101012);
  animation: img-fade-in 0.5s ease;
}
@keyframes img-fade-in { from { opacity: 0; } to { opacity: 1; } }

.property-round-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
}

.famous-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0, 255, 157, 0.16);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 255, 157, 0.4);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}

.property-info { padding: 18px 20px 20px; }
.property-address { font-size: 1.15rem; font-weight: 700; }
.property-location { color: var(--text-dim); font-size: 0.85rem; margin-top: 2px; margin-bottom: 14px; }
.property-credit { color: var(--text-faint); font-size: 0.66rem; margin-top: 10px; line-height: 1.4; }

.property-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.pstat {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 7px 11px; border-radius: var(--radius-sm);
}
.pstat[hidden] { display: none; }
.pstat-icon { font-size: 0.9rem; }

/* ---- Guess card ------------------------------------------------------------ */

.guess-card { text-align: center; position: relative; }

.currency-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.currency-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 4px 10px;
  border-radius: 999px;
  transition: all 0.25s ease;
}
.currency-badge.rolled {
  color: var(--accent);
  background: rgba(0, 255, 157, 0.12);
  border-color: rgba(0, 255, 157, 0.4);
  box-shadow: 0 0 10px var(--accent-glow);
}

.btn-roll {
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-roll:active { transform: scale(0.94); }
.btn-roll:disabled { opacity: 0.4; cursor: not-allowed; }

.guess-display { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.guess-label { font-size: 0.72rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.guess-amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 9vw, 2.6rem); color: var(--accent); }

.guess-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 50%), rgba(255,255,255,0.12) var(--fill, 50%));
  margin: 10px 0 6px;
  cursor: pointer;
}
.guess-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--text);
  border: 3px solid var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.guess-slider::-webkit-slider-thumb:active { transform: scale(1.15); }
.guess-slider::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--text); border: 3px solid var(--accent);
  box-shadow: 0 0 14px var(--accent-glow); cursor: pointer;
}
.guess-slider::-moz-range-progress { background: var(--accent); height: 8px; border-radius: 999px; }

.slider-scale { display: flex; justify-content: space-between; font-size: 0.68rem; color: var(--text-faint); margin-bottom: 18px; }

.btn-submit { margin-top: 4px; }

/* ---- Reveal overlay ------------------------------------------------------------ */

.reveal-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 5, 6, 0.72);
  backdrop-filter: blur(4px);
}
.reveal-overlay[hidden] { display: none; }

.reveal-card {
  width: 100%;
  max-width: 420px;
  text-align: center;
  animation: reveal-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes reveal-pop {
  from { opacity: 0; transform: scale(0.85) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.reveal-tier { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 18px; }
.reveal-emoji { font-size: 2.6rem; filter: drop-shadow(0 0 12px var(--accent-glow)); animation: emoji-bounce 0.6s ease; }
@keyframes emoji-bounce {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.reveal-label { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }

.reveal-numbers { display: flex; justify-content: space-around; margin-bottom: 16px; }
.reveal-col { display: flex; flex-direction: column; gap: 2px; }
.reveal-col-label { font-size: 0.7rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.04em; }
.reveal-col-value { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }

.reveal-bar-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
  overflow: visible;
}
.reveal-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  width: 0%;
  transition: width 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-bar-marker {
  position: absolute;
  top: -5px;
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: var(--text);
  left: 0%;
  box-shadow: 0 0 6px rgba(255,255,255,0.6);
  transition: left 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-error { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 14px; }

.reveal-points {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 8px;
  animation: points-in 0.5s ease 0.15s both;
}

.reveal-source {
  color: var(--text-faint);
  font-size: 0.72rem;
  line-height: 1.4;
  margin-bottom: 18px;
}
@keyframes points-in {
  from { opacity: 0; transform: translateY(8px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Screen shake / glow pulse used on great guesses (JS toggles this class) */
.shake { animation: shake 0.4s ease; }
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

.glow-pulse { animation: glow-pulse 1s ease; }
@keyframes glow-pulse {
  0% { box-shadow: 0 8px 30px rgba(0,0,0,0.35); }
  40% { box-shadow: 0 0 50px var(--accent-glow), 0 8px 30px rgba(0,0,0,0.35); }
  100% { box-shadow: 0 8px 30px rgba(0,0,0,0.35); }
}

/* ---- Generic modal (quit-confirm, leaderboard name prompt) ------------------------ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 5, 6, 0.72);
  backdrop-filter: blur(4px);
}
.modal-overlay[hidden] { display: none; }

.modal-card {
  width: 100%;
  max-width: 380px;
  text-align: center;
  animation: reveal-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-title { font-size: 1.2rem; margin-bottom: 8px; }
.modal-body { color: var(--text-dim); font-size: 0.88rem; line-height: 1.5; margin-bottom: 20px; }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; }

.name-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 14px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.name-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.name-input::placeholder { color: var(--text-faint); }

.modal-error { color: var(--danger); font-size: 0.78rem; margin: -8px 0 12px; }
.modal-error[hidden] { display: none; }

/* ---- Leaderboard viewer ------------------------------------------------------------ */

.leaderboard-card { max-width: 420px; max-height: 85vh; display: flex; flex-direction: column; }

.leaderboard-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.leaderboard-tab {
  flex: 1;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.leaderboard-tab.active { background: rgba(0, 255, 157, 0.14); border-color: rgba(0, 255, 157, 0.4); color: var(--accent); }

.leaderboard-subtitle { color: var(--text-faint); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }

.leaderboard-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  overflow-y: auto;
  max-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.leaderboard-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  text-align: left;
}
.leaderboard-rank { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; width: 26px; color: var(--text-faint); flex-shrink: 0; }
.leaderboard-row.top-3 .leaderboard-rank { font-size: 1.1rem; }
.leaderboard-name { flex: 1; font-size: 0.88rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaderboard-score { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 0.92rem; }
.leaderboard-empty { color: var(--text-faint); font-size: 0.85rem; padding: 20px 0; text-align: center; }

/* ---- Results screen -------------------------------------------------------------- */

.results-card { text-align: center; }

.results-eyebrow { color: var(--text-faint); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.results-score { font-size: clamp(2.6rem, 14vw, 3.6rem); font-weight: 700; color: var(--accent); text-shadow: 0 0 30px var(--accent-glow); }
.results-score-max { color: var(--text-faint); font-size: 0.85rem; margin-bottom: 18px; }

.results-emoji-row { font-size: 1.7rem; letter-spacing: 6px; margin-bottom: 18px; }

.results-metrics { display: flex; gap: 10px; margin-bottom: 18px; }

.share-canvas-preview {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  margin: 0 auto 18px;
  display: block;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.results-actions { display: flex; gap: 10px; margin-bottom: 10px; }
.results-actions-secondary { margin-bottom: 4px; }

.copy-toast {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  animation: fade-in 0.25s ease;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---- Ad slot -------------------------------------------------------------- */

.ad-slot {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 20px 0 4px;
  min-height: 50px;
}

/* ---- Footer -------------------------------------------------------------- */

.footer {
  padding: 18px 6px 26px;
  text-align: center;
}
.footer p {
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--text-faint);
}

/* ---- Confetti canvas -------------------------------------------------------------- */

.confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

/* ---- Responsive: give some breathing room on tablets/desktop --------------------- */

@media (min-width: 640px) {
  .app { padding: 0 24px; }
  .hero-title { font-size: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
