/* ============================================================
   WAWA TRADING — design system
   Dark premium theme, violet→cyan gradient accents
   ============================================================ */

:root {
  --bg: #07070f;
  --bg-2: #0b0b18;
  --bg-3: #10101f;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eceef6;
  --text-dim: #9ba0b5;
  --text-faint: #6a6f85;
  --accent: #8b5cf6;
  --accent-2: #38e0ff;
  --accent-3: #c084fc;
  --green: #34d399;
  --red: #f87171;
  --grad: linear-gradient(100deg, var(--accent) 0%, var(--accent-3) 45%, var(--accent-2) 100%);
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.25);
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* the hidden attribute must ALWAYS win — author display rules (e.g.
   .btn { display:inline-flex }) silently override the browser's
   [hidden] default otherwise, leaking admin/logout buttons to guests */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; }

.container { width: min(1160px, 92%); margin: 0 auto; }
.container-narrow { width: min(820px, 92%); }

.section { padding: 96px 0; position: relative; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad);
  color: #0b0b14;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 56px rgba(139, 92, 246, 0.4); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: var(--surface-2); border-color: var(--accent); }
.btn-ghost { color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 7, 15, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 100%; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.25);
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.25); }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.04em;
  display: flex; flex-direction: column; line-height: 1;
}
.logo-sub { font-size: 9px; letter-spacing: 0.42em; color: var(--text-dim); font-weight: 500; }

.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--text-dim); font-size: 15px; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 76px) 0 96px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 560px; height: 560px;
  background: rgba(52, 211, 153, 0.12);
  top: -120px; right: -140px;
}
/* split layout — text left, glowing mark right (reference style) */
.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 40px;
}
.hero-left { text-align: left; }
.hero-right { display: grid; place-items: center; }
.hero-mark {
  width: min(460px, 100%);
  filter: drop-shadow(0 0 70px rgba(52, 211, 153, 0.35));
  animation: heroFloat 7s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-socials {
  display: flex; gap: 12px;
  margin-top: 32px;
}
.hero-socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-dim);
  transition: transform 0.15s, color 0.15s, border-color 0.15s;
}
.hero-socials a:hover { transform: translateY(-2px) scale(1.06); color: var(--accent-2); border-color: var(--accent); }
.hero-socials svg { width: 18px; height: 18px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-title {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.hero-not {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lines { margin-top: 26px; display: grid; gap: 6px; }
.hero-lines p {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* reference-style buttons */
.btn-green {
  background: var(--green);
  color: #06251a;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 0 34px rgba(52, 211, 153, 0.35);
}
.btn-green:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 0 48px rgba(52, 211, 153, 0.5); }
.btn-dark {
  background: #1c2030;
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 10px;
}
.btn-dark:hover { background: #242940; border-color: var(--green); }
.hero-discord-btn svg { width: 19px; height: 19px; }

/* ---------- stats ---------- */
.stats { padding: 72px 0 8px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat { text-align: center; padding: 8px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { color: var(--text-dim); font-size: 14px; margin-top: 4px; }

/* ---------- sections ---------- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 14px;
}
.section-title { font-size: clamp(30px, 4.5vw, 46px); }
.section-sub { color: var(--text-dim); margin-top: 16px; font-size: 16.5px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }

/* ---------- accounts / plans ---------- */
.accounts { background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(139, 92, 246, 0.08), transparent); }
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.plan:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, 0.5); }
.plan.popular {
  border-color: rgba(139, 92, 246, 0.65);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.12), rgba(255,255,255,0.03));
  box-shadow: var(--shadow-glow);
}
.plan-flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #0b0b14;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-size { font-family: var(--font-display); font-size: 30px; font-weight: 700; }
.plan-type { color: var(--text-faint); font-size: 13px; margin-top: 2px; }
.plan-price { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 10px; }
.plan-free {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plan-free-sub { color: var(--text-faint); font-size: 13px; }
.plan-entries {
  font-size: 13px;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 20px;
}
.plan-rules { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.plan-rules li {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 14px;
  color: var(--text-dim);
  border-bottom: 1px dashed rgba(255,255,255,0.07);
  padding-bottom: 10px;
}
.plan-rules li strong { color: var(--text); font-weight: 600; text-align: right; }
.plan .btn { margin-top: auto; }

.accounts-note {
  text-align: center;
  color: var(--text-faint);
  font-size: 13.5px;
  margin-top: 36px;
}
.accounts-note a { color: var(--accent-3); }

/* ---------- how ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 34px 28px; }
.step-num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-3);
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.step h3 { font-size: 21px; margin-bottom: 12px; }
.step p { color: var(--text-dim); font-size: 15px; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 30px 28px; }
.feature-icon { font-size: 28px; margin-bottom: 16px; }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
}
.faq-q .chev { transition: transform 0.25s; color: var(--accent-3); flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-dim);
  font-size: 15px;
}
.faq-a-inner { padding: 0 24px 22px; }

/* ---------- cta ---------- */
.cta-card {
  text-align: center;
  padding: 72px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(139, 92, 246, 0.4);
  background:
    radial-gradient(ellipse 70% 90% at 50% -20%, rgba(139, 92, 246, 0.25), transparent),
    var(--bg-2);
}
.cta-card h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.cta-card p { color: var(--text-dim); margin-bottom: 32px; }
.cta-fine { font-size: 12px; color: var(--text-faint); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand p { color: var(--text-dim); font-size: 14px; margin: 18px 0; max-width: 300px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text-dim);
  transition: all 0.15s;
}
.footer-socials a:hover { color: var(--text); border-color: var(--accent); background: var(--surface-2); }
.footer-socials svg { width: 17px; height: 17px; }
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.footer-col a { display: block; color: var(--text-dim); font-size: 14.5px; margin-bottom: 12px; transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  color: var(--text-faint);
  font-size: 12.5px;
}
.footer-disclaimer { margin-bottom: 14px; line-height: 1.7; }

/* ---------- modal ---------- */
.modal-backdrop[hidden],
.chat-panel[hidden],
.checkout-step[hidden] { display: none; }

.modal-backdrop {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(4, 4, 10, 0.78);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
}
.modal {
  position: relative;
  width: min(480px, 100%);
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 34px 30px 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), var(--shadow-glow);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(0.97); } }
.modal-close {
  position: absolute; top: 14px; right: 18px;
  font-size: 26px;
  color: var(--text-faint);
  line-height: 1;
}
.modal-close:hover { color: var(--text); }
.modal-head h3 { font-size: 23px; }
.modal-sub { color: var(--text-dim); font-size: 14px; margin-top: 6px; }
.verify-intro { color: var(--text-dim); font-size: 14px; margin: 18px 0; }

.verify-tasks { display: grid; gap: 10px; margin-bottom: 20px; }
.verify-task {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 0.15s, background 0.15s;
}
.verify-task:hover { border-color: var(--accent); background: var(--surface-2); }
.verify-task.done { border-color: rgba(52, 211, 153, 0.5); background: rgba(52, 211, 153, 0.07); }
.vt-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  flex-shrink: 0;
}
.vt-icon svg { width: 18px; height: 18px; }
.vt-body { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.vt-body strong { font-size: 14.5px; }
.vt-body small { color: var(--text-faint); font-size: 12px; }
.vt-state { color: var(--text-faint); font-weight: 700; }
.verify-task.done .vt-state { color: var(--green); }

.verify-handle { margin-bottom: 20px; }
.verify-handle label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.verify-handle label small { color: var(--text-faint); font-weight: 400; }
.verify-handle input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
.verify-handle input:focus { border-color: var(--accent); }
.checkout-fine { color: var(--text-faint); font-size: 11.5px; text-align: center; margin-top: 14px; }

.processing { text-align: center; padding: 44px 0; }
.spinner {
  width: 44px; height: 44px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 3px solid var(--border-strong);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.processing p { color: var(--text-dim); font-size: 14.5px; min-height: 22px; }

.success { text-align: center; padding: 16px 0 4px; }
.success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.5);
  color: var(--green);
  font-size: 30px;
  font-weight: 700;
}
.success h3 { font-size: 24px; margin-bottom: 10px; }
.success p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 26px; }

/* ---------- chat ---------- */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.chat-fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--grad);
  color: #0b0b14;
  display: grid; place-items: center;
  box-shadow: var(--shadow-glow);
  transition: transform 0.15s;
}
.chat-fab svg { width: 24px; height: 24px; }
.chat-fab:hover { transform: scale(1.07); }
.chat-panel {
  width: min(380px, calc(100vw - 44px));
  height: 540px;
  display: flex;
  flex-direction: column;
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  animation: modalIn 0.2s ease;
}
.chat-view { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.chat-view[hidden] { display: none; }

/* --- home view --- */
.chat-home-head {
  padding: 20px 20px 26px;
  background:
    radial-gradient(ellipse 90% 120% at 20% -30%, rgba(139, 92, 246, 0.22), transparent),
    var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.chat-home-topbar { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 26px; }
.chat-home-logo {
  width: 44px; height: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
}
.chat-home-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.chat-close {
  font-size: 24px;
  line-height: 1;
  color: var(--text-dim);
  padding: 2px 6px;
}
.chat-close:hover { color: var(--text); }
.chat-home-title {
  font-size: 27px;
  line-height: 1.25;
  display: flex; flex-direction: column;
}
.chat-hi { color: var(--text-dim); font-weight: 500; }
.chat-home-cards { display: grid; gap: 12px; padding: 18px; overflow-y: auto; }
.chat-card {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  text-align: left;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
  cursor: pointer;
}
.chat-card:hover { border-color: var(--accent); background: var(--surface-2); transform: translateY(-1px); }
.chat-card-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 18px;
  flex-shrink: 0;
  color: var(--text);
}
.chat-card-icon svg { width: 19px; height: 19px; }
.chat-card-body { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.chat-card-body strong { font-family: var(--font-display); font-size: 14.5px; }
.chat-card-body small { color: var(--text-faint); font-size: 12px; }
.chat-card-arrow { color: var(--text-faint); font-weight: 700; flex-shrink: 0; }

/* --- chat view --- */
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.chat-back {
  font-size: 19px;
  color: var(--text-dim);
  padding: 4px 8px 4px 2px;
}
.chat-back:hover { color: var(--text); }
.chat-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.chat-head strong { font-family: var(--font-display); font-size: 14.5px; display: block; }
.chat-head small { color: var(--text-faint); font-size: 11.5px; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  animation: modalIn 0.18s ease;
}
.msg.bot { background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: rgba(139, 92, 246, 0.25); border: 1px solid rgba(139, 92, 246, 0.4); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.typing { color: var(--text-faint); font-style: italic; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 2px 0 4px; }
.chat-chip {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-2);
  border: 1px solid rgba(56, 224, 255, 0.35);
  background: rgba(56, 224, 255, 0.07);
  border-radius: 999px;
  padding: 6px 13px;
  transition: background 0.15s, border-color 0.15s;
}
.chat-chip:hover { background: rgba(56, 224, 255, 0.15); border-color: var(--accent-2); }
.chat-input {
  display: flex; gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
}
.chat-input input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 13px;
  color: var(--text);
  font-size: 13.5px;
  outline: none;
}
.chat-input input:focus { border-color: var(--accent); }

/* ---------- account type tabs ---------- */
.acct-tabs {
  display: flex;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 36px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-2);
  overflow-x: auto;
}
.acct-tab {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 11px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all 0.18s;
}
.acct-tab:hover { color: var(--text); background: var(--surface); }
.acct-tab.active {
  color: #0b0b14;
  background: var(--grad);
  box-shadow: 0 0 26px rgba(139, 92, 246, 0.45);
}

.plans-claimed-note {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  padding: 14px 18px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}

/* ---------- community section / discord panel ---------- */
.community { padding-top: 20px; }
.community-title {
  text-align: center;
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 32px;
}
.discord-panel {
  max-width: 460px;
  margin: 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-3);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.discord-panel-top {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.discord-panel-logo {
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}
.discord-panel-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.discord-panel-info { display: flex; flex-direction: column; gap: 3px; }
.discord-panel-info strong { font-family: var(--font-display); font-size: 19px; }
.discord-panel-counts {
  display: flex; align-items: center; gap: 7px;
  color: var(--text-dim); font-size: 13.5px;
}
.dp-online-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  flex-shrink: 0;
}
.discord-panel .btn-discord { margin: 18px; width: calc(100% - 36px); }
.btn-discord {
  background: var(--grad);
  color: #0b0b14;
  box-shadow: var(--shadow-glow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 24px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 0 34px rgba(52, 211, 153, 0.35);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.btn-discord:hover { transform: translateY(-2px); box-shadow: 0 0 56px rgba(139, 92, 246, 0.4); }
.btn-discord svg { width: 20px; height: 20px; }

/* ---------- success step buttons ---------- */
.success .btn + .btn { margin-top: 10px; }

/* ---------- community boost card ---------- */
.plan-flag.boost { background: linear-gradient(100deg, var(--accent-2), var(--green)); }
.plan-boost {
  border-color: rgba(56, 224, 255, 0.4);
  background: linear-gradient(180deg, rgba(56, 224, 255, 0.08), rgba(255,255,255,0.02));
}
.plan-boost:hover { border-color: rgba(56, 224, 255, 0.6); }
.plan-boost .plan-size { line-height: 1.05; font-size: 26px; }

/* wide single boost card (Community Boost tab) */
.plans-boost { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
.plan-boost-wide { padding: 34px 32px 28px; }
.boost-card-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  margin-bottom: 6px;
}
.plan-boost-wide .plan-size { font-size: 30px; }
.boost-total { text-align: right; }
.boost-total-num { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; display: block; }
.boost-total-label { color: var(--text-faint); font-size: 12px; }
.boost-card-sub { color: var(--text-dim); font-size: 14.5px; margin: 10px 0 20px; }
.boost-card-sub strong { color: var(--accent-2); }

/* ---------- boost modal ---------- */
.boost-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(56, 224, 255, 0.1);
  border: 1px solid rgba(56, 224, 255, 0.35);
  padding: 4px 12px; border-radius: 999px;
  margin-bottom: 12px;
}
.boost-list { display: grid; gap: 10px; margin: 20px 0; }
.boost-item {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 0.15s, background 0.15s;
}
.boost-item:hover { border-color: var(--accent-2); background: var(--surface-2); }
.boost-item.done { border-color: rgba(52, 211, 153, 0.5); background: rgba(52, 211, 153, 0.07); }
.boost-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px; background: var(--surface-2);
  color: var(--text);
}
.boost-icon svg { width: 17px; height: 17px; }
.boost-body { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.boost-body strong { font-size: 14px; }
.boost-body small { color: var(--text-faint); font-size: 12px; }
.boost-item.done .boost-body small { color: var(--green); }
.boost-state { color: var(--text-faint); font-size: 13px; font-weight: 600; flex-shrink: 0; }
.boost-item.done .boost-state { color: var(--green); }
.boost-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 6px; font-size: 14px; color: var(--text-dim);
}

/* ---------- footer admin link ---------- */
.footer-legal-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.admin-link {
  color: var(--text-faint); font-size: 12px;
  border: 1px solid var(--border); border-radius: 8px;
  padding: 5px 12px; transition: all 0.15s;
}
.admin-link:hover { color: var(--text-dim); border-color: var(--border-strong); }

/* ---------- admin bar ---------- */
#wawaAdminBar {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 400;
  display: flex; align-items: center; gap: 18px;
  padding: 10px 14px;
  background: rgba(16, 16, 31, 0.92);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  max-width: calc(100vw - 24px);
  flex-wrap: wrap; justify-content: center;
}
.wab-left { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.wab-left strong { font-family: var(--font-display); }
.wab-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.wab-user { color: var(--text-dim); font-size: 12.5px; }
.wab-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.wab-btn {
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600;
  padding: 7px 13px; border-radius: 9px;
  border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text); transition: all 0.15s;
}
.wab-btn:hover:not(:disabled) { border-color: var(--accent); background: var(--surface-2); }
.wab-btn.on { background: var(--grad); color: #0b0b14; border-color: transparent; }
.wab-btn.ghost { color: var(--text-dim); border-color: transparent; }
.wab-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* edit mode — highlight editable regions */
body.wawa-edit [data-edit] {
  outline: 1px dashed rgba(56, 224, 255, 0.5);
  outline-offset: 3px;
  border-radius: 3px;
  cursor: text;
  transition: outline-color 0.15s, background 0.15s;
}
body.wawa-edit [data-edit]:hover { outline-color: var(--accent-2); background: rgba(56, 224, 255, 0.06); }
body.wawa-edit [data-edit]:focus { outline: 2px solid var(--accent-2); background: rgba(56, 224, 255, 0.08); }
body.has-admin-bar { padding-bottom: 64px; }

/* ---------- toast ---------- */
#wawaToast {
  position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px);
  z-index: 500;
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 13.5px; color: var(--text);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  max-width: min(420px, calc(100vw - 32px));
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
#wawaToast.show { opacity: 1; transform: translate(-50%, 0); }
#wawaToast.warn {
  border-color: rgba(251, 191, 36, 0.65);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.14), var(--bg-3));
  color: #fde68a;
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px 22px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 30px rgba(251, 191, 36, 0.15);
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(7, 7, 15, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 8px 0 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 5%; }
  .nav-burger { display: flex; }
  .nav-actions .btn-ghost { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .hero-split { grid-template-columns: 1fr; gap: 12px; }
  .hero-right { order: -1; }
  .hero-mark { width: min(200px, 55%); }
  .hero-socials { justify-content: flex-start; }
  .chat-panel { height: min(480px, calc(100vh - 120px)); }
}

/* ---------- loading splash (injected by js/wawa.js) ---------- */
#wawaSplash {
  position: fixed; inset: 0;
  z-index: 1000;
  display: grid; place-items: center;
  background: #050509;
  opacity: 1;
  transition: opacity 0.5s ease;
}
#wawaSplash.out { opacity: 0; pointer-events: none; }
.ws-inner { display: grid; justify-items: center; gap: 4px; }
.ws-mark {
  width: 96px; height: 96px;
  object-fit: contain;
  animation: ws-spin 1.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  filter: drop-shadow(0 0 28px rgba(52, 211, 153, 0.35));
  margin-bottom: 14px;
}
@keyframes ws-spin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
.ws-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.14em;
  color: var(--text);
}
.ws-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.52em;
  margin-left: 0.52em; /* optically center the tracked-out text */
  color: var(--text-dim);
}

/* ---------- connect modal (log in / verify with code) ---------- */
.wc-options { display: grid; gap: 10px; margin: 18px 0 6px; }
.wc-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 18px;
  margin: 16px 0;
  border-radius: 14px;
  border: 1px dashed rgba(139, 92, 246, 0.55);
  background: rgba(139, 92, 246, 0.08);
  user-select: all;
}
.wc-steps {
  margin: 0 0 18px 20px;
  display: grid; gap: 8px;
  color: var(--text-dim);
  font-size: 14px;
}
.wc-steps a { color: var(--accent-2); }
.wc-status {
  text-align: center;
  color: var(--text-faint);
  font-size: 12.5px;
  margin-top: 12px;
  min-height: 18px;
}
.wc-back {
  display: block;
  margin: 16px auto 0;
  color: var(--text-faint);
  font-size: 13px;
}
.wc-back:hover { color: var(--text); }

/* ---------- accounts giveaway line ---------- */
.giveaway-banner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 26px;
  padding: 10px 22px;
  border: 1px solid rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.07);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--green);
  text-align: center;
}
@media (max-width: 720px) {
  .giveaway-banner { font-size: 12px; padding: 9px 16px; }
}

.giveaway-prize {
  text-align: center;
  margin-top: 36px;
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.giveaway-prize + .accounts-note { margin-top: 10px; }

/* The connect modal must sit above the dashboard's Discord gate (300)
   and the admin bar (400), but below toasts (500). */
#wawaConnectModal { z-index: 450; }
.wc-channel { color: var(--accent-2); font-weight: 600; }
.wc-channel:hover { text-decoration: underline; }
