:root {
  --bg: #07111d;
  --bg-soft: #0d1828;
  --panel: rgba(10, 19, 34, 0.88);
  --panel-2: rgba(16, 28, 47, 0.94);
  --line: rgba(148, 163, 184, 0.14);
  --text: #e5edf8;
  --muted: #8da1bb;
  --primary: #51d0ff;
  --primary-2: #7ef29a;
  --gold: #f0c76a;
  --danger: #ff5b72;
  --success: #47d67b;
  --warning: #ffbe55;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(81, 208, 255, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(126, 242, 154, 0.08), transparent 25%),
    linear-gradient(180deg, #040b15 0%, #07111d 45%, #081321 100%);
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.page-space { padding-top: 28px; padding-bottom: 64px; }
.nav-wrap {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(4, 11, 21, 0.75);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand strong { display: block; font-size: 1rem; }
.brand small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(135deg, rgba(81, 208, 255, 0.2), rgba(126, 242, 154, 0.2));
  border: 1px solid rgba(81, 208, 255, 0.3);
  color: white;
}
.nav-links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nav-links a:not(.button) { color: var(--muted); padding: 8px 10px; border-radius: 10px; }
.nav-links a:not(.button):hover { color: var(--text); background: rgba(255,255,255,0.03); }
.card, .hero-panel, .hero-card, .hero-card-large, .store-card {
  background: linear-gradient(180deg, rgba(15,25,42,0.96), rgba(9,18,33,0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { padding: 24px; }
.panel-glow { position: relative; overflow: hidden; }
.panel-glow::after {
  content: ""; position: absolute; inset: -20% auto auto -5%; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(81, 208, 255, 0.22), transparent 70%);
  pointer-events: none;
}
.hero-grid, .dashboard-grid, .grid, .split-section { display: grid; gap: 20px; }
.hero-grid { grid-template-columns: 1.4fr 0.86fr; align-items: stretch; }
.dashboard-grid { grid-template-columns: minmax(0, 1.5fr) 330px; }
.split-section, .two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four-up { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.main-stack, .sidebar-stack { display: grid; gap: 20px; }
.hero-panel { padding: 36px; }
.hero-panel h1, .hero-card-large h1 { font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.02; margin: 10px 0 14px; letter-spacing: -0.04em; }
.hero-card h2, .hero-card-large h2, .section-head h2, h1 { margin: 6px 0 10px; letter-spacing: -0.03em; }
.hero-card { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.hero-card-large { padding: 28px; }
.eyebrow { color: var(--primary); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; font-weight: 700; }
.lede, .muted, p { color: var(--muted); line-height: 1.6; }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.button {
  border: none; cursor: pointer; border-radius: 14px; padding: 14px 18px; font-weight: 800; font-size: 0.95rem;
  background: linear-gradient(135deg, var(--primary), #79e7ff); color: #032031; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px rgba(81, 208, 255, 0.22);
}
.button:hover { transform: translateY(-1px); }
.button.ghost { background: rgba(255,255,255,0.02); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.button.danger { background: linear-gradient(135deg, #ff6e84, #ff5b72); color: white; }
.button.small { padding: 10px 14px; border-radius: 12px; }
.button.full { width: 100%; }
.text-link { color: var(--primary); font-weight: 700; }
.stat-strip, .mini-metrics { display: grid; gap: 14px; margin-top: 24px; }
.stat-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini-metrics.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mini-metrics.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini-metrics.four-up { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-strip div, .mini-metrics > div, .stat-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.04); border-radius: 18px; padding: 16px;
}
.stat-strip span, .mini-metrics strong, .stat-card strong, .price, .reward-block strong { display: block; font-size: 1.7rem; font-weight: 800; color: white; }
.stat-strip small, .mini-metrics small, .reward-block small, .stat-card small { color: var(--muted); display: block; margin-bottom: 6px; }
.reward-block {
  margin: 18px 0; padding: 20px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(240, 199, 106, 0.12), rgba(81,208,255,0.08));
  border: 1px solid rgba(240, 199, 106, 0.15);
}
.chip, .badge, .tag {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 7px 11px; font-size: 0.78rem; font-weight: 700;
}
.chip.live, .tag { color: #032031; background: linear-gradient(135deg, var(--primary-2), #d8ffd9); }
.badge.pending { background: rgba(255, 190, 85, 0.14); color: #ffd486; border: 1px solid rgba(255, 190, 85, 0.18); }
.badge.paid, .badge.qualified, .badge.completed, .badge.live { background: rgba(71, 214, 123, 0.12); color: #8ef7ae; border: 1px solid rgba(71, 214, 123, 0.18); }
.badge.cancelled, .badge.danger, .badge.closed { background: rgba(255, 91, 114, 0.12); color: #ff95a5; border: 1px solid rgba(255, 91, 114, 0.18); }
.badge.draft { background: rgba(81, 208, 255, 0.11); color: #8fe8ff; border: 1px solid rgba(81, 208, 255, 0.16); }
.badge.paid { color: #8ef7ae; }
.section-gap { margin-top: 22px; }
.section-head, .section-head.compact, .row-between, .hero-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.icon-badge {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  color: white; font-weight: 800; background: rgba(81, 208, 255, 0.12); border: 1px solid rgba(81, 208, 255, 0.2);
}
.timeline { display: grid; gap: 16px; margin-top: 18px; }
.timeline > div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.timeline > div > span {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: rgba(81, 208, 255, 0.12); border: 1px solid rgba(81, 208, 255, 0.18);
}
.reward-list, .activity-list, .leaderboard-list { display: grid; gap: 12px; }
.reward-row, .activity-row, .leader-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.03);
}
.reward-row small, .activity-row small { display: block; color: var(--muted); margin-top: 3px; }
.leader-row.active { border-color: rgba(126,242,154,0.3); background: rgba(126,242,154,0.08); }
.progress-card {
  margin-top: 20px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
}
.progress-bar { margin: 12px 0 10px; width: 100%; height: 12px; background: rgba(255,255,255,0.05); border-radius: 999px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--primary-2)); }
.store-card { padding: 22px; display: grid; gap: 12px; }
.store-card .price { font-size: 1.9rem; }
.clean-list { margin: 0; padding-left: 18px; color: var(--muted); }
.sidebar-card h3 { margin: 8px 0; }
.flash-stack { display: grid; gap: 10px; margin-bottom: 18px; }
.flash {
  padding: 14px 16px; border-radius: 16px; border: 1px solid transparent; background: rgba(255,255,255,0.03);
}
.flash.success { color: #9df7b9; border-color: rgba(71,214,123,0.2); background: rgba(71,214,123,0.08); }
.flash.info { color: #a7efff; border-color: rgba(81,208,255,0.2); background: rgba(81,208,255,0.08); }
.flash.warning { color: #ffd78e; border-color: rgba(255,190,85,0.2); background: rgba(255,190,85,0.08); }
.flash.danger { color: #ff9ead; border-color: rgba(255,91,114,0.2); background: rgba(255,91,114,0.08); }
.auth-wrap { display: grid; place-items: center; min-height: calc(100vh - 180px); }
.form-card { width: 100%; max-width: 620px; }
.auth-card { padding: 34px; }
.wide-form { max-width: 840px; }
.form-grid { display: grid; gap: 16px; margin-top: 20px; }
.two-col-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
label { display: block; color: var(--muted); font-size: 0.92rem; }
input, textarea, select {
  width: 100%; margin-top: 8px; padding: 14px 15px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(2, 10, 19, 0.9); color: var(--text); outline: none;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: rgba(81,208,255,0.4); box-shadow: 0 0 0 4px rgba(81,208,255,0.08); }
.fine-print { color: var(--muted); margin-top: 18px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-size: 0.86rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.top-gap { margin-top: 20px; }
.slim { min-width: 120px; }
.site-shell { min-height: 100vh; }
@media (max-width: 1080px) {
  .dashboard-grid, .hero-grid, .split-section, .two-up, .three-up, .four-up, .product-grid, .stat-strip, .mini-metrics.four-up, .two-col-form { grid-template-columns: 1fr; }
  .sidebar-stack { order: -1; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .nav { min-height: 76px; align-items: flex-start; padding: 12px 0; }
  .nav-links { justify-content: flex-start; }
  .hero-panel, .hero-card, .hero-card-large, .card, .auth-card { padding: 20px; }
  .hero-panel h1, .hero-card-large h1 { font-size: 2.2rem; }
}


.note-box {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}
.badge.submitted {
  background: rgba(81, 208, 255, 0.11);
  color: #8fe8ff;
  border: 1px solid rgba(81, 208, 255, 0.16);
}
.compact-actions { margin-top: 0; }
