/* Página de download dos aplicativos. Mesma carta do site e do launcher: tinta, papel, vermelho-laca para a ação. */
:root{
  color-scheme:dark;
  --bg0:#100f18;--bg1:#16141f;--bg3:#262235;
  --text:#eee5d0;--muted:#c2b9a8;--dim:#a39a8b;
  --shu:#cb422c;--shu-btn:#bf3b26;--shu-hi:#a5321f;--gold:#e2aa4e;--gold-hi:#f2cf86;
  --line:rgba(238,229,208,.12);--line2:rgba(238,229,208,.22);--edge:rgba(238,229,208,.46);
  --glass:rgba(16,15,24,.86);
  --display:"Shippori Mincho B1","Shippori Mincho","Yu Mincho",serif;
  --ui:"Zen Kaku Gothic New","Segoe UI",system-ui,-apple-system,sans-serif;
  --wrap:1080px;--gut:clamp(16px,4vw,48px);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;background:var(--bg0);color:var(--text);font:500 16px/1.55 var(--ui);display:flex;flex-direction:column}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2{font-family:var(--display);font-weight:800;line-height:1.12;margin:0}
p{margin:0}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
[hidden]{display:none!important}
.skip{position:absolute;left:-999px;top:0;background:var(--text);color:var(--bg0);padding:10px 14px;z-index:99}
.skip:focus{left:8px;top:8px}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

.stage{position:fixed;inset:0;z-index:-1;overflow:hidden}
.stage img{width:100%;height:100%;object-fit:cover;object-position:60% 35%}
.stage::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(16,15,24,.55) 0%,rgba(16,15,24,.78) 45%,rgba(16,15,24,.96) 100%)}

/* topo: voltar · marca · Discord e jogar no navegador */
.top{position:sticky;top:0;z-index:10;background:rgba(16,15,24,.82);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.top .wrap{display:flex;align-items:center;gap:16px;min-height:64px}
.back{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px 0 8px;border-radius:3px;text-decoration:none;font-weight:700;color:var(--text);box-shadow:inset 0 0 0 1px var(--line2);transition:box-shadow .15s,background .15s}
.back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.back:hover{box-shadow:inset 0 0 0 1px var(--edge);background:rgba(238,229,208,.05)}
.brand img{width:132px}
.right{margin-left:auto;display:flex;align-items:center;gap:10px}
.dc{width:44px;height:44px;border-radius:3px;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px var(--line2);transition:background .15s,color .15s}
.dc svg{width:22px;height:22px}
.dc:hover,.dc:focus-visible{background:#5865F2;color:#fff;box-shadow:none}

/* botões */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;border:0;border-radius:3px;background:var(--bg3);color:var(--text);font:700 17px/1 var(--ui);text-decoration:none;cursor:pointer;transition:background .15s,transform .1s,box-shadow .15s}
.btn:active{transform:translateY(1px)}
.btn.primary{background:var(--shu-btn);color:#fff5ec}
.btn.primary:hover{background:var(--shu-hi)}
.btn.line{background:transparent;box-shadow:inset 0 0 0 1px var(--edge)}
.btn.line:hover{box-shadow:inset 0 0 0 1px var(--text)}
.btn.small{min-height:44px;padding:0 18px;font-size:15px}
.btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

main{flex:1;padding-top:clamp(40px,9vh,88px);padding-bottom:48px}
.intro{max-width:44em;margin-bottom:32px}
.intro h1{font-size:clamp(34px,5vw,56px)}
.lead{margin-top:14px;font-size:clamp(16px,1.6vw,19px);color:var(--muted)}

.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.card{position:relative;background:var(--glass);border:1px solid var(--line);border-radius:6px;padding:26px;display:flex;flex-direction:column;gap:16px;box-shadow:0 20px 50px rgba(0,0,0,.35)}
.card.is-pick{border-color:rgba(226,170,78,.6);box-shadow:0 0 0 1px rgba(226,170,78,.35),0 20px 50px rgba(0,0,0,.4)}
.card header{display:flex;align-items:center;gap:12px}
.card .os{width:30px;height:30px;color:var(--gold)}
.card h2{font-size:28px}
.pick{position:absolute;top:-12px;right:20px;background:var(--gold);color:#1a1408;font:700 12px/1 var(--ui);letter-spacing:.04em;text-transform:uppercase;padding:6px 10px;border-radius:3px}
.card ul{margin:0;padding-left:20px;color:var(--muted);display:grid;gap:4px}
.card .dl{align-self:flex-start;min-width:min(100%,280px)}
.meta{font-size:13.5px;color:var(--dim);font-variant-numeric:tabular-nums;min-height:1.4em}
details{border-top:1px solid var(--line);padding-top:12px}
summary{cursor:pointer;font-weight:700;font-size:15px;color:var(--muted);list-style:none;display:flex;align-items:center;gap:8px;min-height:32px}
summary::-webkit-details-marker{display:none}
summary::before{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .15s}
details[open] summary::before{transform:rotate(45deg)}
summary:hover{color:var(--text)}
details ol{margin:10px 0 0;padding-left:20px;color:var(--muted);font-size:14.5px;display:grid;gap:6px}

.ios{margin-top:22px;color:var(--muted);font-size:15px}
.ios a{color:var(--text)}

.shots{margin-top:40px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.shots img{border-radius:4px;border:1px solid var(--line);aspect-ratio:760/427;object-fit:cover}

.foot{border-top:1px solid var(--line);background:rgba(16,15,24,.9)}
.foot .wrap{display:flex;flex-wrap:wrap;gap:8px 24px;padding-top:20px;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px));font-size:14px}
.foot a{color:var(--muted);text-decoration:none;min-height:32px;display:inline-flex;align-items:center}
.foot a:hover{color:var(--text);text-decoration:underline}

@media (max-width:820px){
  .cards{grid-template-columns:1fr}
  .card.is-pick{order:-1}
  .shots{grid-template-columns:1fr 1fr}
  .shots img:last-child{display:none}
}
@media (max-width:560px){
  .top .wrap{gap:10px}
  .back span{display:none}
  .back{padding:0 10px}
  .brand img{width:110px}
  .right .btn{display:none}
  .card{padding:22px 18px}
  .card .dl{width:100%}
}
