:root {
  --primary: #dc2626;
  --primary-fg: #ffffff;
  --fg: #1a1a1a;
  --bg: #ffffff;
  --muted: #f5f5f5;
  --muted-fg: #6b7280;
  --accent: #fdeeee;
  --accent-fg: #b91c1c;
  --secondary: #f1f1f2;
  --border: #e6e6e8;
  --success: #16a34a;
  --radius: 14px;
}

* { box-sizing: border-box; border-color: var(--border); }

body {
  margin: 0;
  background: #f1f1f3;
  color: var(--fg);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; }
svg { flex: none; }
i, .ico { font-style: normal; display: inline-flex; vertical-align: middle; }
.i-xs { font-size: 0.75rem; }
.i-sm { font-size: 1rem; }
.i-md { font-size: 1.25rem; }
.i-lg { font-size: 1.5rem; }
.i-xl { font-size: 2.25rem; }
.i-2xl { font-size: 4rem; }

/* ---------- phone frame ---------- */
.phone {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 28rem;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
}
main { flex: 1; padding: 1.25rem 1rem 6rem; }
main.nonav { padding-bottom: 1.5rem; }
main.plain { padding: 0; }
@media (min-width: 640px) {
  body { padding: 1.5rem 0; }
  .phone { min-height: 860px; border-radius: 2.5rem; overflow: hidden; box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
}

/* ---------- header / brand ---------- */
.header { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 0.5rem; }
.logo {
  width: 3.5rem; height: 3.5rem; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #f97316);
  color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.15rem;
}
img.logo { object-fit: contain; background: #fff; padding: 2px; border: 1px solid var(--border); }
.brand-name { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; color: var(--primary); line-height: 1; }
.brand-sub { margin: 0; font-size: 0.625rem; letter-spacing: 0.3em; color: var(--muted-fg); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.icon-btn { position: relative; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; }
.badge-count {
  position: absolute; top: -0.25rem; right: -0.25rem; min-width: 1rem; height: 1rem;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--primary); color: var(--primary-fg); font-size: 0.625rem; padding: 0 0.15rem;
}
.avatar { width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--secondary); display: grid; place-items: center; font-weight: 600; }

.spacer { height: 1.25rem; }

/* ---------- mode switch ---------- */
.switch { display: flex; width: fit-content; margin: 0 auto; background: var(--muted); border-radius: 999px; padding: 0.25rem; }
.switch a { border-radius: 999px; padding: 0.375rem 1rem; font-size: 0.75rem; font-weight: 600; color: var(--muted-fg); }
.switch a.active { background: var(--primary); color: var(--primary-fg); box-shadow: 0 1px 2px rgb(0 0 0 / 0.15); }

/* ---------- search ---------- */
.search-row { display: flex; gap: 0.5rem; }
.search {
  flex: 1; display: flex; align-items: center; gap: 0.5rem;
  background: var(--muted); border: 1px solid var(--border); border-radius: 12px;
  padding: 0.625rem 0.75rem; font-size: 0.875rem; color: var(--muted-fg);
}
.search input { border: 0; background: none; outline: none; width: 100%; font: inherit; color: var(--fg); }
.scan-shortcut { display: grid; place-items: center; width: 2.75rem; border: 1px solid var(--border); border-radius: 12px; color: var(--primary); }

/* ---------- cards / banners ---------- */
.card { border: 1px solid var(--border); border-radius: 16px; padding: 0.75rem; }
.banner {
  position: relative; display: block; overflow: hidden; border-radius: 16px; padding: 1.25rem;
  background: linear-gradient(135deg, var(--primary), rgb(220 38 38 / 0.75));
  color: var(--primary-fg); box-shadow: 0 10px 15px -3px rgb(220 38 38 / 0.3);
}
.banner img { position: absolute; right: 0; bottom: -0.75rem; height: 10rem; width: 10rem; object-fit: contain; }
.banner .copy { position: relative; max-width: 60%; }
.banner p { margin: 0; }
.banner .small { font-size: 1.125rem; }
.banner .big { font-size: 1.5rem; font-weight: 700; line-height: 1.15; }
.banner .micro { margin-top: 0.75rem; font-size: 0.875rem; opacity: 0.9; }
.banner .go { position: absolute; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 999px; background: var(--bg); color: var(--primary); }
.banner.flat img { position: static; height: 6rem; width: 7rem; margin: -0.75rem 0; }
.banner.flat { display: flex; align-items: center; gap: 0.75rem; }
.banner.flat .copy { max-width: none; flex: 1; }
.banner.flat h3 { margin: 0; font-size: 1.125rem; font-weight: 700; line-height: 1.2; }
.banner.flat .micro { margin: 0; }
.banner.flat .go { position: static; margin-left: auto; flex: none; }

.section-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5rem; }
.section-title h2 { margin: 0; font-size: 1rem; font-weight: 600; }
.section-title span { font-size: 0.875rem; font-weight: 500; color: var(--primary); }

.store-card { display: flex; align-items: center; gap: 0.75rem; border: 1px solid var(--border); border-radius: 16px; padding: 0.75rem; }
.store-card.soft { background: var(--accent); border-color: transparent; }
.store-emoji { display: grid; place-items: center; width: 4rem; height: 3rem; border-radius: 10px; background: var(--muted); font-size: 1.5rem; flex: none; }
.store-card.soft .store-emoji { background: rgb(220 38 38 / 0.12); }
.store-name { margin: 0; font-size: 0.875rem; font-weight: 600; }
.store-meta { margin: 0; font-size: 0.75rem; color: var(--muted-fg); }
.pill-open { display: inline-block; border-radius: 4px; background: rgb(22 163 74 / 0.15); color: var(--success); font-size: 0.625rem; font-weight: 500; padding: 0 0.375rem; }
.chev { color: var(--muted-fg); margin-left: auto; }

/* ---------- tiles ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem;
  border-radius: 16px; background: var(--accent); padding: 1rem; text-align: center;
}
.tile .ico { color: var(--primary); }
.tile strong { font-size: 1rem; font-weight: 600; }
.tile span { font-size: 0.75rem; color: var(--muted-fg); }
.tile.primary { background: var(--primary); color: var(--primary-fg); box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.15); }
.tile.primary .ico, .tile.primary span { color: var(--primary-fg); }
.tile.sm { padding: 1rem 0.5rem; font-size: 0.75rem; font-weight: 500; }
.tile.sm .ico { color: var(--primary); }
.tile.sm.primary .ico { color: var(--primary-fg); }

/* ---------- buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%;
  border-radius: 12px; background: var(--primary); color: var(--primary-fg);
  padding: 1rem; font-size: 1.125rem; font-weight: 600;
}
.btn.small { padding: 0.75rem 1.25rem; font-size: 1rem; width: auto; }
.btn.soft { background: var(--accent); color: var(--primary); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.btn.ghost { background: none; border: 1px solid var(--border); color: var(--fg); }

/* ---------- topbar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 1rem; }
.topbar h1 { margin: 0; font-size: 1.125rem; font-weight: 600; }
.topbar .side { width: 2rem; display: flex; justify-content: flex-end; }
.back { display: grid; place-items: center; border-radius: 999px; padding: 0.25rem; }

/* ---------- cart list ---------- */
.stack { display: grid; gap: 0.75rem; }
.item { display: flex; align-items: center; gap: 0.75rem; border: 1px solid var(--border); border-radius: 16px; padding: 0.75rem; }
.item-emoji { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 12px; background: var(--muted); font-size: 1.875rem; flex: none; }
.item-name { margin: 0; font-size: 0.875rem; font-weight: 500; }
.item-price { margin: 0; font-weight: 700; }
.item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; margin-left: auto; }
.qty { display: flex; align-items: center; gap: 0.5rem; border: 1px solid var(--border); border-radius: 999px; padding: 0.125rem 0.5rem; }
.qty span { width: 1rem; text-align: center; font-size: 0.875rem; }
.qty button { display: grid; place-items: center; }
.link-danger { color: var(--primary); display: grid; place-items: center; }
.link-row { display: flex; align-items: center; gap: 0.75rem; border: 1px solid var(--border); border-radius: 16px; padding: 0.75rem; font-size: 0.875rem; width: 100%; text-align: left; }
.link-row .ico { color: var(--primary); }
.link-row .grow { flex: 1; }
.promo-form { display: flex; gap: 0.5rem; }
.promo-form input { flex: 1; border: 1px solid var(--border); border-radius: 12px; padding: 0.5rem 0.75rem; font: inherit; outline: none; }
.totals { display: grid; gap: 0.25rem; padding-top: 0.5rem; font-size: 0.875rem; }
.totals .line { display: flex; justify-content: space-between; }
.totals .line .muted { color: var(--muted-fg); }
.totals .line .green { color: var(--success); font-weight: 500; }
.totals .grand { display: flex; justify-content: space-between; padding-top: 0.5rem; font-size: 1.125rem; font-weight: 700; }
.empty { padding: 4rem 1rem; text-align: center; color: var(--muted-fg); }

/* ---------- payment ---------- */
.amount-label { margin: 0; font-size: 0.875rem; color: var(--muted-fg); }
.amount { margin: 0; font-size: 2.25rem; font-weight: 700; }
.method { display: flex; align-items: center; gap: 0.75rem; width: 100%; text-align: left; border: 2px solid var(--border); border-radius: 16px; padding: 0.75rem; }
.method.selected { border-color: var(--primary); background: var(--accent); }
.method-ico { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 12px; background: var(--primary); color: var(--primary-fg); flex: none; }
.method strong { display: block; font-size: 0.875rem; font-weight: 600; }
.method small { color: var(--muted-fg); font-size: 0.75rem; }
.radio { width: 1.25rem; height: 1.25rem; border-radius: 999px; border: 2px solid var(--border); margin-left: auto; flex: none; }
.method.selected .radio { border-color: var(--primary); background: var(--primary); box-shadow: inset 0 0 0 3px var(--bg); }
.section-heading { margin: 0; font-size: 1rem; font-weight: 600; }

/* ---------- receipt ---------- */
.receipt-head { text-align: center; color: var(--success); }
.receipt-head h1 { margin: 0.5rem 0 0; font-size: 1.5rem; font-weight: 700; color: var(--success); }
.receipt-head p { margin: 0; font-size: 0.875rem; color: var(--muted-fg); }
.receipt-head b { color: var(--fg); }
.rows { display: grid; gap: 0.25rem; font-size: 0.875rem; }
.rows .r { display: flex; justify-content: space-between; }
.rows .r .muted { color: var(--muted-fg); }
.rows hr { width: 100%; border: 0; border-top: 1px solid var(--border); margin: 0.5rem 0; }
.rows .line-item { display: flex; gap: 0.5rem; }
.rows .line-item .nm { flex: 1; }
.rows .line-item .qt { width: 2.5rem; color: var(--muted-fg); }
.rows .line-item .am { width: 5rem; text-align: right; font-weight: 500; }
.rows .grand { display: flex; justify-content: space-between; padding-top: 0.25rem; font-size: 1.125rem; font-weight: 700; }
.qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding-top: 0.5rem; }
.qr-box { border: 1px solid var(--border); border-radius: 16px; padding: 0.75rem; }
.qr-box canvas, .qr-box img, .qr-box svg { display: block; }
.qr-hint { margin: 0; font-size: 0.875rem; color: var(--muted-fg); }

/* ---------- business ---------- */
.stat { border: 1px solid var(--border); border-radius: 16px; padding: 0.75rem; }
.stat .val { margin: 0; font-size: 1.25rem; font-weight: 700; }
.stat .lbl { margin: 0; font-size: 0.75rem; color: var(--muted-fg); }
.stat .delta { display: flex; align-items: center; gap: 0.15rem; margin-top: 0.25rem; font-size: 0.75rem; font-weight: 600; }
.stat .delta.up { color: var(--success); }
.stat .delta.down { color: var(--primary); }
.merchant { display: flex; align-items: center; gap: 0.75rem; width: 100%; text-align: left; border-radius: 16px; background: var(--primary); color: var(--primary-fg); padding: 0.75rem; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.15); }
.merchant .emoji { display: grid; place-items: center; width: 3rem; height: 2.5rem; border-radius: 10px; background: rgb(255 255 255 / 0.2); font-size: 1.25rem; }
.merchant strong { display: block; font-weight: 600; }
.merchant small { opacity: 0.9; font-size: 0.75rem; }

/* ---------- bottom nav ---------- */
.nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 20;
  display: flex; justify-content: space-around; width: 100%; max-width: 28rem;
  border-top: 1px solid var(--border); background: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(8px); padding: 0.5rem;
}
.nav a { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.25rem 0.75rem; font-size: 0.6875rem; color: var(--muted-fg); position: relative; }
.nav a.active { color: var(--primary); font-weight: 500; }
@media (min-width: 640px) { .nav { position: absolute; } }

/* ---------- activation ---------- */
.status-card { border-radius: 20px; padding: 1.25rem; color: #fff; background: linear-gradient(135deg, #1f1f1f, #373737); }
.status-card.active { background: linear-gradient(135deg, #16a34a, #0f7a37); }
.status-card.expired { background: linear-gradient(135deg, #dc2626, #7f1d1d); }
.status-pill { display: inline-block; font-size: 0.6875rem; font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 999px; background: rgb(255 255 255 / 0.2); }
.status-plan { margin: 0.5rem 0 0; font-size: 1.5rem; font-weight: 700; }
.status-exp { margin: 0; font-size: 0.875rem; opacity: 0.9; }
.status-days { margin: 0.35rem 0 0; font-size: 0.875rem; font-weight: 600; }
.status-code { margin: 0.5rem 0 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.75rem; opacity: 0.85; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.plan { position: relative; display: flex; flex-direction: column; gap: 0.15rem; border: 1px solid var(--border); border-radius: 16px; padding: 0.9rem; background: var(--muted); cursor: pointer; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
.plan input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.plan-check { position: absolute; top: 0.65rem; right: 0.65rem; width: 1rem; height: 1rem; border-radius: 999px; border: 2px solid var(--border); background: #fff; }
.plan.selected, .plan:has(input:checked) { border-color: var(--primary); background: var(--accent); box-shadow: inset 0 0 0 1px var(--primary); }
.plan.selected .plan-check, .plan:has(input:checked) .plan-check { border-color: var(--primary); background: var(--primary); box-shadow: inset 0 0 0 3px var(--accent); }
.plan-hint { margin: 0; font-size: 0.75rem; color: var(--muted-fg); }
.plan strong { font-size: 1rem; }
.plan span { font-size: 0.75rem; color: var(--muted-fg); }
.code-input { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 0.75rem; font: inherit; outline: none; background: #fff; }
.code-input:focus { border-color: var(--primary); }
.device-id { margin: 0; font-size: 0.75rem; color: var(--muted-fg); word-break: break-all; }
.admin-row { border: 1px solid var(--border); border-radius: 14px; padding: 0.75rem; display: grid; gap: 0.35rem; }
.admin-code { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.admin-code b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875rem; }
.tag { font-size: 0.625rem; font-weight: 600; text-transform: uppercase; padding: 0.1rem 0.45rem; border-radius: 999px; background: var(--muted); color: var(--muted-fg); }
.tag.active { background: rgb(22 163 74 / 0.15); color: var(--success); }
.tag.unused { background: rgb(220 38 38 / 0.1); color: var(--primary); }
.tag.revoked { background: #e5e5e5; color: #6b7280; }
.tag.expired { background: #fef3c7; color: #b45309; }
.admin-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; font-size: 0.7rem; color: var(--muted-fg); }
.admin-row form { justify-self: end; }
.admin-tags { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; justify-content: flex-end; }
.tag.platform { text-transform: none; letter-spacing: 0; background: var(--muted); color: var(--muted-fg); }
.tag.platform.app { background: rgb(220 38 38 / 0.1); color: var(--primary); }
.tag.platform.software { background: rgb(37 99 235 / 0.1); color: #2563eb; }
.tag.platform.web { background: rgb(124 58 237 / 0.1); color: #7c3aed; }
.admin-actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; }
.link-plain { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; color: var(--muted-fg); }
.link-plain:hover { color: var(--primary); }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.4rem; }
.stat-card { border: 1px solid var(--border); border-radius: 12px; padding: 0.5rem 0.25rem; text-align: center; }
.stat-card span { display: block; font-size: 0.5625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted-fg); }
.stat-card b { font-size: 1.125rem; }
.stat-card.active b { color: var(--success); }
.stat-card.unused b { color: var(--primary); }
.stat-card.expired b { color: #b45309; }
.stat-card.revoked b { color: var(--muted-fg); }
.field { display: grid; gap: 0.25rem; }
.field > span { font-size: 0.75rem; font-weight: 600; color: var(--muted-fg); }
.admin-toolbar { display: grid; gap: 0.5rem; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.filters select, .filters input[type="search"] {
  border: 1px solid var(--border); border-radius: 10px; padding: 0.5rem;
  font: inherit; font-size: 0.8125rem; background: #fff; outline: none; color: var(--fg);
}
.filters select { max-width: 9rem; }
.filters input[type="search"] { flex: 1; min-width: 7rem; }
.filters select:focus, .filters input[type="search"]:focus { border-color: var(--primary); }

/* ---------- platform switcher ---------- */
.platform-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; }
.platform-tab {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  border: 1px solid var(--border); border-radius: 12px; padding: 0.6rem 0.35rem;
  font-size: 0.6875rem; font-weight: 600; text-align: center; color: var(--muted-fg);
  background: var(--muted);
}
.platform-tab .ico { color: var(--muted-fg); }
.platform-tab.selected { border-color: var(--primary); background: var(--accent); color: var(--primary); }
.platform-tab.selected .ico { color: var(--primary); }

/* ---------- flash ---------- */
.flash { border-radius: 12px; padding: 0.75rem; font-size: 0.875rem; margin-bottom: 0.75rem; }
.flash.success { background: rgb(22 163 74 / 0.12); color: var(--success); }
.flash.error { background: rgb(220 38 38 / 0.1); color: var(--primary); }

/* ---------- scanner ---------- */
.scan-screen { position: relative; min-height: 100vh; background: #111; color: #fff; overflow: hidden; }
.scan-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scan-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(0 0 0 / 0.7), transparent 40%, rgb(0 0 0 / 0.8)); }
.scan-ui { position: relative; z-index: 10; display: flex; flex-direction: column; min-height: 100vh; }
.scan-ui .row { display: flex; align-items: center; justify-content: space-between; padding: 1rem; }
.scan-logo { height: 3.5rem; width: auto; object-fit: contain; border-radius: 12px; background: #fff; padding: 2px; }
.scan-ui .circle { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: rgb(0 0 0 / 0.5); color: #fff; }
.scan-title { text-align: center; }
.scan-title h1 { margin: 0; font-size: 1.25rem; font-weight: 600; }
.scan-title p { margin: 0; font-size: 0.875rem; opacity: 0.8; }
.scan-frame { flex: 1; display: grid; place-items: center; }
.frame { position: relative; width: 18rem; height: 15rem; }
.frame span.corner { position: absolute; width: 2.5rem; height: 2.5rem; border: 4px solid var(--primary); }
.frame .tl { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 16px; }
.frame .tr { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 16px; }
.frame .bl { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 16px; }
.frame .br { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 16px; }
.scan-line { position: absolute; left: 0.5rem; right: 0.5rem; height: 2px; background: var(--primary); box-shadow: 0 0 16px 4px var(--primary); animation: scan 2.2s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 8%; } 50% { top: 92%; } }
.scan-note { margin: 0 1.5rem 0.75rem; border-radius: 12px; padding: 0.75rem; text-align: center; font-size: 0.875rem; }
.scan-note.error { background: rgb(0 0 0 / 0.7); }
.scan-note.ok { background: var(--success); color: #fff; }
.scan-controls { display: flex; align-items: center; justify-content: space-around; padding: 0 1.5rem 1rem; }
.scan-controls .round { position: relative; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: rgb(0 0 0 / 0.6); color: #fff; }
.scan-controls .main-scan { display: grid; place-items: center; width: 6rem; height: 6rem; border-radius: 999px; border: 4px solid #fff; background: var(--primary); box-shadow: 0 0 30px var(--primary); color: #fff; }
.mode-toggle { display: grid; grid-template-columns: 1fr 1fr; margin: 0 1.5rem 2rem; border-radius: 999px; background: rgb(0 0 0 / 0.6); padding: 0.25rem; font-size: 0.875rem; }
.mode-toggle button { border-radius: 999px; padding: 0.5rem; color: #fff; text-transform: capitalize; }
.mode-toggle button.active { background: var(--primary); }
