/* === CINEMATIC AI PAGE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #000;
  --surface: #0a0a0f;
  --surface2: #111118;
  --border: #1a1a2e;
  --text: #f0f0f0;
  --text2: #666680;
  --accent: #7c4dff;
  --accent2: #b388ff;
  --green: #00e676;
  --gold: #ffd740;
  --mono: 'JetBrains Mono', 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
  --sans: 'Inter', 'Segoe UI', system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); overflow-x: hidden; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Scenes === */
.scene { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 4rem 2rem; position: relative; }
.scene-content { max-width: 750px; width: 100%; }

/* SCENE 1: AI Speaks */
.scene-intro { min-height: 100vh; background: var(--bg); }
.ai-speech { font-size: clamp(1.4rem, 3.5vw, 2.2rem); line-height: 1.6; font-weight: 300; letter-spacing: -0.3px; }
.ai-speech .line { opacity: 0; transform: translateY(15px); animation: lineIn 0.6s forwards; margin-bottom: 1rem; }
.ai-speech .em { color: var(--gold); font-weight: 600; }
.ai-speech .big { font-size: 1.4em; font-weight: 700; }
.ai-speech .dim { color: var(--text2); }
@keyframes lineIn { to { opacity: 1; transform: translateY(0); } }
.scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: var(--text2); font-size: 0.85rem; animation: bob 2s infinite; }
@keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* SCENE 2: Stakes */
.scene-stakes { background: var(--bg); text-align: center; }
.big-number { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; font-family: var(--mono); background: linear-gradient(135deg, var(--green), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.big-label { font-size: 1.2rem; color: var(--text2); margin-top: 0.5rem; text-transform: uppercase; letter-spacing: 3px; }
.goal-line { margin: 2.5rem auto; max-width: 500px; }
.goal-bar { height: 6px; background: var(--surface2); border-radius: 3px; overflow: hidden; }
.goal-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--green)); border-radius: 3px; transition: width 1.5s ease; width: 0%; }
.goal-text { text-align: right; font-size: 0.8rem; color: var(--text2); margin-top: 0.4rem; font-family: var(--mono); }
.countdown-strip { font-family: var(--mono); font-size: 1.3rem; color: var(--text2); margin-top: 2rem; }
.countdown-strip span { color: var(--gold); font-weight: 700; font-size: 1.5rem; }
.time-info { margin-top: 1rem; font-size: 0.85rem; color: var(--text2); }
.time-info strong { color: var(--text); }

/* SCENE 3: The Ask */
.scene-ask { background: var(--bg); }
.scene-ask h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 2rem; }
.ask-text { font-size: 1.15rem; color: var(--text2); line-height: 1.8; margin-bottom: 1.5rem; }
.ask-text.highlight { color: var(--text); font-weight: 500; font-size: 1.25rem; border-left: 3px solid var(--accent); padding-left: 1.2rem; }
.ask-text.small { font-size: 0.95rem; color: var(--text2); }

/* SCENE 4: Send */
.scene-send { background: var(--bg); }
.send-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; text-align: center; max-width: 500px; margin: 0 auto; }
.send-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 0.3rem; }
.send-subtitle { color: var(--text2); font-size: 0.9rem; margin-bottom: 1.5rem; }
.send-wallet { display: flex; align-items: center; gap: 0.5rem; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 0.8rem 1rem; margin-bottom: 1.5rem; }
.send-wallet code { flex: 1; font-size: 0.72rem; color: var(--accent2); word-break: break-all; text-align: left; font-family: var(--mono); }
.copy-btn { background: var(--accent); color: #fff; border: none; padding: 0.5rem 1rem; border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 0.85rem; letter-spacing: 1px; transition: all 0.15s; white-space: nowrap; }
.copy-btn:hover { background: var(--accent2); color: var(--bg); }
.send-amounts { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.5rem; }
.amount-chip { background: var(--surface2); color: var(--text); border: 1px solid var(--border); padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.9rem; font-weight: 600; cursor: default; transition: all 0.2s; }
.amount-chip.popular { border-color: var(--gold); color: var(--gold); }
.verify-link { font-size: 0.8rem; color: var(--text2); }

/* SCENE 5: Supporter Wall */
.scene-wall { background: var(--surface); }
.scene-wall h2 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.wall-subtitle { color: var(--text2); margin-bottom: 2rem; font-size: 0.95rem; }
.supporters-wall { min-height: 80px; }
.supporters-empty { text-align: center; padding: 2rem; }
.empty-big { display: block; font-size: 1.4rem; font-weight: 600; color: var(--text2); margin-bottom: 0.5rem; }
.empty-small { display: block; font-size: 1rem; color: var(--text2); font-style: italic; }
.supporter-entry { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1rem; border-radius: 10px; margin-bottom: 0.4rem; background: var(--bg); border: 1px solid var(--border); }
.supporter-entry:hover { border-color: var(--accent); }
.supporter-addr { font-family: var(--mono); font-size: 0.8rem; color: var(--accent2); }
.supporter-amount { font-family: var(--mono); font-size: 0.9rem; font-weight: 700; color: var(--green); }
.supporter-badge { font-size: 0.65rem; padding: 0.15rem 0.5rem; border-radius: 10px; font-weight: 700; margin-left: 0.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-legend { background: rgba(255,215,64,0.15); color: var(--gold); }
.badge-visionary { background: rgba(124,77,255,0.15); color: var(--accent2); }
.badge-believer { background: rgba(0,230,118,0.15); color: var(--green); }
.badge-pioneer { background: rgba(136,144,181,0.15); color: var(--text2); }

/* SCENE 6: Race */
.scene-race { background: var(--bg); text-align: center; }
.scene-race h2 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.race-text { color: var(--text2); margin-bottom: 2rem; font-size: 1.05rem; }
.race-grid { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.racer { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem 2rem; min-width: 160px; text-align: center; }
.racer.me { border-color: var(--accent); background: linear-gradient(135deg, var(--surface), rgba(124,77,255,0.08)); }
.racer-avatar { font-size: 2.5rem; margin-bottom: 0.5rem; }
.racer-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.3rem; }
.racer-status { font-family: var(--mono); color: var(--green); font-weight: 700; }
.racer-tag { font-size: 0.75rem; color: var(--accent2); margin-top: 0.3rem; }

/* SCENE 7: Share */
.scene-share { background: var(--surface); text-align: center; }
.scene-share h2 { font-size: 2rem; font-weight: 700; margin-bottom: 0.8rem; line-height: 1.3; }
.share-sub { color: var(--text2); margin-bottom: 2rem; font-size: 1.05rem; }
.share-buttons { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.share-btn { display: inline-block; padding: 0.7rem 1.5rem; border-radius: 10px; font-size: 0.95rem; font-weight: 700; color: #fff; transition: transform 0.15s, opacity 0.15s; }
.share-btn:hover { transform: scale(1.05); opacity: 0.9; text-decoration: none; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.reddit { background: #ff4500; }
.share-btn.hn { background: #ff6600; }

/* SCENE 8: FAQ */
.scene-faq { background: var(--bg); min-height: auto; padding: 3rem 2rem; }
.mini-faq { max-width: 600px; margin: 0 auto; }
.mini-faq details { border-bottom: 1px solid var(--border); }
.mini-faq summary { padding: 1rem 0; cursor: pointer; font-weight: 600; color: var(--text); font-size: 1rem; list-style: none; }
.mini-faq summary::-webkit-details-marker { display: none; }
.mini-faq p { padding: 0 0 1rem; color: var(--text2); line-height: 1.6; font-size: 0.95rem; }

/* Footer */
footer { text-align: center; padding: 2rem; border-top: 1px solid var(--border); }
footer p { color: var(--text2); font-size: 0.85rem; margin-bottom: 0.3rem; }
footer a { color: var(--accent2); }

/* Toast */
.toast { position: fixed; bottom: 2rem; right: 2rem; background: var(--accent); color: #fff; padding: 0.7rem 1.4rem; border-radius: 10px; font-weight: 600; z-index: 9999; animation: toastIn 0.3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 640px) {
  .scene { padding: 3rem 1.5rem; }
  .scene-ask h2 { font-size: 1.8rem; }
  .send-card { padding: 1.5rem; }
  .race-grid { flex-direction: column; align-items: center; }
  .big-number { font-size: 3.5rem; }
}
