/* JD Search — identidade JD Cosméticos: preto, grafite, prata e dourado */
:root {
  --bg: #0a0a0b; --bg2: #141416; --ink: #f3efe6; --ink2: rgba(243,239,230,.66); --ink3: rgba(243,239,230,.4);
  --glass: rgba(26,26,29,.58); --glass2: rgba(34,34,38,.78); --edge: rgba(255,255,255,.09); --edge2: rgba(212,175,55,.28);
  --gold: #d4af37; --gold2: #f3d77c; --gold3: #9a7420; --goldT: rgba(212,175,55,.14);
  --gold-grad: linear-gradient(135deg, #f7e3a1 0%, #e2bd5a 28%, #b8892a 55%, #f1d27a 78%, #a87b22 100%);
  --silver: linear-gradient(135deg, #f4f4f4, #b9bbbf 45%, #eeeeee 70%, #8e9095);
  --ok: #8fd39b; --warn: #ff8f7d; --shadow: 0 24px 60px -24px rgba(0,0,0,.85);
  --r: 22px; color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #e9e8e4; --bg2: #d9d8d3; --ink: #17171a; --ink2: rgba(23,23,26,.68); --ink3: rgba(23,23,26,.45);
  --glass: rgba(255,255,255,.55); --glass2: rgba(255,255,255,.8); --edge: rgba(255,255,255,.85); --edge2: rgba(154,116,32,.3);
  --gold: #a9801f; --gold2: #c99a2e; --gold3: #7a5a12; --goldT: rgba(169,128,31,.12);
  --shadow: 0 22px 50px -24px rgba(40,30,10,.35); color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; }
body { font-family: Inter, -apple-system, "Segoe UI", Roboto, system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.45; -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: env(safe-area-inset-bottom); }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden], .hide { display: none !important; }
::selection { background: var(--gold); color: #0a0a0b; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- cenário de fundo (parado: leve para o aparelho) ---------- */
.scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 80% at 50% -10%, var(--bg2), var(--bg) 62%); contain: strict; }
.scene i { position: absolute; border-radius: 50%; filter: blur(80px); }
.scene .g1 { width: 46vmax; height: 46vmax; right: -12vmax; top: -16vmax; background: radial-gradient(circle, rgba(212,175,55,.26), transparent 65%); }
.scene .g2 { width: 40vmax; height: 40vmax; left: -14vmax; bottom: -16vmax; background: radial-gradient(circle, rgba(190,192,198,.14), transparent 65%); }
.scene .g3 { width: 26vmax; height: 26vmax; left: 40vw; top: 36vh; background: radial-gradient(circle, rgba(212,175,55,.1), transparent 65%); }
.scene .lines { position: absolute; inset: 0; background-image: linear-gradient(115deg, transparent 0 48%, rgba(212,175,55,.07) 49%, transparent 50%), linear-gradient(115deg, transparent 0 70%, rgba(255,255,255,.04) 71%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%); }
:root[data-theme="light"] .scene .g2 { background: radial-gradient(circle, rgba(120,120,128,.18), transparent 65%); }

/* ---------- vidro ---------- */
.glass { background: linear-gradient(160deg, var(--glass2), var(--glass)); border: 1px solid var(--edge); border-radius: var(--r);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(212,175,55,.08), var(--shadow); }

/* ---------- LOGO EM 3D ----------
   O logo vira um objeto 3D de verdade: várias camadas empilhadas em profundidade (a lateral metálica),
   a face na frente e um brilho dourado correndo por cima. Gira no carregamento e inclina no topo do site. */
.jd3d { --w: 120px; width: var(--w); aspect-ratio: var(--ar, 1.116); position: relative; perspective: 900px; flex: none; }
.jd3d .obj { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .25s ease-out; }
.jd3d img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; user-select: none; pointer-events: none; backface-visibility: visible; }
.jd3d .ly { transform: translateZ(calc(var(--k) * var(--step, -1.1px))); filter: brightness(calc(.42 - var(--k) * .012)) sepia(.35) saturate(1.3); }
.jd3d .face { transform: translateZ(.5px); filter: drop-shadow(0 0 1px rgba(0,0,0,.5)); }
.jd3d .shine { position: absolute; inset: 0; transform: translateZ(1px); pointer-events: none;
  -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat;
  background: linear-gradient(110deg, transparent 30%, rgba(255,248,220,.0) 38%, rgba(255,248,220,.85) 47%, rgba(255,255,255,.95) 50%, rgba(255,248,220,.0) 60%, transparent 70%);
  background-size: 260% 100%; mix-blend-mode: screen; animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0% { background-position: 130% 0; } 55%, 100% { background-position: -60% 0; } }
.jd3d.big { --w: min(270px, 62vw); --step: -1.3px; }
.jd3d.big .obj { animation: spin3d 5.5s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes spin3d { 0% { transform: rotateY(-32deg) rotateX(9deg) translateY(0); } 50% { transform: rotateY(32deg) rotateX(-5deg) translateY(-8px); } 100% { transform: rotateY(-32deg) rotateX(9deg) translateY(0); } }
.jd3d.mark { --w: 46px; --ar: 1.362; --step: -.55px; }
.jd3d.mark .obj { animation: sway 7s ease-in-out infinite; }
.jd3d.mark:hover .obj { animation-play-state: paused; }
@keyframes sway { 0%, 100% { transform: rotateY(-18deg) rotateX(6deg); } 50% { transform: rotateY(18deg) rotateX(-4deg); } }
.jd3d.mid { --w: 150px; --step: -.9px; }
.jd3d.mid .obj { animation: sway 8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .jd3d .obj, .jd3d .shine { animation: none !important; } }

/* ---------- carregamento ---------- */
#loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(90% 70% at 50% 40%, #1a1813, #050505 70%); transition: opacity .7s, visibility .7s; }
#loader.out { opacity: 0; visibility: hidden; }
.ld { text-align: center; width: min(420px, 92vw); }
.ld-stage { position: relative; height: min(46vh, 330px); display: grid; place-items: center; }
.ld .halo { position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,.32), rgba(212,175,55,.06) 45%, transparent 70%); filter: blur(10px); animation: pulse 2.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .75; } }
.ld .floor { position: absolute; bottom: 4%; left: 50%; width: 52%; height: 26px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(212,175,55,.35), transparent); filter: blur(6px); animation: floor 5.5s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes floor { 50% { transform: translateX(-50%) scale(.86); opacity: .6; } }
.sparks i { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--gold2); box-shadow: 0 0 10px var(--gold); opacity: 0; animation: spark 3.2s ease-out infinite; }
.sparks i:nth-child(1) { --x: -120px; --y: -90px; animation-delay: 0s; } .sparks i:nth-child(2) { --x: 130px; --y: -70px; animation-delay: .4s; }
.sparks i:nth-child(3) { --x: -140px; --y: 40px; animation-delay: .8s; } .sparks i:nth-child(4) { --x: 120px; --y: 70px; animation-delay: 1.2s; }
.sparks i:nth-child(5) { --x: -40px; --y: -130px; animation-delay: 1.6s; } .sparks i:nth-child(6) { --x: 60px; --y: 120px; animation-delay: 2s; }
.sparks i:nth-child(7) { --x: 150px; --y: -10px; animation-delay: 2.4s; } .sparks i:nth-child(8) { --x: -150px; --y: -20px; animation-delay: 2.8s; }
@keyframes spark { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.4); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1); } }
.ld-name { font-family: Cinzel, serif; font-size: 26px; letter-spacing: .24em; color: #e9e3d2; margin-top: 10px; }
.ld-name b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ld-msg { color: rgba(233,227,210,.6); font-size: 13px; letter-spacing: .04em; height: 20px; margin-top: 8px; transition: opacity .3s; }
.ld-bar { width: 180px; height: 2px; margin: 14px auto 0; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.ld-bar i { display: block; height: 100%; width: 6%; background: var(--gold-grad); box-shadow: 0 0 12px var(--gold); transition: width .3s; }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 9px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: linear-gradient(180deg, var(--glass2), var(--glass)); border-bottom: 1px solid var(--edge2);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; }
.brand .t b { display: block; font-family: Cinzel, serif; font-size: 17px; letter-spacing: .12em; line-height: 1.05; }
.brand .t b span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .t small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .22em; color: var(--ink3); text-transform: uppercase; }
.icon-btn, .pill-btn { height: 38px; min-width: 38px; border-radius: 999px; border: 1px solid var(--edge); background: var(--glass); display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 0 11px; font-size: 13px; font-weight: 600; transition: transform .2s, border-color .2s, background .2s; }
.icon-btn { padding: 0; }
.icon-btn:hover, .pill-btn:hover { border-color: var(--edge2); transform: translateY(-1px); }
.icon-btn svg, .pill-btn svg { width: 18px; height: 18px; }
.pill-btn.gold { color: #17120a; background: var(--gold-grad); border-color: transparent; box-shadow: 0 6px 18px -8px rgba(212,175,55,.8); }
.pill-btn.install:not(.ready) { opacity: .92; }
.usage { gap: 6px; font-variant-numeric: tabular-nums; }
.usage .ring { width: 20px; height: 20px; }
.ring .bgc { fill: none; stroke: var(--edge); stroke-width: 3; } .ring .fg { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset .6s; }
.usage.warn .ring .fg { stroke: var(--warn); }
:root[data-theme="dark"] .sun, :root[data-theme="light"] .moon { display: none; }
@media (max-width: 560px) { .pill-btn .lbl { display: none; } .pill-btn { padding: 0 10px; } .brand .t small { display: none; } }

/* ---------- telas ---------- */
.center { min-height: calc(100dvh - 70px); display: grid; place-items: center; padding: 24px 16px; }
.panel { width: min(400px, 100%); padding: 28px 24px; text-align: center; animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.panel .jd3d { margin: 0 auto 10px; }
.panel h2 { font-family: Cinzel, serif; font-size: 22px; letter-spacing: .06em; margin-top: 4px; }
.sub { color: var(--ink2); font-size: 13.5px; margin-top: 6px; }
label.f { display: block; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--ink2); margin: 14px 0 6px; text-transform: uppercase; }
.input { width: 100%; height: 48px; border-radius: 14px; border: 1px solid var(--edge); background: rgba(0,0,0,.25); padding: 0 14px; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s; }
:root[data-theme="light"] .input { background: rgba(255,255,255,.7); }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--goldT); }
.pw { position: relative; } .pw .input { padding-right: 48px; } .pw .icon-btn { position: absolute; right: 5px; top: 5px; border: 0; background: none; }
.err { min-height: 18px; color: var(--warn); font-size: 13px; margin-top: 10px; }
.btn { width: 100%; height: 50px; border: 0; border-radius: 15px; margin-top: 12px; font-weight: 700; font-size: 15px; letter-spacing: .02em; color: #17120a; background: var(--gold-grad);
  box-shadow: 0 10px 26px -12px rgba(212,175,55,.85), inset 0 1px 0 rgba(255,255,255,.5); transition: transform .15s, filter .2s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:hover { filter: brightness(1.06); } .btn:active { transform: scale(.98); } .btn:disabled { opacity: .55; cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--edge); box-shadow: none; }
.btn small { display: block; font-size: 11px; font-weight: 600; opacity: .7; }
.tagline { margin-top: 16px; font-size: 11.5px; color: var(--ink3); letter-spacing: .04em; }
.wait .orb { width: 72px; height: 72px; margin: 4px auto 8px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--goldT); border-top-color: var(--gold); animation: turn 1.2s linear infinite; }
.wait .orb svg { width: 26px; height: 26px; color: var(--gold); animation: turn 1.2s linear infinite reverse; }
@keyframes turn { to { transform: rotate(360deg); } }
.kv { margin-top: 12px; font-size: 13px; color: var(--ink2); }

/* termos */
.terms { width: min(640px, 100%); padding: 22px; display: grid; gap: 12px; animation: rise .6s both; }
.terms h2 { font-family: Cinzel, serif; }
.terms .scroll { max-height: 48vh; overflow: auto; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--edge); background: rgba(0,0,0,.18); font-size: 13.5px; color: var(--ink2); }
.terms .scroll h3 { color: var(--gold2); font-size: 14px; margin: 12px 0 4px; } .terms .scroll p { margin: 6px 0; }
:root[data-theme="light"] .terms .scroll h3 { color: var(--gold3); }
.hint { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink3); } .hint svg { width: 15px; height: 15px; } .hint.ok { color: var(--ok); }
.chk { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 13px; color: var(--ink2); opacity: .5; } .chk.on { opacity: 1; }
.chk input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex: none; }

/* ---------- busca ---------- */
main { width: min(1080px, 100%); margin: 0 auto; padding: 18px 16px 60px; }
.hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin: 6px 4px 16px; }
.hero h1 { font-family: Cinzel, serif; font-size: clamp(22px, 3.4vw, 30px); letter-spacing: .04em; }
.hero p { color: var(--ink2); font-size: 13.5px; margin-top: 4px; }
.cat-card { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 18px; transition: transform .2s; }
.cat-card:hover { transform: translateY(-2px); }
.cat-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-grad); color: #17120a; }
.cat-card .ic svg { width: 20px; height: 20px; }
.cat-card b { display: block; font-size: 13px; } .cat-card small { color: var(--ink3); font-size: 11.5px; }
.filters { padding: 16px; display: grid; gap: 14px; animation: rise .6s .05s both; }
.seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 15px; background: rgba(0,0,0,.25); border: 1px solid var(--edge); }
:root[data-theme="light"] .seg { background: rgba(255,255,255,.6); }
.seg .knob { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 11px; background: var(--gold-grad); box-shadow: 0 6px 16px -8px rgba(212,175,55,.9); transition: transform .45s cubic-bezier(.3,1.3,.5,1), width .3s; }
.seg button { position: relative; z-index: 1; height: 40px; border: 0; background: none; border-radius: 11px; font-weight: 700; font-size: 14px; color: var(--ink2); transition: color .25s; }
.seg button[aria-checked="true"] { color: #17120a; }
.row2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.sel small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin: 0 0 6px 2px; }
.sel select { width: 100%; height: 46px; border-radius: 13px; border: 1px solid var(--edge); background: rgba(0,0,0,.25); padding: 0 12px; font-size: 14.5px; outline: none; color-scheme: inherit; }
:root[data-theme="light"] .sel select { background: rgba(255,255,255,.7); }
.sel select:focus { border-color: var(--gold); }
.toggles { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.tg { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink2); cursor: pointer; user-select: none; }
.tg input { display: none; } .tg .sw { position: relative; width: 38px; height: 22px; border-radius: 22px; background: rgba(255,255,255,.12); transition: background .3s; flex: none; }
.tg .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #cfcfd4; transition: transform .35s cubic-bezier(.3,1.4,.5,1), background .3s; }
.tg input:checked + .sw { background: var(--goldT); } .tg input:checked + .sw::after { transform: translateX(16px); background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.limit-ban { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid rgba(255,143,125,.35); background: rgba(255,143,125,.08); font-size: 13px; }
.limit-ban svg { width: 20px; height: 20px; color: var(--warn); flex: none; }
.sumline { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 22px 4px 12px; font-size: 13px; color: var(--ink2); }
.sumline b { color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.card { padding: 16px; display: flex; flex-direction: column; gap: 9px; animation: rise .5s both; transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); border-color: var(--edge2); }
.card h3 { font-size: 15.5px; line-height: 1.25; }
.chip { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 9px; border-radius: 20px; color: var(--gold2); background: var(--goldT); border: 1px solid var(--edge2); }
:root[data-theme="light"] .chip { color: var(--gold3); }
.rate { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink2); } .rate svg { width: 14px; height: 14px; color: var(--gold); } .rate b { color: var(--ink); }
.addr { font-size: 12.5px; color: var(--ink2); } .phone { font-size: 12.5px; color: var(--ink3); font-variant-numeric: tabular-nums; }
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding-top: 4px; }
.act { height: 52px; border-radius: 14px; border: 1px solid var(--edge); background: rgba(255,255,255,.04); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--ink2); transition: transform .2s, background .2s, color .2s; }
.act svg { width: 19px; height: 19px; }
.act:hover { transform: translateY(-2px); color: var(--ink); background: rgba(255,255,255,.08); }
.act.wa:not(.off) { color: #17120a; background: var(--gold-grad); border-color: transparent; box-shadow: 0 8px 20px -10px rgba(212,175,55,.9); }
.act.off { opacity: .4; cursor: not-allowed; } .act.off:hover { transform: none; }
.called { height: 40px; border-radius: 12px; border: 1px dashed var(--edge2); background: none; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink2); transition: .25s; }
.called svg { width: 15px; height: 15px; opacity: .45; }
.called[aria-pressed="true"] { border-style: solid; color: var(--gold2); background: var(--goldT); } .called[aria-pressed="true"] svg { opacity: 1; }
:root[data-theme="light"] .called[aria-pressed="true"] { color: var(--gold3); }
.card.done { opacity: .62; } .card.done:hover { opacity: 1; }
.card.gone { animation: gone .34s forwards; } @keyframes gone { to { opacity: 0; transform: scale(.95); } }
.empty { text-align: center; color: var(--ink3); padding: 40px 10px; font-size: 14px; }
.more { display: grid; place-items: center; margin-top: 18px; } .more .btn { width: auto; padding: 0 26px; height: 54px; flex-direction: column; gap: 0; }

/* radar dourado durante a busca */
#radar { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(5,5,6,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
#radar.on { opacity: 1; visibility: visible; }
.rd { text-align: center; color: #efe9da; }
.rd .disc { position: relative; width: min(260px, 66vw); aspect-ratio: 1; margin: 0 auto 18px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.08), transparent 70%), repeating-radial-gradient(circle, transparent 0 22%, rgba(212,175,55,.22) 22.4% 22.8%); border: 1px solid rgba(212,175,55,.4); overflow: hidden; box-shadow: 0 0 60px -10px rgba(212,175,55,.4); }
.rd .disc::before { content: ""; position: absolute; inset: 0; background: conic-gradient(from 0deg, rgba(243,215,124,.55), transparent 22%); animation: turn 2.4s linear infinite; }
.rd .disc i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--gold2); box-shadow: 0 0 12px var(--gold); animation: blip 2.4s ease-out infinite; animation-delay: var(--d); opacity: 0; }
@keyframes blip { 0% { opacity: 0; transform: scale(.4); } 10% { opacity: 1; transform: scale(1.2); } 70% { opacity: .7; } 100% { opacity: 0; transform: scale(1); } }
.rd .disc .c { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px var(--gold); }
.rd h3 { font-family: Cinzel, serif; letter-spacing: .06em; } .rd p { font-size: 13px; color: rgba(239,233,218,.65); margin-top: 4px; }

/* modal + toast */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.55); animation: fade .25s both; }
@keyframes fade { from { opacity: 0; } }
.modal > .glass { width: min(420px, 100%); padding: 24px 22px; text-align: center; animation: rise .4s both; background: linear-gradient(160deg, rgba(36,35,38,.95), rgba(20,20,22,.96)); }
:root[data-theme="light"] .modal > .glass { background: linear-gradient(160deg, rgba(255,255,255,.96), rgba(240,239,235,.96)); }
.modal h2 { font-family: Cinzel, serif; font-size: 20px; margin: 8px 0 8px; } .modal p { color: var(--ink2); font-size: 14px; margin: 6px 0; }
.modal .em { width: 54px; height: 54px; margin: 0 auto; border-radius: 16px; display: grid; place-items: center; background: var(--gold-grad); color: #17120a; } .modal .em svg { width: 26px; height: 26px; }
.modal ol { text-align: left; color: var(--ink2); font-size: 14px; padding-left: 20px; margin: 10px 0; }
.steps { display: grid; gap: 10px; margin: 12px 0; text-align: left; }
.steps .st { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--edge); font-size: 13.5px; }
.steps .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--gold-grad); color: #17120a; flex: none; }
.steps .ic svg { width: 20px; height: 20px; color: var(--gold); }
.ios-arrow { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); color: var(--gold2); animation: bob 1.2s ease-in-out infinite; z-index: 90; }
.ios-arrow svg { width: 30px; height: 30px; } .top-arrow .ios-arrow { bottom: auto; top: 14px; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }
.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 95; transform: translate(-50%, 30px); opacity: 0; padding: 12px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: rgba(22,22,24,.94); color: #f3efe6; border: 1px solid var(--edge2); box-shadow: var(--shadow); transition: .35s cubic-bezier(.2,.8,.2,1); pointer-events: none; max-width: 92vw; text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } .grid { grid-template-columns: 1fr; } .hero { align-items: stretch; } .cat-card { width: 100%; } }
.brand .t b { white-space: nowrap; }
@media (max-width: 440px) { .brand .t { display: none; } .top { gap: 7px; padding-left: 12px; padding-right: 12px; } }
