:root{
  --bg:#0f0f14;
  --card:#16161f;
  --card2:#12121a;
  --text:#f5f6ff;
  --muted:#a6a8c3;
  --accent:#00B7FF;
  --border: rgba(255,255,255,.08);
  --shadow: 0 14px 46px rgba(0,0,0,.50);
  --radius: 16px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(0,183,255,.18), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(0,183,255,.10), transparent 55%),
    var(--bg);
  color:var(--text);
}

a{ color:inherit; text-decoration:none; }
.container{ max-width: 1100px; margin: 0 auto; padding: 14px 14px 92px; }

.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15,15,20,.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.topbarInner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 14px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

.brand{ display:flex; align-items:center; gap: 10px; }
.logo{
  width: 40px; height: 40px;
  border-radius: 12px;
  display:grid; place-items:center;
  font-weight: 900;
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent), #7ad8ff);
  box-shadow: 0 0 22px rgba(0,183,255,.35);
}
.brandText .name{ font-weight: 900; letter-spacing: .2px; }
.brandText .tag{ font-size: 12px; color: var(--muted); margin-top: 2px; }

.navLinks{
  display:flex; gap: 10px;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
}
.navLinks a{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
}
.navLinks a.active{
  color: var(--text);
  border-color: rgba(0,183,255,.45);
  box-shadow: 0 0 18px rgba(0,183,255,.14);
}

.hero{
  margin: 18px 0 16px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,183,255,.22);
  background: linear-gradient(135deg, rgba(0,183,255,.22), rgba(0,183,255,.04));
  box-shadow: var(--shadow);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
.hero h1{ margin:0 0 4px; font-size: 20px; }
.hero p{ margin:0; color: var(--muted); }

.pill{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,183,255,.35);
  color: #bfefff;
}

.grid{
  display:grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 520px){ .grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px){ .grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card{
  background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  position: relative;
  overflow:hidden;
}
.card::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: var(--radius);
  pointer-events:none;
  background: radial-gradient(520px 200px at 15% 0%, rgba(0,183,255,.16), transparent 65%);
  opacity:.9;
}

.badgeRow{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.badge{
  display:inline-flex;
  gap:8px;
  align-items:center;
  font-size: 12px;
  color:#bfefff;
  border: 1px solid rgba(0,183,255,.22);
  background: rgba(0,183,255,.06);
  padding: 6px 10px;
  border-radius: 999px;
}
.countdown{
  font-variant-numeric: tabular-nums;
  color:#bfefff;
}
.price{
  font-weight: 900;
  text-shadow: 0 0 18px rgba(0,183,255,.25);
}

.title{ font-weight: 900; margin: 10px 0 6px; }
.meta{ color: var(--muted); font-size: 12px; }
.actions{
  display:flex;
  gap: 10px;
  margin-top: 12px;
}
.btn{
  flex:1;
  border-radius: 14px;
  padding: 12px 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  cursor:pointer;
}
.btnPrimary{
  border-color: rgba(0,183,255,.40);
  background: linear-gradient(135deg, rgba(0,183,255,.25), rgba(0,183,255,.06));
  box-shadow: 0 0 22px rgba(0,183,255,.18);
}
.heart{
  width: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  cursor:pointer;
}
.heart.on{
  border-color: rgba(0,183,255,.55);
  box-shadow: 0 0 22px rgba(0,183,255,.22);
}

.sectionTitle{
  margin: 18px 0 12px;
}
.sectionTitle h2{ margin:0 0 4px; font-size: 18px; }
.sectionTitle p{ margin:0; color: var(--muted); }

.chips{ display:flex; flex-wrap:wrap; gap: 10px; margin: 10px 0 14px; }
.chip{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 999px;
  cursor:pointer;
}
.chip.active{
  border-color: rgba(0,183,255,.45);
  box-shadow: 0 0 18px rgba(0,183,255,.14);
}

.adSlot{
  margin: 16px 0;
  border-radius: var(--radius);
  border: 1px dashed rgba(255,255,255,.16);
  padding: 14px;
  color: var(--muted);
}

.footer{
  border-top: 1px solid var(--border);
  margin-top: 28px;
  padding: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.footer a{ text-decoration: underline; }
