:root {
  --bg: #0b0f17;
  --bg-soft: #111827;
  --card: #131b2b;
  --card-hi: #192338;
  --gold: #facc15;
  --gold-dark: #eab308;
  --gold-soft: rgba(250, 204, 21, 0.14);
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --shopee: #ee4d2d;
  --text: #f8fafc;
  --text-sub: #cbd5e1;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: radial-gradient(circle at 50% 0%, #17223b 0%, var(--bg) 55%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  line-height: 1.58;
  min-height: 100vh;
  padding-bottom: 84px;
}
a { color: inherit; text-decoration: none; }
.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}
.site-nav {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 15, 23, 0.88);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 40;
}
.nav-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: #fff;
}
.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
.nav-links {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-sub);
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.hero {
  text-align: center;
  padding: 28px 0 20px;
}
.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.25;
}
.hero p {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
}
.search-bar {
  max-width: 660px;
  margin: 18px auto 16px;
  background: rgba(15, 23, 42, 0.95);
  border: 1.5px solid rgba(250, 204, 21, 0.48);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.search-bar input::placeholder { color: #64748b; font-weight: 500; }
.search-reset {
  background: var(--gold);
  color: #0b0f17;
  border: none;
  border-radius: 10px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.tab-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-sub);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tab-btn:hover, .tab-btn.active {
  background: var(--gold);
  color: #0b0f17;
  border-color: var(--gold);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(250, 204, 21, 0.45);
}
.card.featured {
  background: linear-gradient(165deg, #1d2842 0%, #121a2b 100%);
  border: 2px solid rgba(250, 204, 21, 0.72);
}
.card.pulse-match {
  border: 2px solid var(--emerald);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.22);
}
.hot-ribbon {
  display: inline-block;
  align-self: flex-start;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.card-top {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}
.cover {
  width: 96px;
  height: 128px;
  object-fit: cover;
  border-radius: 12px;
  background: #0f172a;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.08);
}
.meta { flex: 1; min-width: 0; }
.code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.code-pill {
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(250, 204, 21, 0.35);
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}
.deal-pill {
  background: var(--emerald-soft);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}
.mall-pill {
  background: rgba(238, 77, 45, 0.16);
  color: #ff7a59;
  border: 1px solid rgba(238, 77, 45, 0.35);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.card-title {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 6px;
}
.card-title a:hover { color: var(--gold); }
.stats {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 4px;
}
.stats strong { color: var(--gold); }
.price-tag {
  font-size: 15px;
  font-weight: 800;
  color: #34d399;
}
.points {
  font-size: 13px;
  color: var(--text-sub);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.cons-box {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--gold);
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}
.card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.buy-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ee4d2d 0%, #d73211 100%);
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  padding: 11px 14px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(238, 77, 45, 0.28);
}
.buy-btn:hover { filter: brightness(1.07); }
.detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-sub);
  font-weight: 700;
  font-size: 13px;
  padding: 11px 12px;
  border-radius: 12px;
  white-space: nowrap;
}
.detail-btn:hover { border-color: var(--gold); color: var(--gold); }
.breadcrumb {
  padding: 16px 0 8px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a:hover { color: var(--gold); }
.product-hero {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  margin: 10px 0 24px;
}
.product-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #0f172a;
}
.product-h1 {
  font-size: clamp(21px, 3.2vw, 28px);
  font-weight: 900;
  line-height: 1.28;
  margin: 8px 0 10px;
}
.product-price-box {
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.product-price-big {
  font-size: 22px;
  font-weight: 900;
  color: #34d399;
}
.cta-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, #ee4d2d 0%, #d73211 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  padding: 15px 20px;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(238, 77, 45, 0.35);
}
.content-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 24px;
  margin-bottom: 20px;
}
.content-section h2 {
  font-size: 18.5px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
}
.content-section p, .content-section li {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 10px;
}
.content-section ul { padding-left: 20px; }
.faq-item {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 12px;
}
.faq-item h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(11, 15, 23, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(250, 204, 21, 0.35);
  padding: 10px 16px;
}
.sticky-cta-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sticky-cta-info { min-width: 0; }
.sticky-cta-code { font-size: 12px; font-weight: 800; color: var(--gold); }
.sticky-cta-price { font-size: 15px; font-weight: 900; color: #34d399; }
.sticky-cta-btn {
  background: linear-gradient(135deg, #ee4d2d 0%, #d73211 100%);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 12px;
  white-space: nowrap;
}
.seo-guide {
  margin-top: 32px;
  background: rgba(19, 27, 43, 0.72);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
}
.seo-guide h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
}
.seo-guide p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}
footer {
  margin-top: 36px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text-sub);
}
.footer-links a:hover { color: var(--gold); }
@media (max-width: 680px) {
  .product-hero { grid-template-columns: 1fr; padding: 18px; }
  .product-cover { max-width: 210px; margin: 0 auto; }
}