/* ── HERO ── */
.hero {
  background: #0c0c0e;
  border-bottom: 1px solid var(--border);
  padding: 80px 24px 72px;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 20%, transparent 100%);
  opacity: .4;
}
.hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--border2);
  border-radius: 30px;
  padding: 5px 14px 5px 8px;
  font-size: .75rem; font-weight: 600;
  color: var(--muted2);
  margin-bottom: 28px;
}
.hero-pill-dot {
  width: 20px; height: 20px;
  background: var(--teal-dim);
  border: 1px solid var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hero-pill-dot span { font-size: .75rem; color: var(--teal); }

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.04em;
  margin-bottom: 16px;
  color: #fff;
}
.hero h1 .hl { color: var(--teal); }

.hero-desc {
  font-size: 1rem;
  color: var(--muted2);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-search {
  display: flex;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  overflow: hidden;
  max-width: 560px;
  margin: 0 auto 44px;
  transition: border-color .2s;
}
.hero-search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-dim); }
.hero-search .si { padding: 0 14px; display: flex; align-items: center; color: var(--muted); }
.hero-search .si span { font-size: 1.1rem; }
.hero-search input {
  flex: 1; background: none; border: none; outline: none;
  font-size: .92rem; font-family: inherit;
  color: var(--white); padding: 14px 0;
}
.hero-search input::placeholder { color: var(--muted); }
.hero-search button {
  background: var(--teal); color: var(--bg);
  border: none; padding: 0 22px;
  font-size: .85rem; font-weight: 700; font-family: inherit;
  transition: opacity .15s;
}
.hero-search button:hover { opacity: .88; transform: scale(1.03); }

.hero-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.hchip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border2);
  background: var(--bg2);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: .8rem; font-weight: 500;
  color: var(--muted2);
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
}
.hchip:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-dim); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,229,160,.2); }
.hchip span { font-size: .9rem; }

/* ── TICKER ── */
.ticker-wrap {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  background: var(--bg2);
}
.ticker-label {
  background: var(--teal); color: var(--bg);
  font-size: .68rem; font-weight: 700;
  padding: 0 12px; height: 100%;
  display: flex; align-items: center;
  white-space: nowrap; flex-shrink: 0;
  letter-spacing: .05em; text-transform: uppercase;
}
.ticker-track {
  display: flex;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
  padding-left: 24px;
}
.ticker-item {
  font-size: .76rem; font-weight: 500;
  color: var(--muted2);
  padding: 0 28px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
.ticker-item::before { content: '·'; margin-right: 28px; color: var(--border2); }
.ticker-item:hover { color: var(--teal); text-decoration: underline; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── HOMEPAGE CATEGORIES ── */
.cat-scroll {
  display: flex; gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 52px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  touch-action: pan-x;
}
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-pill { scroll-snap-align: start; }

.cat-pill {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 9px;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all .15s;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  touch-action: manipulation;
}
.cat-pill:hover { border-color: var(--teal); background: var(--teal-dim); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,229,160,.18); }
.cat-pill:hover .cp-name { color: #0c0c0e; }
.cat-pill:hover .cp-icon { transform: scale(1.1); }
.cp-icon { transition: transform .15s; }
.cp-icon  { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cp-icon span { font-size: 1.1rem; color: #fff; }
.cp-name  { font-size: .82rem; font-weight: 600; color: #1e293b; white-space: nowrap; }
.cp-count { font-size: .7rem; color: #94a3b8; margin-top: 1px; }

/* ── FEATURED BENTO GRID ── */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 12px;
  margin-bottom: 52px;
}
.bcard {
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  background: var(--bg3);
}
.bcard:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,.6); }
.bcard.featured { box-shadow: 0 0 0 2px var(--teal); }
.bcard.featured:hover { box-shadow: 0 0 0 2px var(--teal), 0 12px 36px rgba(0,229,160,.2); }
.bcard.wide { grid-column: span 2; }

.bcard-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; display: block;
  background: #fff;
  transition: transform .3s;
}
.bcard:hover .bcard-img { transform: scale(1.04); }

.bcard-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.08) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.75) 75%, rgba(0,0,0,.92) 100%);
}
.bcard-fav {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: background .15s;
}
.bcard-fav:hover { background: rgba(244,63,94,.7); }
.bcard-fav span  { font-size: .85rem; color: rgba(255,255,255,.8); }

.bcard-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 14px; z-index: 1; }
.bcard-tag     { display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.bcard-title   { font-size: .83rem; font-weight: 600; color: #fff; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.bcard-footer  { display: flex; align-items: center; justify-content: space-between; }
.bcard-price   { font-family: 'Space Mono', monospace; font-size: .8rem; font-weight: 700; color: var(--teal); }
.bcard-price.muted { color: rgba(255,255,255,.45); font-family: inherit; font-weight: 500; }
.bcard-meta    { display: flex; align-items: center; gap: 3px; font-size: .7rem; color: rgba(255,255,255,.5); }
.bcard-meta span { font-size: .8rem; }

/* ── PROMO + STATS ── */
.promo-section { display: flex; flex-direction: column; gap: 14px; margin-bottom: 52px; }

.promo-banner {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(130deg, #12162e 0%, #1a1c38 100%);
  border: 1px solid rgba(0,229,160,.18);
  border-radius: 16px; padding: 28px 32px;
  text-decoration: none; transition: border-color .2s, transform .15s;
}
.promo-banner:hover { border-color: rgba(0,229,160,.6); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.promo-tag {
  display: inline-block; font-size: .63rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); background: rgba(0,229,160,.1);
  padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.promo-title { font-size: 1.35rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.promo-desc  { font-size: .86rem; color: #64748b; max-width: 480px; line-height: 1.5; }
.promo-cta {
  display: flex; align-items: center; gap: 8px;
  background: var(--teal); color: #0c0c0e;
  font-weight: 700; font-size: .88rem;
  padding: 13px 24px; border-radius: 10px;
  white-space: nowrap; flex-shrink: 0;
}
.promo-cta span { font-size: 1rem; }

.stats-strip {
  display: flex; align-items: center;
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 14px; padding: 20px 32px;
}
.sstrip-item  { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.sstrip-icon  { width: 40px; height: 40px; background: rgba(0,229,160,.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.sstrip-icon span { color: var(--teal); font-size: 1.1rem; }
.sstrip-num   { font-family: 'Space Mono', monospace; font-size: 1.6rem; font-weight: 700; color: var(--teal); letter-spacing: -.04em; }
.sstrip-label { font-size: .72rem; color: #94a3b8; font-weight: 500; }
.sstrip-div   { width: 1px; height: 36px; background: #e2e8f0; }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bcard.wide { grid-column: span 2; }
  .promo-banner { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 700px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .bcard.wide { grid-column: span 2; }
  .stats-strip { padding: 16px; }
  .sstrip-num { font-size: 1.2rem; }
  .sstrip-label { font-size: .65rem; }
  .promo-banner { padding: 20px; }
  .promo-title { font-size: 1.1rem; }

  .cat-scroll {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .cat-scroll::after {
    content: '';
    flex-shrink: 0;
    width: 6px;
  }
}
