/* EvoplayPlay — guida alle slot Evoplay. Stile semplice, vicino ai classici siti di recensioni */
:root{
  --bg:#f5f5f5; --white:#fff; --line:#e6e6e6; --zebra:#f3f3f6;
  --text:#111; --muted:#666;
  --brand:#5b4bc4; --brand-dark:#4a3aa8; --link:#4f46b8;
  --grad:linear-gradient(110deg,#6478e4 0%,#7f5ad6 55%,#7b4fb5 100%);
  --btn:linear-gradient(90deg,#6c7ae0,#7d4fc6);
  --red:#e0242e; --ok:#1a9b52;
  --wrap:1060px;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:400 15px/1.55 var(--font);overflow-x:hidden}
img{max-width:100%;display:block}
a{color:var(--link)}
h1,h2,h3{font-weight:500;line-height:1.2;margin:0 0 .5em;color:var(--text)}
h1{font-size:34px;font-weight:700}
h2{font-size:28px}
h3{font-size:19px}
p{margin:0 0 1em}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 16px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

/* ---------- header ---------- */
.hdr{background:var(--white);position:sticky;top:0;z-index:50}
.hdr-top{display:flex;align-items:center;gap:16px;height:58px}
.logo{display:flex;align-items:center;gap:6px;font-weight:800;font-size:20px;color:var(--text);text-decoration:none;white-space:nowrap}
.logo svg{width:24px;height:24px}
.logo small{display:none}
.search{flex:1;position:relative}
.search input{width:100%;height:38px;border:0;border-radius:8px;background:#f0f0f2;padding:0 12px 0 38px;font:15px var(--font);color:var(--text)}
.search svg{position:absolute;left:11px;top:9px;width:20px;height:20px;color:#333}
.search-res{position:absolute;top:42px;left:0;right:0;background:var(--white);border:1px solid var(--line);border-radius:8px;padding:4px;display:none;max-height:60vh;overflow:auto;box-shadow:0 6px 16px rgba(0,0,0,.08)}
.search-res.open{display:block}
.search-res a{display:flex;gap:10px;align-items:center;padding:6px;border-radius:6px;color:var(--text);text-decoration:none}
.search-res a:hover,.search-res a.act{background:#f0f0f2}
.search-res img{width:52px;height:32px;object-fit:cover;border-radius:4px}
.search-res span{font-size:13px;color:var(--muted);margin-left:auto}
.hdr-cta{display:flex;gap:8px;align-items:center;margin-left:auto}
.hdr-cta .btn-top{display:inline-flex;align-items:center;height:38px;padding:0 14px;border-radius:8px;background:#f0f0f2;color:var(--text);text-decoration:none;font-size:14px}
.burger{display:none;width:38px;height:38px;border:0;border-radius:8px;background:#f0f0f2;cursor:pointer;color:var(--text)}
.nav{display:flex;justify-content:center;gap:26px;padding:4px 0 10px;flex-wrap:wrap}
.nav a{display:flex;align-items:center;gap:6px;color:var(--brand);font-size:17px;text-decoration:none}
.nav a:hover,.nav a[aria-current]{text-decoration:underline}
.nav svg{width:17px;height:17px}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;padding:0 22px;border-radius:20px;border:0;font:500 15px var(--font);cursor:pointer;text-decoration:none;white-space:nowrap}
.btn-primary{background:var(--btn);color:#fff}
.btn-primary:hover{filter:brightness(1.08)}
.btn-ghost{background:var(--white);color:var(--text);border-radius:8px;font-size:14px}
.btn-soft{background:#f0f0f2;color:var(--text);border-radius:8px}
.btn-glass{background:rgba(255,255,255,.22);color:#fff;border-radius:8px;height:52px;padding:0 20px;font-size:16px}
.btn-glass:hover{background:rgba(255,255,255,.32)}
.btn svg{width:22px;height:22px;flex:none}
.btn-sm{height:32px;padding:0 14px;font-size:14px}
.btn-block{width:100%}

/* ---------- hero ---------- */
.hero{background:var(--grad);color:#fff;border-radius:0 0 24px 24px}
.hero-in{padding:70px 16px 76px}
.hero h1{color:#fff;font-size:40px;text-transform:uppercase;margin-bottom:22px}
.hero p{font-size:16px;max-width:560px;margin-bottom:0}
.hero-chips{display:flex;flex-wrap:wrap;gap:14px;margin-top:44px}

/* ---------- sections & rails ---------- */
.sec{padding-top:40px}
.sec-head{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.sec-head h2{margin:0;flex:1;font-size:34px}
.arrows{display:flex;gap:6px}
.arr{width:40px;height:40px;border-radius:8px;border:0;background:var(--white);cursor:pointer;color:var(--brand);display:grid;place-items:center}
.arr:disabled{color:#bbb;cursor:default}
.arr svg{width:20px;height:20px}
.rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 4*12px)/5);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:6px;align-items:start}
.rail::-webkit-scrollbar{display:none}
.rail>*{scroll-snap-align:start}

/* ---------- game card ---------- */
.card{background:var(--white);border-radius:8px;overflow:hidden;display:flex;flex-direction:column;position:relative;text-align:center}
.cover{display:block;aspect-ratio:16/9;background:#ddd}
.cover img{width:100%;height:100%;object-fit:cover}
.cover .ttl,.cover .score{display:none}
.badge{position:absolute;top:6px;left:6px;background:var(--red);color:#fff;font-size:10px;font-weight:700;line-height:1.1;padding:3px 5px;border-radius:2px;text-transform:uppercase}
.badge.new{background:#1a9b52}
.badge.inst{background:#333}
.card-body{padding:10px 8px 6px;display:flex;flex-direction:column;gap:8px;flex:1}
.card h3{font-size:16px;font-weight:500;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card h3 a{color:var(--text);text-decoration:none}
.kv3{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}
.kv3 small{display:block;font-size:10px;color:var(--muted)}
.kv3 b{display:block;font-size:12px;color:var(--brand);font-weight:600;white-space:nowrap}
.card .btn-primary{margin:0 auto;width:80%}
.card details{font-size:13px}
.card summary{cursor:pointer;color:var(--text);list-style:none;padding:4px 0}
.card summary::-webkit-details-marker{display:none}
.card summary::after{content:"";display:block;width:8px;height:8px;margin:4px auto 0;border:solid var(--brand);border-width:0 2px 2px 0;transform:rotate(45deg)}
.card details[open] summary::after{transform:rotate(-135deg);margin-top:8px}
.card dl{display:grid;grid-template-columns:auto 1fr;gap:3px 8px;margin:6px 0 4px;text-align:left}
.card dt{color:var(--muted)}
.card dd{margin:0;text-align:right}

/* ---------- article ---------- */
.article{background:var(--white);margin-top:48px;padding:48px 0}
.prose{max-width:860px;margin:0 auto;padding:0 16px;font-size:15px}
.prose h2{margin-top:1.6em;font-size:32px}
.prose h3{margin-top:1.3em}
.prose ul{padding-left:1.3em}
.prose li{margin:.25em 0}
.updated{color:var(--muted);font-size:13px;margin-bottom:18px;display:flex;gap:16px;flex-wrap:wrap}
.tbl{width:100%;overflow-x:auto;margin:14px 0 22px}
table{width:100%;border-collapse:collapse;font-size:14px;min-width:540px}
th,td{padding:8px 10px;text-align:left;border:1px solid var(--line);vertical-align:top}
th{background:#f3f3f6;font-weight:600}
.tip{background:#f3f3f6;padding:12px 16px;margin:18px 0;border-radius:6px}
.pc{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:12px 0}
.pc h3{margin:0 0 6px;font-size:17px}
.pc ul{list-style:none;padding:0;margin:0}
.pc li{padding-left:24px;position:relative;margin:4px 0}
.pc li::before{position:absolute;left:0}
.pc .pro li::before{content:"✅"}
.pc .con li::before{content:"❌"}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;padding:12px 30px 12px 0;font-weight:600;list-style:none;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:4px;top:8px;font-size:22px;color:var(--brand)}
.faq details[open] summary::after{content:"–"}
.faq details>div{padding:0 0 12px}
.author{display:flex;gap:12px;align-items:center;margin-top:28px;padding-top:16px;border-top:1px solid var(--line)}
.avatar{width:44px;height:44px;border-radius:50%;background:#ddd;display:grid;place-items:center;font-weight:700;color:#555;flex:none}
.author small{color:var(--muted);display:block}

/* ---------- catalog & simple pages ---------- */
.page-head{padding:20px 0 4px}
.crumbs{font-size:13px;color:var(--muted);margin-bottom:14px}
.crumbs a{color:var(--text)}
.crumbs span{margin:0 4px}
.lead{font-size:15px}
.filters{background:var(--white);border-radius:8px;padding:12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0 18px}
.filters select,.filters input[type=search]{height:36px;border-radius:6px;border:1px solid #d6d6d6;background:var(--white);padding:0 10px;font:14px var(--font);color:var(--text)}
.filters input[type=search]{flex:1;min-width:170px}
.chk{display:flex;align-items:center;gap:6px;font-size:14px;cursor:pointer}
.chk input{width:16px;height:16px;accent-color:var(--brand)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;align-items:start}
.count{color:var(--muted);font-size:14px;margin-left:auto}
.empty{grid-column:1/-1;text-align:center;padding:40px;color:var(--muted)}

/* ---------- game page ---------- */
.gtop{padding-bottom:36px}
.gtop h1{text-transform:uppercase;font-size:34px;margin-bottom:16px}
.ggrid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;align-items:start}
.ginfo{background:var(--white);border-radius:8px;overflow:hidden}
.ginfo>img{width:100%;aspect-ratio:16/10;object-fit:cover}
.ginfo h2{font-size:19px;margin:14px 14px 8px}
.ginfo .kv3{text-align:left;padding:0 14px 12px}
.ginfo .kv3 small{font-size:11px}
.ginfo .kv3 b{font-size:15px}
.specs{margin:0;display:grid;grid-template-columns:1fr auto;font-size:13px}
.specs dt,.specs dd{padding:7px 14px;margin:0}
.specs dt:nth-of-type(odd),.specs dd:nth-of-type(odd){background:var(--zebra)}
.specs dd{text-align:right}
.volbar{display:none}
.gmain{min-width:0}
.gshot{position:relative;border-radius:8px;overflow:hidden;background:#222;aspect-ratio:16/9}
.gshot img{width:100%;height:100%;object-fit:cover}
.gplay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:rgba(255,255,255,.85);border-radius:8px;padding:14px 18px;display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center}
.gplay .demo{color:#333;font-size:13px}
.gscore{display:flex;align-items:center;gap:12px;margin:12px 0 22px;font-size:13px}
.gscore b{font-size:26px;font-weight:600}
.stars{color:#f5b301;font-size:20px;letter-spacing:1px}
.gmain h2{font-size:20px;margin:6px 0 10px}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;margin:16px 0}
.gallery img{width:100%;aspect-ratio:16/9;object-fit:cover;cursor:zoom-in}
.feat h3{font-size:17px;margin:1.1em 0 .3em}
.feat p{margin:0}
.verdict{display:flex;gap:14px;align-items:flex-start}
.ring{flex:none;width:58px;height:58px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font-size:20px;font-weight:600}
.ring b{font-weight:600}
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.85);display:none;place-items:center;z-index:100;padding:16px;cursor:zoom-out}
.lightbox.open{display:grid}
.lightbox img{max-height:90vh}

/* ---------- footer ---------- */
.ftr{background:var(--bg);padding:44px 0 24px}
.fcols{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.fcols h4{font-size:18px;font-weight:600;color:var(--brand);margin:0 0 8px}
.fcols ul{list-style:none;padding:0;margin:0}
.fcols li{margin:3px 0}
.fcols a{color:var(--text);font-size:14px;text-decoration:none}
.fcols a:hover{text-decoration:underline}
.fnote{font-size:13px;color:var(--muted);max-width:760px;margin:24px auto 0;text-align:center}
.fbottom{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:22px;font-size:13px;text-align:center}
.age{width:30px;height:30px;border-radius:50%;border:2px solid var(--text);display:grid;place-items:center;font-weight:700;font-size:11px}
.cookie{position:fixed;left:16px;right:16px;bottom:16px;max-width:480px;background:var(--white);color:var(--text);padding:12px 14px;border-radius:8px;display:none;gap:12px;align-items:center;z-index:90;font-size:14px;box-shadow:0 4px 18px rgba(0,0,0,.18)}
.cookie.show{display:flex}

[hidden]{display:none!important}

/* ---------- responsive ---------- */
@media (max-width:1000px){.rail{grid-auto-columns:calc((100% - 3*12px)/4)}.fcols{grid-template-columns:repeat(3,1fr)}}
@media (max-width:820px){
  .ggrid{grid-template-columns:1fr}
  .ginfo{order:2}
  .rail{grid-auto-columns:calc((100% - 2*12px)/3)}
  .gmain .rail{grid-auto-columns:calc((100% - 12px)/2)}
}
@media (max-width:640px){
  .hdr-top{gap:10px}
  .search{display:none}
  .search.open{display:block;position:absolute;left:16px;right:16px;top:58px;z-index:2}
  .hdr-cta .btn-top{display:none}
  .burger{display:grid;place-items:center;margin-left:auto}
  .nav{display:none;flex-direction:column;align-items:flex-start;gap:10px;padding:52px 0 14px}
  .nav.open{display:flex}
  h1,.hero h1,.gtop h1{font-size:28px}
  .sec-head h2,.prose h2{font-size:24px}
  .hero-in{padding:44px 16px 48px}
  .hero-chips{margin-top:28px;gap:10px}
  .btn-glass{height:44px;font-size:15px}
  .rail{grid-auto-columns:calc((100% - 12px)/2)}
  .pc{grid-template-columns:1fr}
  .fcols{grid-template-columns:1fr 1fr}
  .sec-head .btn-ghost{display:none}
}
@media (max-width:400px){.rail,.gmain .rail{grid-auto-columns:70%}.grid{grid-template-columns:1fr 1fr;gap:8px}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.box{background:var(--white);border-radius:8px;padding:20px 22px;margin-bottom:14px}
.box .specs{max-width:520px;margin:10px 0}
.box .specs dt,.box .specs dd{padding:6px 10px}
.gtop h1.h1-long{text-transform:none;font-size:30px}
@media (max-width:640px){.gtop h1.h1-long{font-size:23px}}
/* ---------- blog ---------- */
.bcard{text-align:left}
.bcard .card-body{padding:10px 12px 12px;gap:6px}
.bcard h3{white-space:normal;font-size:16px;line-height:1.3}
.bdate{color:var(--muted);font-size:12px}
.bex{font-size:13px;color:#444;margin:0}
.bmore{font-size:14px;color:var(--brand);margin-top:auto}
.bgrid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.bhero{width:100%;height:auto;aspect-ratio:16/6;object-fit:cover;border-radius:8px;margin:6px 0 20px}
table.vs th[scope=row]{background:#f3f3f6;font-weight:600;width:28%}
table.vs thead th{text-align:center}
table.vs td{text-align:center}
table.vs small{font-weight:400;color:var(--muted)}
.cta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#f3f3f6;border-radius:8px;padding:12px;margin:18px 0}
.cta img{width:120px;height:68px;object-fit:cover;border-radius:6px}
.cta div{flex:1;min-width:180px;display:flex;flex-direction:column;font-size:13px;color:var(--muted)}
.cta div b{font-size:16px;color:var(--text)}
.srcs{font-size:13px}
.also{background:#f3f3f6;border-left:3px solid var(--brand);padding:10px 14px;border-radius:4px}

/* ---------- screenshot nelle pagine ---------- */
.gfig{margin:18px 0}
.gfig img{width:100%;height:auto;border-radius:8px;cursor:zoom-in;background:#222}
.gfig figcaption{font-size:13px;color:var(--muted);margin-top:6px}
.gfig.gmob{float:right;width:200px;margin:4px 0 12px 20px}
.gfig.gmob img{border-radius:14px}
.prose h2{clear:both}
@media (max-width:640px){.gfig.gmob{float:none;width:60%;margin:12px auto}}

/* ---------- Evoplay ufficiale nel footer ---------- */
.fofficial{display:flex;flex-wrap:wrap;gap:12px 32px;align-items:center;margin-top:26px;font-size:14px}
.fofficial b{color:var(--brand);font-weight:600}
.fsoc{display:flex;align-items:center;gap:10px}
.fsoc a{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--white);color:var(--brand)}
.fsoc a:hover{background:var(--brand);color:#fff}
.fsoc svg{width:16px;height:16px}
