/* ============================================================
   PromoteMeme.fun — Dark Cyberpunk Theme
   ============================================================ */

:root {
  --bg-dark:      #070b14;
  --bg-card:      #0d1526;
  --bg-card2:     #111d35;
  --border:       #1e3a5f;
  --border-glow:  #0ff;
  --accent:       #00e5ff;
  --accent2:      #a259ff;
  --accent3:      #ff6b35;
  --green:        #00ff88;
  --yellow:       #ffd600;
  --red:          #ff4444;
  --text:         #e8f4fd;
  --text-muted:   #6b8bad;
  --text-dim:     #3a5a7a;
  --gradient:     linear-gradient(135deg, #00e5ff 0%, #a259ff 100%);
  --gradient-hot: linear-gradient(135deg, #ff6b35 0%, #ff0080 100%);
  --gradient-popular: linear-gradient(135deg, #529769 0%, #519e2d 100%);
  --shadow-glow:  0 0 20px rgba(0,229,255,0.15);
  --shadow-card:  0 4px 24px rgba(0,0,0,0.5);
  --radius:       14px;
  --radius-sm:    8px;
  --font:         'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 40px 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,11,20,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}
.nav-logo .logo-icon { font-size: 1.5rem; }
.nav-logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.wallet-address {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--accent);
  font-family: monospace;
}
.wallet-address .dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: var(--gradient);
  color: #000;
  box-shadow: 0 0 24px rgba(0,229,255,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(0,229,255,0.5); color: #000; }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: rgba(0,229,255,0.08); transform: translateY(-1px); color: var(--accent); }
.btn-ghost { background: var(--bg-card2); border: 1px solid var(--border); color: var(--text-muted); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger { background: linear-gradient(135deg, #ff4444, #cc0000); color: #fff; }
.btn-success { background: linear-gradient(135deg, #00ff88, #00cc66); color: #000; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 28px; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; border-radius: 16px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

#promoteNowBtn:before,
#connectWalletBtn:before,
#dashconnectWalletBtn:before {
  background: url(../img/wallet.png) no-repeat 0 0;
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
}

.logo-icon {
  background: url(../img/prmeme-logo.png) no-repeat 0 0 !important;
  height: 40px;
  width: 37px;
  display: inline-block;
}

.wallet-big {
  background: url(../img/wallet-big.png) no-repeat 0 0;
  content: '';
  display: inline-block;
  width: 64px;
  height: 60px;
}

.email-link:before {
  background: url(../img/mail.png) no-repeat 0 0;
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-top: -2px;
  margin-right: 5px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
  background: #0d1526;
}

.hero #particles-js {
  position: absolute;
  top:0;
  width: 100%;
  height: 100%;
}

.hero .container {
  position: relative;
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0,229,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(162,89,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge .pulse {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-sub strong { color: var(--accent); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

.hero-bg spline-viewer {
  position: absolute;
    top: 0;
    z-index: 0;
    opacity: 0.2;
}

.hero spline-viewer {
      position: absolute;
    top: 0;
    z-index: 0;
    opacity: 0.15;
}

/* ---- Stats ticker ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 auto;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 10px;
  text-align: center;
  transition: border-color .3s;
}
.stat-card:hover { border-color: var(--accent); }
.stat-icon { font-size: 1.8rem; margin-bottom: 8px; }
.stat-value {
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ============================================================
   INTEGRATION BADGES
   ============================================================ */
.integrations {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.integrations-label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: all .2s;
}
.badge-pill:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.badge-pill .icon { font-size: 1rem; }

/* ============================================================
   PACKAGES SECTION
   ============================================================ */
.packages-section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -1px;
}
.section-header p { color: var(--text-muted); margin-top: 10px; font-size: 1rem; }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}
.pkg-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  transition: all .3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pkg-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.pkg-card.selected { border-color: var(--accent); background: rgba(0,229,255,0.05); box-shadow: var(--shadow-glow); }
.pkg-card.featured { border-color: var(--accent2); }
.pkg-card.featured:hover { border-color: var(--accent2); box-shadow: 0 0 20px rgba(162,89,255,0.2); }
.pkg-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 12px;
  white-space: nowrap;
}
.pkg-badge.hot { background: var(--gradient-hot); color: #fff; }
.pkg-badge.vip { background: linear-gradient(135deg, #ffd600, #ff9800); color: #000; }
.pkg-badge.popular { background: var(--gradient-popular); color: #fff; }
.pkg-name { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.3px; }
.pkg-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pkg-price .amount { font-size: 2rem; font-weight: 900; color: var(--accent); letter-spacing: -1px; }
.pkg-price .unit { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }
.pkg-desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.5; }
.pkg-features { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pkg-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.pkg-feature .check { color: var(--green); font-size: 0.75rem; margin-top: 2px; flex-shrink: 0; }
.pkg-select-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ============================================================
   PROMOTE FORM
   ============================================================ */
.promote-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}
.promote-section h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.promote-section p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.form-input {
  width: 100%;
  background: var(--bg-dark);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 16px;
  font-size: 0.9rem;
  transition: border-color .2s;
  outline: none;
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,229,255,0.1); }
.form-input::placeholder { color: var(--text-dim); }
.form-input.error { border-color: var(--red); }
.form-error { font-size: 0.78rem; color: var(--red); margin-top: 6px; }
.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.discount-toggle {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.discount-toggle:hover { opacity: 0.85; }
.selected-package-display {
  background: var(--bg-dark);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.selected-package-display .pkg-sel-name { font-weight: 700; color: var(--accent); }
.selected-package-display .pkg-sel-price { font-weight: 800; color: var(--text); }
.promote-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.step.active { color: var(--accent); }
.step.done { color: var(--green); }
.step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800;
}
.step.active .step-num { background: var(--accent); border-color: var(--accent); color: #000; }
.step.done .step-num { background: var(--green); border-color: var(--green); color: #000; }
.step-arrow { color: var(--text-dim); margin: 0 8px; }

/* ============================================================
   STATUS / ALERTS
   ============================================================ */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  border: 1px solid;
  margin: 16px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-info { background: rgba(0,229,255,0.08); border-color: rgba(0,229,255,0.3); color: var(--accent); }
.alert-success { background: rgba(0,255,136,0.08); border-color: rgba(0,255,136,0.3); color: var(--green); }
.alert-error { background: rgba(255,68,68,0.08); border-color: rgba(255,68,68,0.3); color: var(--red); }
.alert-warn { background: rgba(255,214,0,0.08); border-color: rgba(255,214,0,0.3); color: var(--yellow); }

/* ============================================================
   SPINNER / LOADER
   ============================================================ */
.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(0,229,255,0.3);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7,11,20,0.85);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  font-size: 1rem;
  color: var(--accent);
}
.loading-overlay.show { display: flex; }
.loading-overlay .spinner { width: 40px; height: 40px; border-width: 3px; }

/* ============================================================
   MODAL (Wallet Connect)
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 420px;
  width: 100%;
  position: relative;
  animation: fadeInUp .3s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none; border: none;
  color: var(--text-muted); font-size: 1.3rem;
  cursor: pointer; padding: 4px;
}
.modal-close:hover { color: var(--text); }
.modal h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.modal p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 24px; }
.wallet-options { display: flex; flex-direction: column; gap: 12px; }
.wallet-option {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-dark);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  cursor: pointer;
  transition: all .2s;
}
.wallet-option:hover { border-color: var(--accent); background: rgba(0,229,255,0.04); transform: translateX(4px); }
.wallet-option img { width: 36px; height: 36px; border-radius: 8px; }
.wallet-option-info { flex: 1; }
.wallet-option-name { font-weight: 700; font-size: 0.95rem; }
.wallet-option-desc { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.wallet-option-arrow { color: var(--text-dim); font-size: 1.2rem; }

/* ============================================================
   SUCCESS SCREEN
   ============================================================ */
.success-screen {
  text-align: center;
  padding: 40px 20px;
  display: none;
}
.success-screen.show { display: block; }
.success-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: rocketLaunch 1s ease-out;
}
@keyframes rocketLaunch {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(-20px) scale(1.2); }
  100% { transform: translateY(0) scale(1); }
}
.success-screen h2 { font-size: 2rem; font-weight: 900; margin-bottom: 12px; }
.success-screen p { color: var(--text-muted); margin-bottom: 28px; }
.tx-link { font-family: monospace; font-size: 0.78rem; word-break: break-all; color: var(--accent); }

/* ============================================================
   DASHBOARD / ORDERS TABLE
   ============================================================ */
.orders-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.orders-table th {
  background: var(--bg-card2);
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.orders-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(30,58,95,0.5);
  vertical-align: middle;
}
.orders-table tr:last-child td { border-bottom: none; }
.orders-table tr:hover td { background: rgba(0,229,255,0.03); }
.token-ca { font-family: monospace; font-size: 0.8rem; color: var(--text-muted); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-badge.pending   { background: rgba(255,214,0,0.15);  color: var(--yellow); border: 1px solid rgba(255,214,0,0.3); }
.status-badge.paid      { background: rgba(0,229,255,0.12);  color: var(--accent); border: 1px solid rgba(0,229,255,0.3); }
.status-badge.active    { background: rgba(162,89,255,0.12); color: var(--accent2); border: 1px solid rgba(162,89,255,0.3); }
.status-badge.completed { background: rgba(0,255,136,0.12); color: var(--green); border: 1px solid rgba(0,255,136,0.3); }
.status-badge.cancelled { background: rgba(255,68,68,0.1);  color: var(--red); border: 1px solid rgba(255,68,68,0.3); }

.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 6px;
  width: 120px;
}
.progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 2px;
  transition: width .5s ease;
}

/* ============================================================
   ADMIN STYLES
   ============================================================ */
.admin-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 240px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-logo {
  padding: 0 20px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  font-weight: 800;
  font-size: 1rem;
}
.sidebar-logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; padding: 0 12px; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all .2s;
}
.sidebar-link:hover, .sidebar-link.active { background: rgba(0,229,255,0.08); color: var(--accent); }
.sidebar-link .icon { font-size: 1rem; width: 20px; text-align: center; }
.admin-main { flex: 1; padding: 32px; overflow-x: hidden; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.admin-header h1 { font-size: 1.5rem; font-weight: 800; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 32px; }
.mini-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.mini-stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.mini-stat-value { font-size: 1.6rem; font-weight: 900; color: var(--accent); letter-spacing: -1px; }

/* ---- Admin login ---- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,229,255,0.08), transparent 60%);
}
.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 380px;
}
.login-card h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 6px; }
.login-card p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 28px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  margin-top: 60px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.83rem; max-width: 280px; margin-top: 10px; line-height: 1.6; }
.footer-links h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 14px; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.disclaimer {
  background: rgba(255,214,0,0.06);
  border: 1px solid rgba(255,214,0,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 24px;
}
.disclaimer strong { color: var(--yellow); }

/* ============================================================
   LIVE COUNTER BANNER
   ============================================================ */
.live-banner {
  background: linear-gradient(90deg, rgba(0,229,255,0.07), rgba(162,89,255,0.07));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  overflow: hidden;
  position: relative;
}
/* Fade edges */
.live-banner::before,
.live-banner::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.live-banner::before { left: 0;  background: linear-gradient(90deg, var(--bg), transparent); }
.live-banner::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.live-banner strong { color: var(--accent); }
.live-dot { display: inline-block; width: 8px; height: 8px; background: var(--green); border-radius: 50%; margin-right: 8px; animation: pulse 1.5s ease-in-out infinite; }

/* Marquee */
.marquee-outer {
  overflow: hidden;
  width: 100%;
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  /* Starts paused; JS sets --mq-dist, clones if needed, then adds .running */
  animation: marquee-scroll 40s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}
.marquee-track.running           { animation-play-state: running; }
.marquee-track.running:hover     { animation-play-state: paused; }

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--mq-dist, -50%)); }
}

.mq-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  white-space: nowrap;
  cursor: default;
}
.mq-img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.mq-icon { font-size: 1rem; line-height: 1; }
.mq-sym  { font-weight: 800; color: var(--text); font-size: 0.85rem; }
.mq-change { font-weight: 700; font-size: 0.82rem; }
.mq-up   { color: var(--green); }
.mq-dn   { color: var(--red); }
.mq-sep  { color: var(--border); font-size: 0.7rem; margin-left: 4px; }

/* Token sparklines (featured cards) */
.token-sparkline-wrap {
  width: 100%;
  margin-top: -10px;

}
.token-sparkline-wrap svg {
  width: 100%;
  height: 48px;
  display: block;
}
.token-sparkline-placeholder {
  width: 100%;
  height: 48px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--bg-card2) 25%, var(--border) 50%, var(--bg-card2) 75%);
  background-size: 200% 100%;
  animation: sparkline-shimmer 1.4s ease-in-out infinite;
  opacity: 0.45;
}
@keyframes sparkline-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hero h1 { letter-spacing: -1px; }
  .promote-section { padding: 24px 20px; }
  .admin-layout { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: relative; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .featured-tokens-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .featured-tokens-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .step-arrow { display: none; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-yellow { color: var(--yellow); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.monospace { font-family: monospace; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
