@font-face { font-family: "Barlow Condensed"; font-weight: 900; font-style: italic; font-display: swap; src: url("/assets/fonts/BarlowCondensed-BlackItalic.ttf"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: italic; font-display: swap; src: url("/assets/fonts/BarlowCondensed-ExtraBoldItalic.ttf"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/assets/fonts/BarlowCondensed-Bold.ttf"); }

:root {
  --ground: #0b0614;
  --raise: #140c22;
  --ink: #f1ecfa;
  --muted: #a99cc4;
  --lime: #b8f532;
  --red: #ff2d55;
  --orange: #ff8a1f;
  --purple: #7b2ff7;
  --line: rgba(255, 255, 255, .09);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh; color: var(--ink); font: 15px/1.45 var(--text); -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 520px at 85% -120px, rgba(123, 47, 247, .32), transparent 70%),
    radial-gradient(700px 420px at -10% 10%, rgba(184, 245, 50, .07), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--ground);
}
a { color: inherit; }
[hidden] { display: none !important; }
button, select, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }

/* topo fixo com a busca */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 6, 20, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { mix-blend-mode: screen; border-radius: 10px; }
.brand span { font: 900 italic 26px/1 var(--display); letter-spacing: .4px; }
.brand b { color: var(--lime); font-weight: 900; }
.search { flex: 1; position: relative; max-width: 620px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%);
  fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; }
.search input { width: 100%; height: 46px; padding: 0 16px 0 42px; border-radius: 12px; border: 1px solid rgba(184, 245, 50, .28);
  background: rgba(255, 255, 255, .05); font-size: 16px; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(184, 245, 50, .18); }
.tg { flex: none; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 12px; text-decoration: none;
  background: var(--purple); font: 800 italic 19px/1 var(--display); letter-spacing: .4px; text-transform: uppercase;
  box-shadow: 0 0 22px rgba(123, 47, 247, .45); }
.tg svg { width: 18px; height: 18px; fill: #fff; }
.tg:hover { background: #8c47ff; }

/* abertura */
.intro { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 40px; padding: 44px 0 26px; }
.kicker { display: flex; align-items: center; gap: 8px; font: 800 italic 16px/1 var(--display); letter-spacing: 1.4px; color: var(--lime); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255, 45, 85, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 45, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 45, 85, 0); } }
h1 { margin-top: 10px; font: 900 italic clamp(44px, 6vw, 76px)/.92 var(--display); letter-spacing: -.5px; }
h1 em { color: var(--lime); font-style: italic; text-shadow: 0 0 40px rgba(184, 245, 50, .3); }
.lead { max-width: 470px; justify-self: end; color: var(--muted); font-size: 16px; }

/* atalho para a página do produto em destaque (Zelda) */
.promo { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 10px 16px 10px 10px; border-radius: 14px;
  text-decoration: none; border: 1px solid rgba(215, 191, 128, .45); background: linear-gradient(100deg, rgba(38, 61, 45, .9), rgba(20, 12, 34, .6)); }
.promo img { width: 56px; height: 56px; border-radius: 9px; object-fit: cover; object-position: 50% 40%; flex: none; }
.promo span { flex: 1; min-width: 0; color: #e9e1c6; font-size: 14px; }
.promo b { display: block; font: 800 italic 19px/1.1 var(--display); letter-spacing: .5px; color: #ead291; margin-bottom: 2px; }
.promo i { font-style: normal; font-size: 22px; color: #ead291; transition: transform .2s; }
.promo:hover { border-color: #ead291; }
.promo:hover i { transform: translateX(4px); }

/* categorias */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: flex; align-items: baseline; gap: 7px; padding: 9px 15px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font: 800 italic 18px/1 var(--display); letter-spacing: .4px; }
.chip small { font: 700 13px/1 var(--text); color: var(--muted); }
.chip:hover { border-color: rgba(184, 245, 50, .5); }
.chip[aria-pressed="true"] { background: var(--lime); color: var(--ground); border-color: var(--lime); }
.chip[aria-pressed="true"] small { color: rgba(11, 6, 20, .65); }

.bar { display: flex; align-items: center; gap: 14px; padding: 6px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.count { margin-right: auto; color: var(--muted); font-size: 14px; }
.count b { color: var(--ink); }
.sel { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sel select { height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--raise); font-size: 14px; color: var(--ink); max-width: 190px; }

/* ofertas */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--raise);
  border: 1px solid var(--line); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(184, 245, 50, .55); box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 26px rgba(184, 245, 50, .12); }
.card.new { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime), 0 0 30px rgba(184, 245, 50, .25); animation: drop .6s cubic-bezier(.2, .9, .25, 1.15); }
@keyframes drop { from { transform: translateY(-18px) scale(.96); opacity: 0; } }
.shot { position: relative; aspect-ratio: 1; display: block; background: #050309; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot.photo { background: #fff; }
.shot.none { display: grid; place-items: center; background: radial-gradient(circle, rgba(123, 47, 247, .35), transparent 70%), #050309; }
.shot.none img { width: 34%; height: auto; object-fit: contain; mix-blend-mode: screen; opacity: .8; }
.shot.photo img { object-fit: contain; padding: 14px; }
.shot .pct { position: absolute; right: 10px; top: 10px; padding: 4px 8px; border-radius: 8px; background: var(--lime); color: var(--ground);
  font: 900 italic 22px/1 var(--display); }
.novo { padding: 3px 7px; border-radius: 6px; background: var(--lime); color: var(--ground); font: 900 italic 14px/1 var(--display); letter-spacing: .6px; }
.body { flex: 1; display: flex; flex-direction: column; padding: 14px 14px 14px; }
.meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.store { padding: 3px 8px; border-radius: 999px; background: var(--ink); color: var(--ground); font-weight: 800; text-transform: uppercase; letter-spacing: .2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62%; }
.meta .when { white-space: nowrap; }
.title { margin-top: 9px; font-size: 14.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.digital { margin-top: 4px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prices { margin-top: auto; padding-top: 10px; }
.from { font: 700 17px/1 var(--display); color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.price { margin-top: 2px; display: flex; align-items: baseline; gap: 6px; color: var(--lime); }
.price b { font: 900 italic 36px/1 var(--display); letter-spacing: -.3px; }
.price span { font: 900 italic 20px/1 var(--display); }
.price small { color: var(--ink); opacity: .75; font: 700 15px/1 var(--display); }
.coupon { margin-top: 9px; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 7px 10px;
  border-radius: 9px; border: 1.5px dashed rgba(184, 245, 50, .6); background: rgba(184, 245, 50, .07); cursor: pointer; text-align: left; }
.coupon span { font-size: 10.5px; line-height: 1.15; color: var(--muted); font-weight: 700; flex: none; }
.coupon b { font: 900 italic 19px/1 var(--display); letter-spacing: .6px; color: var(--ink); }
.go { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border-radius: 11px; text-decoration: none;
  background: var(--purple); font: 900 italic 19px/1 var(--display); letter-spacing: .6px; }
.go:hover { background: #8c47ff; }
.go svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.4; }
.card.stale .shot img { opacity: .55; filter: saturate(.6); }
.card.stale .price { color: #d2e8a0; }
.check { margin-top: 6px; font-size: 11.5px; color: var(--orange); font-weight: 600; }

.fresh { display: block; margin: 0 auto 18px; padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer; background: var(--lime); color: var(--ground);
  font: 900 italic 18px/1 var(--display); letter-spacing: .5px; box-shadow: 0 0 26px rgba(184, 245, 50, .4); }
.more { display: block; margin: 30px auto 0; padding: 14px 26px; border-radius: 12px; cursor: pointer; border: 1px solid rgba(184, 245, 50, .45);
  background: transparent; font: 800 italic 19px/1 var(--display); letter-spacing: .5px; }
.more:hover { background: rgba(184, 245, 50, .08); }
.empty { padding: 60px 0; text-align: center; color: var(--muted); font-size: 16px; }
.skeleton { aspect-ratio: .62; border-radius: 18px; background: linear-gradient(100deg, var(--raise) 30%, #1d1430 50%, var(--raise) 70%) 0 0 / 300% 100%;
  animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* chamada do Telegram */
.cta { margin: 56px 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 30px; border-radius: 22px;
  background: linear-gradient(100deg, rgba(123, 47, 247, .6), rgba(123, 47, 247, .16)); border: 1px solid rgba(184, 245, 50, .35); }
.cta h2 { margin-top: 8px; font: 900 italic clamp(26px, 3.2vw, 38px)/1 var(--display); }
.cta-btn { flex: none; padding: 16px 22px; border-radius: 13px; background: var(--lime); color: var(--ground); text-decoration: none;
  font: 900 italic 21px/1 var(--display); letter-spacing: .4px; }

.foot { padding: 30px 0 46px; color: var(--muted); font-size: 13px; display: grid; gap: 8px; }
.foot b { color: var(--ink); }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 11px 18px; border-radius: 12px;
  background: var(--ink); color: var(--ground); font-weight: 700; font-size: 14px; transition: .25s ease; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .top-in { height: auto; flex-wrap: wrap; gap: 10px; padding: 10px 0; }
  .brand span { font-size: 22px; }
  .brand img { width: 36px; height: 36px; }
  .tg { margin-left: auto; height: 38px; padding: 0 12px; font-size: 16px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .intro { grid-template-columns: 1fr; gap: 12px; padding: 26px 0 18px; }
  .lead { justify-self: start; font-size: 15px; }
  .bar { flex-wrap: wrap; gap: 10px; }
  .count { flex-basis: 100%; }
  .sel { flex: 1 1 0; min-width: 0; }
  .sel span { display: none; }
  .sel select { flex: 1; min-width: 0; max-width: none; }
  .meta { gap: 6px; font-size: 11px; }
  .store { max-width: 100%; }
  .meta .when { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .body { padding: 10px; }
  .title { font-size: 13px; }
  .price b { font-size: 28px; }
  .go { height: 40px; font-size: 17px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
