
:root {
  --bg: #05030a;
  --bg-2: #0c0814;
  --bg-card: #120c1c;
  --bg-card-2: #181022;
  --bg-elevated: #1a1228;
  --border: rgba(91, 33, 182, 0.45);
  --border-soft: rgba(76, 29, 149, 0.35);
  --text: #ede9fe;
  --text-dim: #9585b5;
  --pink: #5b21b6;
  --pink-2: #7c3aed;
  --pink-dim: rgba(91, 33, 182, 0.25);
  --purple: #4c1d95;
  --purple-line: #6d28d9;
  --green: #22c55e;
  --cyan: #22d3ee;
  --orange: #fb923c;
  --radius: 14px;
  --radius-sm: 10px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea {
  font-family: inherit; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 12px; outline: none; width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--pink); box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.15);
}

.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 40% at 50% -5%, rgba(109, 40, 217, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 30% at 100% 20%, rgba(91, 33, 182, 0.08), transparent 50%);
}
.navbar, main#app, .footer, #modalRoot { position: relative; z-index: 1; }

/* ===== Navbar drip-style ===== */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 6, 12, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: none;
}
.navbar::after {
  content: '';
  display: block; height: 2px;
  background: linear-gradient(90deg, transparent, var(--pink), var(--purple), var(--pink), transparent);
  box-shadow: 0 0 12px rgba(91, 33, 182, 0.5);
}
.navbar-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  height: 40px; width: auto; max-width: 150px;
  object-fit: contain; display: block; border-radius: 8px;
}
@media (max-width: 560px) {
  .brand-logo { height: 34px; max-width: 120px; }
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-btn {
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--text-dim); transition: all .15s;
}
.nav-btn:hover { color: #fff; background: rgba(91, 33, 182, 0.1); }
.nav-btn.active { color: #fff; background: rgba(91, 33, 182, 0.2); }
.nav-btn-primary {
  background: var(--pink) !important; color: #fff !important;
  box-shadow: 0 4px 16px rgba(91, 33, 182, 0.4);
  border-radius: 12px !important; padding: 8px 16px !important;
}
.nav-avatar {
  width: 24px; height: 24px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid rgba(91, 33, 182, 0.5);
}
.profile-btn { display: flex; align-items: center; gap: 8px; }

main#app { max-width: 1100px; margin: 0 auto; padding: 20px 16px 80px; min-height: 70vh; }

.section-title {
  font-size: 1.1rem; font-weight: 800; margin: 24px 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.section-title::before {
  content: ''; width: 3px; height: 1em; border-radius: 4px;
  background: linear-gradient(180deg, var(--pink), var(--purple));
}

/* ===== Banner ===== */
.shop-banner {
  display: none; /* foto referensi tidak pakai banner besar di mobile shop list */
}
.our-products-title {
  text-align: center;
  font-size: 1.55rem; font-weight: 800;
  margin: 8px 0 6px; letter-spacing: -0.02em;
}
.our-products-title span { color: var(--pink); }
.our-products-underline {
  width: 56px; height: 3px; margin: 0 auto 22px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 0 10px rgba(91, 33, 182, 0.5);
}

/* ===== Categories ===== */
.cat-label {
  width: 100%; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--pink);
  margin-bottom: 2px;
}
.category-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 20px; align-items: center;
}
.cat-tab {
  padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: transparent;
  border: 1.5px solid rgba(91, 33, 182, 0.55);
  color: #a78bfa;
  transition: all .15s;
}
.cat-tab:hover { border-color: var(--pink); color: #fff; }
.cat-tab.active {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
  box-shadow: 0 0 18px rgba(91, 33, 182, 0.45);
}

.cat-section-title {
  text-align: center;
  font-size: 0.85rem; font-weight: 800;
  letter-spacing: 0.14em;
  color: #e9d5ff;
  margin: 10px 0 14px;
  text-transform: uppercase;
}

/* ===== Product grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 720px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* Kartu produk + garis berputar (border animasi) */
.product-card {
  background: transparent;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  display: flex; flex-direction: column;
  position: relative;
  z-index: 0;
  isolation: isolate;
}
/* Layer garis yang muter */
.product-card::before {
  content: '';
  position: absolute;
  inset: -50%;
  z-index: -2;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    #4c1d95 12%,
    #7c3aed 22%,
    #a78bfa 32%,
    transparent 45%,
    transparent 55%,
    #5b21b6 68%,
    #6d28d9 78%,
    transparent 90%
  );
  animation: borderSpin 3.5s linear infinite;
}
/* Isi kartu menutupi tengah, sisa 2px jadi border */
.product-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: 14px;
  background: linear-gradient(180deg, #16122a 0%, #0e0c18 100%);
}
.product-card.accent-green::before {
  background: conic-gradient(from 0deg, transparent 0%, #16a34a 15%, #4ade80 30%, transparent 45%, transparent 55%, #22c55e 70%, transparent 90%);
}
.product-card.accent-cyan::before {
  background: conic-gradient(from 0deg, transparent 0%, #0891b2 15%, #22d3ee 30%, transparent 45%, transparent 55%, #06b6d4 70%, transparent 90%);
}
.product-card.accent-pink::before,
.product-card.accent-purple::before {
  background: conic-gradient(from 0deg, transparent 0%, #4c1d95 12%, #7c3aed 22%, #a78bfa 32%, transparent 45%, transparent 55%, #5b21b6 68%, #6d28d9 78%, transparent 90%);
}
.product-card.accent-orange::before {
  background: conic-gradient(from 0deg, transparent 0%, #c2410c 15%, #fb923c 30%, transparent 45%, transparent 55%, #f97316 70%, transparent 90%);
}

@keyframes borderSpin {
  to { transform: rotate(360deg); }
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(91, 33, 182, 0.25);
}
.product-card:hover::before {
  animation-duration: 2s;
  filter: brightness(1.25);
}

.product-card > * { position: relative; z-index: 2; }
.product-grid { position: relative; z-index: 1; min-height: 40px; }

.pc-head {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 10px 4px; font-size: 11px;
}
.pc-icon { color: var(--pink); font-size: 11px; flex-shrink: 0; }
.pc-title {
  font-weight: 700; flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 11.5px;
}
.pc-verified {
  font-size: 10px; font-weight: 600; color: var(--green);
  white-space: nowrap; flex-shrink: 0;
}

.pc-img-wrap {
  margin: 4px 10px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(109, 40, 217, 0.2);
  background: #08060e;
}
.pc-img-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pc-body {
  padding: 8px 10px 12px;
  display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.pc-platform {
  font-size: 10px; font-weight: 600; color: #a78bfa;
}
.pc-meta-row {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
}
.pc-sold {
  font-size: 10px; font-weight: 600; color: #ef4444;
  white-space: nowrap;
}
.pc-price {
  font-size: 13px; font-weight: 700; color: #a78bfa;
  display: flex; align-items: center; gap: 5px;
}
.pc-heart { color: var(--pink); font-size: 12px; }
.pc-buy {
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 800; font-size: 13px;
  background: var(--pink);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(91, 33, 182, 0.4);
  transition: filter .15s, transform .12s;
}
.pc-buy:hover { filter: brightness(1.1); transform: scale(1.02); }

/* Top Sellers (drip-style) */
.top10-box {
  margin-top: 28px;
  background: #0c0a12;
  border: 1px solid rgba(109, 40, 217, 0.25);
  border-radius: 16px;
  padding: 14px 14px 10px;
  overflow: hidden;
}
.top10-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px; padding: 0 4px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top10-header-left {
  font-weight: 800; font-size: 15px;
  color: #fbbf24;
  display: flex; align-items: center; gap: 6px;
}
.top10-header-left span { color: #fbbf24; }
.top10-header-right {
  font-size: 12px; color: var(--text-dim); font-weight: 600;
}
.top10-list { display: flex; flex-direction: column; gap: 4px; }
.top10-item {
  display: flex; align-items: center; gap: 12px;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  transition: background .15s;
}
.top10-item:hover { background: rgba(255,255,255,0.03); }
.top10-item.rank-1 {
  background: linear-gradient(90deg, rgba(180, 83, 9, 0.35), rgba(120, 53, 15, 0.15));
  border: 1px solid rgba(251, 191, 36, 0.2);
}
.top10-rank {
  width: 28px; min-width: 28px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px;
  color: var(--text-dim);
  background: none;
}
.top10-item.rank-1 .top10-rank,
.top10-item.rank-2 .top10-rank,
.top10-item.rank-3 .top10-rank { font-size: 16px; }
.top10-name {
  flex: 1; font-weight: 600; font-size: 13.5px;
  color: #e5e7eb;
}
.top10-count {
  color: #34d399;
  font-weight: 700; font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14px;
  background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text);
  transition: all .15s;
}
.btn:hover { border-color: var(--pink); }
.btn.block { width: 100%; }
.btn.primary, .btn.success {
  background: var(--pink); border: none; color: #fff;
  box-shadow: 0 4px 16px rgba(91, 33, 182, 0.35);
}
.btn.primary:hover, .btn.success:hover { filter: brightness(1.08); }
.btn.danger { background: rgba(244, 114, 182, 0.12); border-color: rgba(244, 114, 182, 0.35); color: #a78bfa; }
.btn.secondary { background: transparent; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-dim); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em;
}
.form-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.form-row .field { flex: 1; min-width: 140px; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 20px;
}
.modal-box {
  background: #14101f;
  border: 1px solid rgba(91, 33, 182, 0.3);
  border-radius: 18px;
  padding: 22px;
  width: 100%; max-width: 420px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  position: relative;
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.06); font-size: 16px; color: var(--text-dim);
}
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; max-width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff; color: #1f1f1f;
  font-weight: 600; font-size: 12.5px;
  line-height: 1.2;
  text-decoration: none;
  box-sizing: border-box;
}
.btn-google svg {
  width: 16px; height: 16px; flex-shrink: 0;
}

.variant-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; margin-bottom: 8px;
  background: var(--bg-2); border: 1px solid var(--border-soft);
  border-radius: 10px; cursor: pointer; transition: all .12s;
}
.variant-row:hover, .variant-row.selected {
  border-color: var(--pink);
  background: rgba(91, 33, 182, 0.1);
}
.vr-price { font-weight: 700; color: var(--pink-2); white-space: nowrap; }
.vr-old { color: var(--text-dim); font-weight: 500; text-decoration: line-through; margin-right: 6px; font-size: 0.9em; }

.profile-header {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
  background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: 18px; padding: 24px; margin-bottom: 24px;
}
.avatar-wrap { position: relative; }
.avatar-wrap img {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--pink); box-shadow: 0 0 0 4px rgba(91, 33, 182, 0.2);
}
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  background: rgba(91, 33, 182, 0.15); color: var(--pink-2);
}
.badge.seller { background: rgba(34, 197, 94, 0.15); color: var(--green); }
.tabs {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px;
  border-bottom: 1px solid var(--border-soft); padding-bottom: 12px;
}
.tab-btn {
  padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
  color: var(--text-dim);
}
.tab-btn.active { background: rgba(91, 33, 182, 0.2); color: var(--pink-2); }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 18px; margin-bottom: 12px;
}
.tx-card {
  display: flex; gap: 12px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 12px; margin-bottom: 8px;
}
.tx-card img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.empty-state { text-align: center; padding: 40px 20px; color: var(--text-dim); font-size: 14px; }
.success-msg { color: var(--green); font-size: 13px; margin-top: 8px; }
.error-msg { color: #7c3aed; font-size: 13px; margin-top: 8px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--border-soft); }
th { color: var(--text-dim); font-weight: 600; font-size: 11px; text-transform: uppercase; }
.qr-box { background: #fff; border-radius: 12px; padding: 16px; display: inline-block; margin: 12px 0; }
.qr-box img { display: block; max-width: 220px; }
.status-pill { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.status-pill.completed { background: rgba(34,197,94,.15); color: var(--green); }
.status-pill.pending { background: rgba(251,191,36,.15); color: #fbbf24; }

.footer {
  border-top: 1px solid var(--border-soft);
  padding: 32px 20px;
  background: rgba(7, 6, 12, 0.8);
}
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-brand { font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; color: var(--pink); }
.footer p { color: var(--text-dim); font-size: 13px; margin-bottom: 4px; }
.footer-copy { opacity: 0.7; margin-top: 12px !important; }

@media (max-width: 560px) {
  .navbar-inner { padding: 10px 12px; }
  .nav-btn { padding: 7px 10px; font-size: 12px; }
  main#app { padding: 14px 12px 60px; }
  .our-products-title { font-size: 1.35rem; }
}


/* ===== Account / Profile (drip-style) ===== */
.acc-card {
  background: #12101c;
  border: 1px solid rgba(109, 40, 217, 0.28);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}
.acc-user {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.acc-user-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.acc-avatar-wrap { position: relative; flex-shrink: 0; }
.acc-avatar {
  width: 52px; height: 52px; border-radius: 14px; object-fit: cover;
  border: 2px solid rgba(139, 92, 246, 0.5);
  display: block; background: #1e1b2e;
}
.acc-avatar-fallback {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
  place-items: center; font-weight: 800; font-size: 20px; color: #fff;
}
.avatar-edit {
  position: absolute; right: -4px; bottom: -4px;
  width: 22px; height: 22px; border-radius: 8px;
  background: #5b21b6; color: #fff; font-size: 11px;
  display: grid; place-items: center; cursor: pointer;
  border: 2px solid #0c0a12;
}
.acc-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acc-name { font-weight: 800; font-size: 1.05rem; }
.acc-email { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.acc-badge-reseller {
  font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 999px;
  background: linear-gradient(90deg, #b45309, #f59e0b); color: #fff;
  letter-spacing: 0.04em;
}
.acc-badge-member {
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: rgba(139, 92, 246, 0.2); color: #c4b5fd;
}
.acc-user-stats { display: flex; gap: 18px; }
.acc-stat { text-align: right; }
.acc-stat-num { font-weight: 800; font-size: 15px; color: #e9d5ff; }
.acc-stat-lbl { font-size: 10px; font-weight: 700; color: var(--text-dim); letter-spacing: 0.06em; }

.acc-seller-banner {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(90deg, rgba(180, 83, 9, 0.35), rgba(60, 40, 10, 0.4));
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 14px; padding: 12px 14px; margin-bottom: 12px;
}
.acc-seller-off {
  background: rgba(91, 33, 182, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
}
.acc-seller-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: #b45309; display: grid; place-items: center; font-size: 18px; flex-shrink: 0;
}
.acc-seller-off .acc-seller-icon { background: #5b21b6; }
.acc-seller-title { font-weight: 800; font-size: 13px; color: #fde68a; }
.acc-seller-off .acc-seller-title { color: #e9d5ff; }
.acc-seller-sub { font-size: 11.5px; color: var(--text-dim); margin-top: 2px; }

.acc-balance-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: linear-gradient(105deg, #c026d3 0%, #7c3aed 45%, #6366f1 100%);
  border-radius: 16px; padding: 18px 16px; margin-bottom: 14px;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.35);
}
.acc-bal-label { font-size: 12px; font-weight: 600; opacity: 0.9; }
.acc-bal-amount { font-size: 1.65rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; }
.acc-add-bal {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff; font-weight: 700; font-size: 13px;
  padding: 10px 14px; border-radius: 999px;
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.acc-add-bal:hover { background: rgba(255,255,255,0.28); }

.acc-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.acc-tab {
  padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: #1a1625; color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.06);
}
.acc-tab.active {
  background: #5b21b6; color: #fff;
  border-color: #5b21b6;
  box-shadow: 0 4px 14px rgba(91, 33, 182, 0.4);
}

.acc-section-title {
  font-size: 13px; font-weight: 700; color: var(--text-dim);
  margin: 4px 0 10px;
}

.acc-hist-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #12101c;
  border: 1px solid rgba(109, 40, 217, 0.18);
  border-radius: 12px;
  padding: 12px 12px;
  margin-bottom: 8px;
}
.acc-hist-left { display: flex; align-items: flex-start; gap: 10px; min-width: 0; flex: 1; }
.acc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; margin-top: 6px; flex-shrink: 0;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}
.acc-dot-pending { background: #fbbf24; box-shadow: 0 0 8px rgba(251, 191, 36, 0.4); }
.acc-hist-title {
  font-weight: 700; font-size: 12.5px; line-height: 1.3;
  word-break: break-word;
}
.acc-hist-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 11px; color: var(--text-dim); margin-top: 4px;
}
.acc-hist-right {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.acc-hist-price {
  font-weight: 800; font-size: 13px; color: #34d399;
  font-variant-numeric: tabular-nums;
}
.acc-icon-btn {
  width: 34px; height: 34px; border-radius: 10px;
  background: #1a1625; border: 1px solid rgba(255,255,255,0.08);
  display: grid; place-items: center; font-size: 14px;
}
.acc-icon-btn:hover { border-color: rgba(139, 92, 246, 0.5); }

@media (max-width: 480px) {
  .acc-user { flex-direction: column; align-items: flex-start; }
  .acc-user-stats { width: 100%; justify-content: flex-start; gap: 24px; }
  .acc-stat { text-align: left; }
  .acc-bal-amount { font-size: 1.4rem; }
}


/* ===== Account button + dropdown ===== */
.brand-text {
  font-weight: 800; font-size: 15px; letter-spacing: 0.02em;
  color: var(--text);
}
@media (max-width: 480px) {
  .brand-text { display: none; }
}
.nav-account-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  border-radius: 12px;
  background: #5b21b6;
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(91, 33, 182, 0.35);
}
.nav-account-btn:hover { filter: brightness(1.08); }
.nav-account-icon { font-size: 16px; line-height: 1; }
.nav-chevron { font-size: 11px; opacity: 0.85; }
.nav-user-wrap { position: relative; }
.nav-dropdown {
  position: absolute;
  right: 0; top: calc(100% + 8px);
  min-width: 220px;
  background: #16122a;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
  z-index: 100;
}
.nav-dd-head {
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 4px;
}
.nav-dd-name { font-weight: 800; font-size: 14px; }
.nav-dd-email { font-size: 11px; color: var(--text-dim); margin-top: 2px; word-break: break-all; }
.nav-dd-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px; font-weight: 600;
  color: var(--text);
  text-align: left;
  background: transparent;
}
.nav-dd-item:hover { background: rgba(139, 92, 246, 0.15); }
.nav-dd-bal {
  margin-left: auto;
  font-size: 11px; font-weight: 700;
  color: #34d399;
}
.nav-dd-divider {
  height: 1px; background: rgba(255,255,255,0.06);
  margin: 4px 0;
}
.nav-dd-logout { color: #f87171; }
.nav-dd-logout:hover { background: rgba(248, 113, 113, 0.12); }


/* ===== Why Choose Us ===== */
.why-section {
  margin: 36px 0 20px;
  text-align: center;
}
.why-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: #e9d5ff;
}
.why-title span {
  color: #a78bfa;
}
.why-sub {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 420px;
  margin: 0 auto 22px;
  line-height: 1.5;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; gap: 10px; }
}
.why-card {
  background: linear-gradient(180deg, #16122a 0%, #0e0c18 100%);
  border: 1px solid rgba(109, 40, 217, 0.28);
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  transition: transform .15s, border-color .15s;
}
.why-card:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.45);
}
.why-icon {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
  display: grid; place-items: center;
  font-size: 22px;
  box-shadow: 0 6px 20px rgba(91, 33, 182, 0.4);
}
.why-card-title {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: #f5f3ff;
}
.why-card-desc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.45;
}

.nav-badge, #ticketBadge {
  display: inline-block;
  min-width: 18px;
  padding: 1px 6px;
  margin-left: 4px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  vertical-align: middle;
}
