* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

:root {
  --bg: #0b0713;
  --bg-alt: #120a1e;
  --surface: rgba(21, 15, 34, 0.72);
  --surface-solid: #150f22;
  --border: #2a1f3d;
  --pink: #ff5fa2;
  --pink-soft: #ff9fc7;
  --purple: #a259ff;
  --blue: #5865f2;
  --text: #f2eefb;
  --muted: #9c8fc0;
  --green: #57f287;
  --yellow: #fee75c;
  --red: #ed4245;
  --nav-h: 72px;
}

body {
  font-family: 'Quicksand', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ============ page load choreography ============ */
body.preload * { animation-play-state: paused !important; transition: none !important; }
.load-fade {
  opacity: 0;
  animation: loadFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes loadFadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ============ background ambience ============ */
.bg-glow { position: fixed; border-radius: 50%; filter: blur(140px); opacity: 0.28; z-index: 0; pointer-events: none; animation: drift 16s ease-in-out infinite alternate; }
.bg-glow-1 { width: 520px; height: 520px; background: var(--pink); top: -160px; left: -160px; }
.bg-glow-2 { width: 560px; height: 560px; background: var(--purple); bottom: -180px; right: -160px; animation-delay: 4s; }
.bg-glow-3 { width: 420px; height: 420px; background: var(--blue); top: 50%; left: 50%; opacity: 0.14; animation-delay: 2s; }
@keyframes drift { from { transform: translate(0,0); } to { transform: translate(40px, 26px); } }

.sparkle-field { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.sparkle { position: absolute; width: 3px; height: 3px; background: var(--pink-soft); border-radius: 50%; box-shadow: 0 0 8px 2px rgba(255,159,199,0.7); animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: 0.1; transform: scale(0.7); } 50% { opacity: 0.85; transform: scale(1.2); } }

/* Subtle film-grain, inline SVG turbulence so it's a zero-request texture —
   adds richness to the flat dark background without needing an image file. */
.noise-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%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");
}
html[data-theme="light"] .noise-overlay { opacity: 0.02; }

/* Alternating section tint for depth — --bg-alt was already defined but
   unused; applying it here instead of introducing a new variable. Sections
   have no separate full-width wrapper, so a plain background would only
   tint the constrained inner box — this box-shadow trick fills the full
   viewport width without needing to restructure the markup. */
.section-alt { background: var(--bg-alt); box-shadow: 0 0 0 100vmax var(--bg-alt); clip-path: inset(0 -100vmax); }
html[data-theme="light"] .section-alt { background: rgba(28,21,48,0.025); box-shadow: 0 0 0 100vmax rgba(28,21,48,0.025); }

/* ============ nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: rgba(11, 7, 19, 0.7);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.nav-logo { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--pink); box-shadow: 0 0 14px rgba(255,95,162,0.5); object-fit: cover; }
.nav-logo-fallback { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--pink)); display: flex; align-items: center; justify-content: center; font-family: 'Baloo 2', sans-serif; font-weight: 800; }
.nav-wordmark { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: color 0.2s ease; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -20px; height: 2px; background: linear-gradient(90deg, var(--pink), var(--purple)); }
.nav-cta { padding: 9px 18px; border-radius: 999px; background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 6px 18px rgba(255,95,162,0.35); transition: transform 0.15s ease, filter 0.15s ease; }
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.08); }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: rgba(11,7,19,0.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
  .nav-links.open { max-height: 400px; }
  .nav-links a, .nav-links a.active::after { position: static; }
  .nav-links a { width: 100%; padding: 16px 32px; border-bottom: 1px solid rgba(255,255,255,0.04); }
  .nav-cta { margin: 16px 32px; display: inline-block; }
  .nav-links .nav-tools { padding: 4px 32px 18px; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
  .nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
}

/* ============ layout helpers ============ */
.page { position: relative; z-index: 1; padding-top: var(--nav-h); }
.section { max-width: 1080px; margin: 0 auto; padding: 90px 28px; scroll-margin-top: calc(var(--nav-h) + 12px); }
.section-tight { padding-top: 40px; padding-bottom: 40px; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--pink-soft); background: rgba(255,95,162,0.1); border: 1px solid rgba(255,95,162,0.25); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
h1, h2, h3 { font-family: 'Baloo 2', sans-serif; }
h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3 { font-weight: 500; }
.section-title { font-size: 34px; margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 16px; }
.grad-text { background: linear-gradient(135deg, var(--pink), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============ reveal-on-scroll ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-32px); }
.reveal-left.is-visible { transform: translateX(0); }
.reveal-right { transform: translateX(32px); }
.reveal-right.is-visible { transform: translateX(0); }
.reveal-scale { transform: scale(0.92); }
.reveal-scale.is-visible { transform: scale(1); }

/* ============ hero ============ */
.hero { min-height: calc(100vh - var(--nav-h)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; position: relative; }
.hero-mascot { width: 132px; height: 132px; border-radius: 50%; border: 4px solid var(--pink); box-shadow: 0 0 0 6px rgba(255,95,162,0.1), 0 0 44px rgba(255,95,162,0.55); overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--purple), var(--pink)); margin-bottom: 28px; animation: pulseGlow 3.4s ease-in-out infinite; }
@keyframes pulseGlow { 0%,100% { box-shadow: 0 0 0 6px rgba(255,95,162,0.1), 0 0 44px rgba(255,95,162,0.55); } 50% { box-shadow: 0 0 0 10px rgba(255,95,162,0.06), 0 0 60px rgba(255,95,162,0.8); } }
.hero-mascot img { width: 100%; height: 100%; object-fit: cover; }
.hero-mascot-fallback { font-family: 'Baloo 2', sans-serif; font-size: 56px; font-weight: 800; color: #fff; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.1; margin-bottom: 18px; }
.hero-sub { color: var(--muted); font-size: 17px; max-width: 560px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.scroll-cue { position: absolute; bottom: 28px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ============ buttons ============ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: none; cursor: pointer; transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff; box-shadow: 0 10px 28px rgba(255,95,162,0.35); }
.btn-discord { background: var(--blue); color: #fff; box-shadow: 0 10px 28px rgba(88,101,242,0.35); }
.btn-outline { background: rgba(255,255,255,0.03); border: 1px solid var(--border); color: var(--text); }

/* ============ cards / grids ============ */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: 20px; padding: 28px;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,95,162,0.4); box-shadow: 0 20px 50px rgba(255,95,162,0.12); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: rgba(162,89,255,0.15); border: 1px solid rgba(162,89,255,0.3); color: var(--pink-soft); flex-shrink: 0; }
.card-icon svg { width: 23px; height: 23px; }
.card-tag { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.3px; color: var(--pink-soft); background: rgba(255,95,162,0.09); border: 1px solid rgba(255,95,162,0.22); padding: 4px 10px; border-radius: 999px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }

/* ============ steps / timeline ============ */
.steps { position: relative; }
.step { display: flex; gap: 20px; padding: 24px 0; position: relative; }
.step-num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--purple)); display: flex; align-items: center; justify-content: center; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 17px; box-shadow: 0 0 20px rgba(255,95,162,0.4); }
.step-line { position: absolute; left: 22px; top: 68px; bottom: -24px; width: 2px; background: linear-gradient(180deg, var(--pink), transparent); }
.step:last-child .step-line { display: none; }
.step-body { display: flex; align-items: flex-start; gap: 10px; }
.step-icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; color: var(--pink-soft); }
.step-body h3 { font-size: 17px; margin-bottom: 6px; }
.step-body p { color: var(--muted); font-size: 14px; }

/* ============ stats ============ */
.stats { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-family: 'Baloo 2', sans-serif; font-size: 38px; font-weight: 800; background: linear-gradient(135deg, var(--pink), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-num.pending { opacity: 0.35; animation: statPulse 1.3s ease-in-out infinite; }
@keyframes statPulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.5; } }
.stat-label { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* ============ command chips (copy-to-clipboard) ============ */
.cmd-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px 8px 14px; font-family: monospace; font-size: 13px; color: var(--pink-soft); cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.cmd-chip:hover { border-color: var(--pink); background: rgba(255,95,162,0.06); }
.cmd-chip .copy-icon { width: 14px; height: 14px; color: var(--muted); flex-shrink: 0; }
.cmd-chip.copied .copy-icon { color: var(--green); }

/* ============ accordion (help/faq) ============ */
.accordion-item { border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; overflow: hidden; background: var(--surface); }
.accordion-trigger { width: 100%; text-align: left; background: none; border: none; color: var(--text); padding: 20px 22px; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background 0.2s ease; }
.accordion-trigger:hover { background: rgba(255,255,255,0.03); }
.accordion-icon { transition: transform 0.3s ease; color: var(--pink-soft); flex-shrink: 0; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1); }
.accordion-item.open .accordion-panel { max-height: 400px; }
.accordion-panel-inner { padding: 0 22px 20px; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ============ owner card ============ */
.owner-card { max-width: 460px; margin: 0 auto; text-align: center; background: var(--surface); backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: 24px; padding: 40px 32px; }
.owner-avatar-wrap { position: relative; width: 128px; height: 128px; margin: 0 auto 18px; }
.owner-avatar { width: 100%; height: 100%; border-radius: 50%; border: 4px solid var(--pink); box-shadow: 0 0 30px rgba(255,95,162,0.5); object-fit: cover; background: linear-gradient(135deg, var(--purple), var(--pink)); }
.owner-status-dot { position: absolute; bottom: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--surface-solid); background: var(--muted); }
.owner-status-dot.online { background: var(--green); }
.owner-status-dot.idle { background: var(--yellow); }
.owner-status-dot.dnd { background: var(--red); }
.owner-display-name { font-family: 'Baloo 2', sans-serif; font-size: 22px; font-weight: 800; }
.owner-username { color: var(--muted); font-size: 14px; margin-top: 2px; }
.owner-role-badge { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--pink-soft); background: rgba(255,95,162,0.1); border: 1px solid rgba(255,95,162,0.3); padding: 5px 14px; border-radius: 999px; }
.owner-bio { color: var(--muted); font-size: 14px; margin-top: 18px; line-height: 1.6; }
.spotify-card { display: none; align-items: center; gap: 12px; background: rgba(30, 215, 96, 0.08); border: 1px solid rgba(30, 215, 96, 0.25); border-radius: 14px; padding: 12px 14px; margin-top: 20px; text-align: left; }
.spotify-card.active { display: flex; }
.spotify-art { width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0; object-fit: cover; }
.spotify-info { min-width: 0; }
.spotify-label { color: #1ed760; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; display: flex; align-items: center; gap: 5px; }
.spotify-song { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spotify-artist { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.owner-socials { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
.social-btn { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text); text-decoration: none; transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease; font-size: 18px; }
.social-btn:hover { transform: translateY(-3px); border-color: var(--pink); background: rgba(255,95,162,0.1); }

/* ============ terms content ============ */
.terms-content h2 { font-size: 20px; margin: 34px 0 12px; }
.terms-content h2:first-child { margin-top: 0; }
.terms-content p { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.terms-updated { color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.terms-content strong { color: var(--text); }

/* ============ footer ============ */
.footer { border-top: 1px solid var(--border); padding: 56px 28px 32px; position: relative; z-index: 1; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-desc { color: var(--muted); font-size: 14px; max-width: 280px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--pink-soft); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { max-width: 1080px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; text-align: center; }
.footer-updated { font-size: 11px; color: var(--muted); opacity: 0.7; text-align: center; margin-top: 6px; }

.spinner { width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--pink); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .section { padding: 64px 20px; }
  .stats { gap: 32px; }
}

/* ============ light theme (nav toggle) ============
   Most components already read from these variables, so swapping the
   palette here is enough — only the handful of hardcoded rgba() overlays
   below need an explicit light-mode override. */
html[data-theme="light"] {
  --bg: #f6f3fb; --bg-alt: #ffffff; --surface: rgba(255,255,255,0.78); --surface-solid: #ffffff;
  --border: #e5defa; --text: #1c1530; --muted: #6c6386;
}
html[data-theme="light"] .bg-glow { opacity: 0.14; }
html[data-theme="light"] .sparkle { opacity: 0.5; }
html[data-theme="light"] .nav { background: rgba(255,255,255,0.78); border-bottom-color: rgba(28,21,48,0.08); }
html[data-theme="light"] .tool-btn, html[data-theme="light"] .btn-outline { background: rgba(28,21,48,0.04); }
html[data-theme="light"] .discord-msg-text { color: #3c3552; }
html[data-theme="light"] .sticky-cta { background: rgba(255,255,255,0.92); }
html[data-theme="light"] .status-pill { background: rgba(255,255,255,0.9); }
@media (max-width: 820px) { html[data-theme="light"] .nav-links { background: rgba(255,255,255,0.98); } }

/* ============ nav tools (theme + language toggle) ============ */
.nav-tools { display: flex; align-items: center; gap: 8px; }
.tool-btn { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text); cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease; flex-shrink: 0; }
.tool-btn:hover { border-color: var(--pink); transform: translateY(-1px); }
.tool-btn svg { width: 17px; height: 17px; }
.lang-btn { width: auto; padding: 0 13px; font-size: 12px; font-weight: 800; letter-spacing: 0.3px; }
.theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ============ trust badges (hero) ============ */
.trust-badges { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.trust-badge { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: #8ff5b0; background: rgba(87,242,135,0.09); border: 1px solid rgba(87,242,135,0.25); padding: 7px 14px; border-radius: 999px; }
.trust-badge svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ============ discord-style mockups (hero + live demo) ============ */
.discord-window { background: var(--surface-solid); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; text-align: left; }
.discord-window-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 13px; font-weight: 700; }
.discord-window-dots { display: flex; gap: 6px; }
.discord-window-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.discord-window-body { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.discord-msg { display: flex; gap: 10px; }
.discord-avatar { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--purple), var(--pink)); display: flex; align-items: center; justify-content: center; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 13px; color: #fff; }
.discord-msg-body { min-width: 0; flex: 1; }
.discord-msg-head { display: flex; align-items: center; gap: 6px; font-size: 14px; flex-wrap: wrap; }
.discord-msg-author { font-weight: 700; }
.discord-app-badge { font-size: 10px; font-weight: 700; background: var(--blue); color: #fff; padding: 1px 5px; border-radius: 4px; letter-spacing: 0.3px; }
.discord-msg-time { color: var(--muted); font-size: 11px; }
.discord-msg-text { color: #dcd6ea; font-size: 14px; margin-top: 3px; line-height: 1.55; }
.discord-btn-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.discord-btn { font-size: 13px; font-weight: 700; padding: 6px 13px; border-radius: 6px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); color: var(--text); }
.discord-btn.success { border-color: rgba(87,242,135,0.4); color: #8ff5b0; background: rgba(87,242,135,0.08); }
.discord-btn.primary { border-color: rgba(88,101,242,0.5); color: #aab4ff; background: rgba(88,101,242,0.1); }
.hero-mock { max-width: 400px; width: 100%; margin: 34px auto 0; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 820px) { .demo-grid { grid-template-columns: 1fr; } }

/* Staged reveal for the #demo mockups only — messages start hidden and are
   timed in one by one via site.js once the section scrolls into view. */
.discord-msg.pending { opacity: 0; transform: translateY(6px); transition: opacity 0.35s ease, transform 0.35s ease; }
.discord-msg.pending.shown { opacity: 1; transform: translateY(0); }
.typing-indicator { display: none; align-items: center; gap: 4px; padding: 2px 0; }
.typing-indicator.active { display: flex; }
.typing-indicator span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typingBounce 1.1s ease-in-out infinite; }
.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ============ live status pill ============ */
.status-pill { position: fixed; left: 20px; bottom: 20px; z-index: 95; display: flex; align-items: center; gap: 8px; background: rgba(21,15,34,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--border); padding: 8px 14px 8px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px 2px rgba(87,242,135,0.6); animation: statusPulse 2s ease-in-out infinite; flex-shrink: 0; }
.status-dot.down { background: var(--red); box-shadow: 0 0 8px 2px rgba(237,66,69,0.6); }
@keyframes statusPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (max-width: 820px) { .status-pill { display: none; } }

/* ============ sticky mobile CTA ============ */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(11,7,19,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--border); display: none; transform: translateY(110%); transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
.sticky-cta .btn { width: 100%; justify-content: center; }
@media (max-width: 820px) { .sticky-cta { display: block; } .sticky-cta.visible { transform: translateY(0); } }

/* ============ final CTA banner ============ */
.cta-banner { position: relative; border-radius: 28px; padding: 64px 32px; text-align: center; background: linear-gradient(135deg, rgba(255,95,162,0.13), rgba(162,89,255,0.13)); border: 1px solid rgba(255,95,162,0.25); overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 25% 15%, rgba(255,95,162,0.25), transparent 60%); pointer-events: none; }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner .btn { margin-top: 6px; }

/* ============ back to top ============ */
.back-to-top { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text); margin: 22px auto 0; cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease; }
.back-to-top:hover { border-color: var(--pink); transform: translateY(-2px); }
.back-to-top svg { width: 16px; height: 16px; }

@media (max-width: 640px) {
  .cta-banner { padding: 46px 22px; border-radius: 22px; }
  body { padding-bottom: 78px; } /* room for the sticky CTA so the footer never sits under it */
}
