/* ============================================================
   DLC MARKET — Catalog styles  (animated / editorial)
   Luxury black + gold. Mobile-first. Lots of motion.
   Brand colors live in :root.
   ============================================================ */
:root {
  --bg:        #0A0A0A;
  --bg-2:      #0e0e0e;
  --bg-elev:   #161616;
  --bg-elev-2: #1e1e1e;
  --gold:      #C9A24B;
  --gold-hi:   #E7CE86;
  --gold-soft: rgba(201,162,75,.14);
  --text:      #F6F3EB;
  --muted:     #A7A199;
  --line:      rgba(255,255,255,.09);
  --wa:        #25D366;
  --wa-dk:     #1ebe5a;
  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1240px;
  --shadow:    0 26px 60px -28px rgba(0,0,0,.92);
  --serif:     "Playfair Display", Georgia, serif;
  --sans:      "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease:      cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.gold { color: var(--gold); }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Icons ---------- */
:root {
  --wa-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M16.04 4C9.95 4 5 8.95 5 15.04c0 2.04.55 3.96 1.52 5.62L5 28l7.53-1.48a11 11 0 0 0 3.5.57h.01C22.13 27.09 27.08 22.14 27.08 16.05 27.08 8.95 22.13 4 16.04 4Zm0 20.2c-1.07 0-2.12-.18-3.12-.54l-.22-.08-4.47.88.9-4.36-.14-.22a9.13 9.13 0 0 1-1.4-4.84c0-5.04 4.11-9.15 9.16-9.15 2.45 0 4.74.95 6.47 2.68a9.1 9.1 0 0 1 2.68 6.48c0 5.05-4.11 9.16-9.14 9.16Zm5.02-6.85c-.27-.14-1.62-.8-1.87-.89-.25-.09-.43-.14-.62.14-.18.27-.71.89-.87 1.07-.16.18-.32.2-.59.07-.27-.14-1.16-.43-2.21-1.36-.82-.73-1.37-1.63-1.53-1.9-.16-.27-.02-.42.12-.55.12-.12.27-.32.41-.48.14-.16.18-.27.27-.46.09-.18.05-.34-.02-.48-.07-.14-.62-1.49-.85-2.04-.22-.53-.45-.46-.62-.47l-.53-.01c-.18 0-.48.07-.73.34-.25.27-.96.94-.96 2.29 0 1.35.98 2.66 1.12 2.84.14.18 1.93 2.95 4.68 4.14.65.28 1.16.45 1.56.58.65.21 1.25.18 1.72.11.52-.08 1.62-.66 1.85-1.3.23-.64.23-1.18.16-1.3-.07-.12-.25-.18-.52-.32Z"/></svg>');
  --search-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M10 2a8 8 0 1 0 4.9 14.32l5.39 5.38 1.41-1.41-5.38-5.39A8 8 0 0 0 10 2Zm0 2a6 6 0 1 1 0 12 6 6 0 0 1 0-12Z"/></svg>');
}
.wa-ico { width: 18px; height: 18px; flex: 0 0 auto; background-color: currentColor; -webkit-mask: var(--wa-mask) center/contain no-repeat; mask: var(--wa-mask) center/contain no-repeat; }
.wa-ico-lg { width: 26px; height: 26px; }
:root { --tg-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9.78 18.65l.28-4.23 7.68-6.92c.34-.31-.07-.46-.52-.19L7.74 13.3 3.64 12c-.88-.25-.89-.86.2-1.3l15.97-6.16c.73-.33 1.43.18 1.15 1.3l-2.72 12.81c-.19.91-.74 1.13-1.5.71L12.6 16.3l-1.99 1.93c-.23.23-.42.42-.83.42z"/></svg>'); }
.tg-ico { width: 18px; height: 18px; flex: 0 0 auto; background-color: currentColor; -webkit-mask: var(--tg-mask) center/contain no-repeat; mask: var(--tg-mask) center/contain no-repeat; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: .92rem; line-height: 1;
  padding: 13px 21px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .16s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-gold { background: var(--gold); color: #1a1407; }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--line); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-wa { background: var(--wa); color: #04210f; box-shadow: 0 10px 26px -12px rgba(37,211,102,.6); }
.btn-wa:hover { background: var(--wa-dk); transform: translateY(-2px); }
.btn-tg { background: #229ED9; color: #fff; box-shadow: 0 10px 26px -12px rgba(34,158,217,.6); }
.btn-tg:hover { background: #1b8ec3; color: #fff; transform: translateY(-2px); }
.link-btn { background: none; border: none; color: var(--gold-hi); font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }

/* ---------- Announcement ---------- */
.announce { background: linear-gradient(90deg,var(--gold),var(--gold-hi),var(--gold)); background-size: 200% 100%;
  color: #1a1407; text-align: center; font-size: .82rem; font-weight: 600; letter-spacing: .02em; padding: 8px 14px;
  animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 200% 0; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(10,10,10,.55);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.scrolled { background: rgba(10,10,10,.82); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; }
.brand { display: inline-flex; align-items: baseline; gap: 7px; font-family: var(--serif); }
.brand-mark { color: var(--gold); font-weight: 800; font-size: 1.35rem; }
.brand-rest { color: var(--text); font-weight: 600; font-size: 1.02rem; letter-spacing: .26em; }
.header-right { display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-toggle button { background: transparent; color: var(--muted); border: none; font: 600 .76rem var(--sans); letter-spacing: .04em; padding: 7px 11px; cursor: pointer; transition: background .2s, color .2s; }
.lang-toggle button[aria-pressed="true"] { background: var(--gold); color: #1a1407; }
.header-cta { padding: 9px 15px; font-size: .82rem; }
@media (max-width: 560px) { .header-cta span:not(.wa-ico) { display: none; } .header-cta { padding: 10px; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: center;
  overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: -8% -4%; background: #111 center/cover no-repeat;
  transform: scale(1.12) translate3d(0, var(--py,0px), 0); transition: transform .1s linear; }
.hero-overlay { position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 18% 30%, rgba(10,10,10,.30), transparent 55%),
    linear-gradient(180deg, rgba(10,10,10,.62) 0%, rgba(10,10,10,.40) 38%, rgba(10,10,10,.78) 100%),
    radial-gradient(90% 60% at 85% 8%, rgba(201,162,75,.16), transparent 60%); }
.hero-grain { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  box-shadow: inset 0 0 220px 40px rgba(0,0,0,.65); }
.hero-content { position: relative; z-index: 2; padding: 90px 18px 80px; max-width: 880px; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .42em; font-size: .72rem; font-weight: 600; margin: 0 0 16px; }
.hero-title { font-family: var(--serif); font-weight: 800; line-height: .98; margin: 0;
  font-size: clamp(3rem, 13vw, 6.6rem); letter-spacing: .01em; text-shadow: 0 8px 40px rgba(0,0,0,.5); }
.hero-rule { width: 70px; height: 2px; background: var(--gold); margin: 22px 0 20px; transform-origin: left; }
.reveal.hero-rule { transform: scaleX(0); transition: transform .8s var(--ease) .2s, opacity .6s; opacity: 0; }
.reveal.hero-rule.in { transform: scaleX(1); opacity: 1; }
.hero-tag { max-width: 560px; color: #e6e1d6; font-size: clamp(1.02rem, 2.6vw, 1.22rem); margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.hero-how { margin: 22px 0 0; color: #c8c2b6; font-size: .86rem; max-width: 520px; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; display: flex; justify-content: center; }
.scroll-dot { width: 4px; height: 8px; background: var(--gold-hi); border-radius: 4px; margin-top: 7px; animation: scrolldot 1.6s var(--ease) infinite; }
@keyframes scrolldot { 0%{opacity:0; transform: translateY(-4px);} 40%{opacity:1;} 100%{opacity:0; transform: translateY(12px);} }

/* ---------- Section scaffolding ---------- */
.section-eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .34em; font-size: .7rem; font-weight: 600; margin: 0 0 10px; }
.section-title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 5.5vw, 3rem); line-height: 1.06; margin: 0 0 28px; }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-bottom: 1px solid var(--line); }
.stats-row { display: flex; justify-content: center; gap: clamp(20px, 8vw, 90px); padding: 30px 18px; flex-wrap: wrap; text-align: center; }
.stat { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-num { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem,7vw,2.8rem); color: var(--gold); line-height: 1; }
.stat-plus { display: none; }
.stat-label { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; }
.stat-ico-wa { width: 34px; height: 34px; background: var(--wa); -webkit-mask: var(--wa-mask) center/contain no-repeat; mask: var(--wa-mask) center/contain no-repeat; }

/* ---------- How it works ---------- */
.how { padding: clamp(56px,9vw,96px) 0; }
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px){ .steps { grid-template-columns: repeat(3,1fr); } }
.step { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .25s var(--ease), border-color .25s; }
.step:hover { transform: translateY(-5px); border-color: rgba(201,162,75,.4); }
.step-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: var(--gold);
  background: var(--gold-soft); border: 1px solid rgba(201,162,75,.25); margin-bottom: 16px; }
.step-ico svg { width: 26px; height: 26px; }
.step-ico .wa-ico { color: var(--wa); }
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin: 0 0 7px; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }
.step:nth-child(2){ transition-delay: .08s; } .step:nth-child(3){ transition-delay: .16s; }

/* ---------- Category tiles ---------- */
.cats { padding: clamp(20px,5vw,40px) 0 clamp(48px,8vw,80px); }
.cat-tiles { display: grid; gap: 12px; grid-template-columns: repeat(2,1fr); }
@media (min-width: 620px){ .cat-tiles { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 920px){ .cat-tiles { grid-template-columns: repeat(4,1fr); gap: 14px; } }
.cat-tile { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); background: #111; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.05) 30%, rgba(10,10,10,.86)); }
.cat-tile:hover img { transform: scale(1.08); }
.cat-tile-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px; }
.cat-tile-name { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.cat-tile-count { color: var(--gold-hi); font-size: .76rem; font-weight: 600; letter-spacing: .04em; }
.cat-tile .arrow { position: absolute; top: 12px; right: 12px; z-index: 2; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(10,10,10,.55); border: 1px solid rgba(255,255,255,.18); color: var(--gold-hi); display: grid; place-items: center;
  opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.cat-tile:hover .arrow { opacity: 1; transform: none; }

/* ---------- Featured rail ---------- */
.featured { padding: clamp(40px,7vw,72px) 0; background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.feat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.feat-head .section-title { margin-bottom: 0; }
.feat-hint { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.feat-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 24px max(18px, calc((100vw - var(--maxw))/2 + 18px)); scrollbar-width: none; }
.feat-rail::-webkit-scrollbar { display: none; }
.feat-card { scroll-snap-align: start; flex: 0 0 auto; width: 220px; }

/* ---------- Catalog ---------- */
.catalog { padding: clamp(40px,7vw,70px) 0 10px; }
.catalog .wrap:first-child { text-align: center; }
.catalog .section-title { margin-bottom: 6px; }
.controls { position: sticky; top: 62px; z-index: 50; background: rgba(10,10,10,.82);
  backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0 12px; margin-top: 14px; }
.search-row { position: relative; }
.search-ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; background: var(--muted);
  -webkit-mask: var(--search-mask) center/contain no-repeat; mask: var(--search-mask) center/contain no-repeat; }
.search-input { width: 100%; padding: 13px 16px 13px 42px; background: var(--bg-elev); color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; font-size: 1rem; font-family: var(--sans); outline: none;
  transition: border-color .2s, box-shadow .2s; }
.search-input::placeholder { color: var(--muted); }
.search-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.chips { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; background: var(--bg-elev); color: var(--muted); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; font: 600 .85rem var(--sans); cursor: pointer; white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.22); }
.chip[aria-pressed="true"] { background: var(--gold); color: #1a1407; border-color: var(--gold); }
.count { margin: 11px 0 0; color: var(--muted); font-size: .8rem; letter-spacing: .02em; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(2,1fr); padding-top: 24px; }
@media (min-width: 560px){ .grid { grid-template-columns: repeat(3,1fr); gap: 18px; } }
@media (min-width: 860px){ .grid { grid-template-columns: repeat(4,1fr); } }
@media (min-width: 1100px){ .grid { grid-template-columns: repeat(5,1fr); } }

.card { display: flex; flex-direction: column; background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .22s var(--ease), border-color .22s, box-shadow .22s; }
.card.reveal { transform: translateY(22px); }
.card.reveal.in { transform: none; }
.card:hover { transform: translateY(-6px); border-color: rgba(201,162,75,.5); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 1/1; background: #fff; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-cat { position: absolute; top: 9px; left: 9px; background: rgba(10,10,10,.78); color: var(--gold-hi);
  font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; backdrop-filter: blur(4px); }
.card-body { display: flex; flex-direction: column; gap: 7px; padding: 13px 13px 14px; flex: 1; }
.card-name { font-family: var(--serif); font-weight: 600; font-size: .98rem; line-height: 1.25; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { color: var(--gold); font-weight: 700; font-size: .95rem; margin: 0; }
.card-desc { color: var(--muted); font-size: .8rem; line-height: 1.45; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-order { margin-top: auto; width: 100%; padding: 11px 14px; font-size: .85rem; }
.feat-card .card-desc { display: none; }

.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.sentinel { height: 1px; }
.loadmore-wrap { display: flex; justify-content: center; margin-top: 26px; }

/* ---------- Value / Haiti band ---------- */
.value { position: relative; overflow: hidden; padding: clamp(60px,10vw,110px) 0; margin-top: 40px; }
.value-bg { position: absolute; inset: -6%; background: #111 center/cover no-repeat; transform: scale(1.1) translate3d(0,var(--py2,0px),0); transition: transform .1s linear; }
.value-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.82), rgba(10,10,10,.7) 50%, rgba(10,10,10,.9)); }
.value-content { position: relative; z-index: 2; text-align: center; }
.value-title { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem,6vw,3.2rem); margin: 0 0 34px; }
.value-items { display: grid; gap: 18px; grid-template-columns: 1fr; max-width: 880px; margin: 0 auto 34px; }
@media (min-width: 760px){ .value-items { grid-template-columns: repeat(3,1fr); } }
.vitem { background: rgba(22,22,22,.6); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; backdrop-filter: blur(6px); }
.vitem .wa-ico { color: var(--wa); margin: 0 auto; }
.vitem-flag { font-size: 1.9rem; } .vitem-spark { color: var(--gold); font-size: 1.7rem; }
.vitem h3 { font-family: var(--serif); font-weight: 600; font-size: 1.16rem; margin: 12px 0 6px; }
.vitem p { color: var(--muted); font-size: .9rem; margin: 0; }
.vitem:nth-child(2){ transition-delay: .08s; } .vitem:nth-child(3){ transition-delay: .16s; }
.value-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #070707; padding: 48px 0 96px; }
.footer-inner { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer-brand { display: inline-flex; align-items: baseline; gap: 7px; }
.footer-about { color: var(--muted); font-size: .9rem; max-width: 640px; margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.footer-links a { color: var(--gold-hi); font-size: .9rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { color: #6c665e; font-size: .78rem; margin: 8px 0 0; }

/* ---------- Floating WhatsApp ---------- */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa); color: #04210f; padding: 13px 17px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.55), 0 6px 16px rgba(0,0,0,.5); transition: transform .15s var(--ease), background .2s; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.45);} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }
.fab:hover { background: var(--wa-dk); transform: translateY(-2px); }
@media (max-width: 480px){ .fab { padding: 14px; } .fab-label { display: none; } }

.noscript { background: var(--gold); color: #1a1407; text-align: center; padding: 14px; font-weight: 600; }
.noscript a { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-bg, .value-bg { transform: none !important; }
}
