:root{
  --night:#1b1030; --ink:#2a1442; --plum:#4a1f4f; --cream:#fff3d6; --gold:#ffd23f; --sun:#f08a4b; --pink:#f0607e; --teal:#3cc6b0;
  --bg:var(--night); --fg:var(--cream); --muted:#cdb8d8; --card:#2a1747; --line:#ffffff1a; --accent:var(--gold);
  --font:'Fredoka','Trebuchet MS',system-ui,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font);background:var(--bg);color:var(--fg);font-size:18px;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit}
img{max-width:100%;display:block}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
html[data-l=it] [lang=en]:not(html), html[data-l=en] [lang=it]:not(html){display:none!important}

/* header */
.top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0}
.top .brand img{height:62px;width:auto}
.top nav{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.top nav a{text-decoration:none;font-weight:600;font-size:16px;padding:8px 12px;border-radius:999px}
.top nav a:hover{background:var(--line)}
.lang{display:inline-flex;border:2px solid var(--line);border-radius:999px;overflow:hidden;margin-left:6px}
.lang button{font:inherit;font-weight:600;font-size:14px;border:0;background:none;color:inherit;padding:6px 11px;cursor:pointer}
html[data-l=it] .lang [data-set=it], html[data-l=en] .lang [data-set=en]{background:var(--accent);color:var(--ink)}

/* hero */
.hero{padding:40px 0 70px;position:relative;overflow:hidden}
.hero h1{font-size:clamp(38px,6vw,64px);line-height:1.05;margin:0 0 18px;font-weight:700}
.hero p.lead{font-size:clamp(18px,2.2vw,22px);color:var(--muted);margin:0 0 28px;max-width:34em}
.btn{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-weight:700;font-size:18px;border-radius:999px;padding:14px 26px;background:var(--cream);color:var(--ink);box-shadow:0 6px 0 #c9875f}
.btn.ghost{background:transparent;color:var(--fg);box-shadow:none;border:2px solid var(--line)}
.btns{display:flex;gap:14px;flex-wrap:wrap}
.stars{position:absolute;inset:0;pointer-events:none;opacity:.8;background-image:
 radial-gradient(2px 2px at 12% 20%,#fff9 50%,transparent 51%),radial-gradient(2px 2px at 80% 12%,#fff9 50%,transparent 51%),
 radial-gradient(1.5px 1.5px at 30% 80%,#fff7 50%,transparent 51%),radial-gradient(2px 2px at 92% 70%,#fff9 50%,transparent 51%),
 radial-gradient(1.5px 1.5px at 55% 8%,#fff7 50%,transparent 51%),radial-gradient(1.5px 1.5px at 6% 60%,#fff7 50%,transparent 51%),
 radial-gradient(1.5px 1.5px at 66% 46%,#fff6 50%,transparent 51%),radial-gradient(2px 2px at 44% 92%,#fff8 50%,transparent 51%)}

/* phones */
.phone{border-radius:34px;border:7px solid var(--ink);background:var(--ink);overflow:hidden;box-shadow:0 22px 50px #0007;aspect-ratio:390/844}
.phone img{width:100%;height:100%;object-fit:cover}
.fan{display:flex;justify-content:center;align-items:flex-end;gap:0}
.fan .phone{width:230px}
.fan .phone:nth-child(1){transform:rotate(-8deg) translate(30px,26px)}
.fan .phone:nth-child(2){z-index:2;width:250px}
.fan .phone:nth-child(3){transform:rotate(8deg) translate(-30px,26px)}

/* sections */
section{padding:70px 0}
h2{font-size:clamp(30px,4.5vw,46px);line-height:1.1;margin:0 0 14px}
.kicker{display:inline-block;font-weight:700;font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);background:var(--accent);border-radius:999px;padding:4px 12px;margin-bottom:14px}
.game{display:grid;grid-template-columns:1.1fr 1fr;gap:50px;align-items:center}
.game .head{display:flex;gap:18px;align-items:center;margin-bottom:16px}
.game .head img{width:88px;height:88px;border-radius:22px;box-shadow:0 8px 20px #0005}
.game .head h2{margin:0}
.feat{list-style:none;padding:0;margin:20px 0 28px;display:grid;gap:10px}
.feat li{display:flex;gap:12px;align-items:flex-start}
.feat li b{flex:0 0 32px;height:32px;border-radius:10px;display:grid;place-items:center;background:var(--card);font-size:17px}
.store{display:inline-flex;align-items:center;gap:12px;background:#000;color:#fff;border-radius:14px;padding:10px 18px;text-decoration:none;border:2px solid #ffffff33}
.store small{display:block;font-size:12px;opacity:.8;line-height:1.1}
.store span{font-size:20px;font-weight:600;line-height:1.1}
.shots{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:40px}
.shots .phone{border-width:5px;border-radius:24px}
.more{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:26px}
.soon{border-radius:24px;padding:26px;background:var(--card);border:2px dashed var(--line)}
.soon h3{margin:0 0 6px;font-size:24px}
.soon p{margin:0;color:var(--muted)}
.contact{text-align:center}
.contact p{color:var(--muted);max-width:32em;margin:0 auto 26px}
footer{padding:34px 0 44px;color:var(--muted);font-size:15px;border-top:1px solid var(--line)}
footer .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
footer a{margin-right:16px}

/* legal pages */
.legal{max-width:780px;padding-top:20px;padding-bottom:60px}
.legal h1{font-size:clamp(32px,5vw,46px);margin:10px 0 4px}
.legal h2{font-size:24px;margin:34px 0 8px}
.legal p,.legal li{color:var(--fg);opacity:.92}
.legal .date{color:var(--muted);margin-bottom:26px}
.legal table{border-collapse:collapse;width:100%;font-size:16px}
.legal td,.legal th{border:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}

/* ============ THEMES (proposals) ============ */
/* A · Notte: dark, split hero */
.t-a{background:linear-gradient(#1b1030,#24123b 40%,#1b1030)}
.t-a .hero{background:radial-gradient(90% 80% at 75% 30%,#5a2a63 0%,transparent 60%)}
.t-a .hero .wrap{display:grid;grid-template-columns:1.05fr 1fr;gap:30px;align-items:center}

/* B · Crema: light, centered */
.t-b{--bg:#fff3d6;--fg:#2a1442;--muted:#6d5378;--card:#ffe6bd;--line:#2a14421f;--accent:#f0607e}
.t-b .kicker{color:#fff}
.t-b .hero{text-align:center;background:radial-gradient(70% 60% at 50% 0%,#ffd9a8,transparent)}
.t-b .hero p.lead{margin-left:auto;margin-right:auto}
.t-b .hero .btns{justify-content:center}
.t-b .hero .fan{margin-top:50px}
.t-b .btn{background:#2a1442;color:#fff3d6;box-shadow:0 6px 0 #f0607e}
.t-b .btn.ghost{background:transparent;color:#2a1442;box-shadow:none}
.t-b #giochi{background:#2a1442;color:#fff3d6;--fg:#fff3d6;--muted:#cdb8d8;--card:#3b2058;--line:#ffffff1f;border-radius:40px;margin:0 12px}
.t-b .stars{display:none}

/* C · Tramonto: game gradient hero */
.t-c .hero{background:linear-gradient(180deg,#1b1030 0%,#4a1f5a 40%,#a8456a 72%,#f08a4b 100%);text-align:center;padding-bottom:0}
.t-c .hero .wrap{display:flex;flex-direction:column;align-items:center}
.t-c .hero p.lead{color:#ffe7d3}
.t-c .hero .btns{justify-content:center}
.t-c .hero .big{width:290px;margin-top:46px;margin-bottom:-120px;position:relative;z-index:2}
.t-c #giochi{padding-top:170px}
.t-c .top{position:relative;z-index:3}
.t-c .topbar{background:#1b1030}

@media (max-width:820px){
  .top .brand img{height:48px}
  .top nav a.hide-m{display:none}
  .t-a .hero .wrap,.game{grid-template-columns:1fr}
  .fan .phone{width:150px}.fan .phone:nth-child(2){width:170px}
  .shots{grid-template-columns:repeat(2,1fr)}
  .more{grid-template-columns:1fr}
  section{padding:50px 0}
}
.hero .big{display:none}
.t-c .hero .big{display:block}.t-c .hero .fan{display:none}
.t-a .hero .fan{margin-top:20px}
.t-a .hero .fan .phone{width:200px}.t-a .hero .fan .phone:nth-child(2){width:220px}
.t-a .hero h1{font-size:clamp(38px,5.4vw,60px)}
.game .fan{margin-bottom:30px}
.game .fan .phone{width:210px}
.game .fan .phone:nth-child(1){transform:rotate(-7deg) translate(24px,18px)}
.game .fan .phone:nth-child(2){transform:rotate(5deg) translate(-10px,0);width:220px}
.t-c .hero{overflow:visible}
@media (max-width:820px){.t-a .hero .fan .phone,.game .fan .phone{width:140px}.t-a .hero .fan .phone:nth-child(2),.game .fan .phone:nth-child(2){width:155px}}

/* hero trio: Dip Space in front, the other two behind */
.trio{position:relative;height:520px;max-width:520px;width:100%;margin:0 auto}
.trio .phone{position:absolute}
.trio .p-dip{width:230px;left:50%;top:20px;transform:translateX(-50%);z-index:3}
.trio .p-orb{width:190px;left:0;top:50px;transform:rotate(-9deg);z-index:1;filter:brightness(.8)}
.trio .p-la{width:190px;right:0;top:50px;transform:rotate(9deg);z-index:1;filter:brightness(.85)}
.phone.land{aspect-ratio:844/390}
.others{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:40px}
.mini{background:var(--card);border-radius:28px;overflow:hidden;border:1px solid var(--line)}
.mini .shot{aspect-ratio:844/390;overflow:hidden}
.mini .shot img{width:100%;height:100%;object-fit:cover}
.mini .body{padding:22px 24px 26px}
.mini .head{display:flex;gap:14px;align-items:center;margin-bottom:10px}
.mini .head img{width:58px;height:58px;border-radius:15px}
.mini h3{margin:0;font-size:26px;line-height:1.1}
.tag{display:inline-block;font-size:13px;font-weight:600;color:var(--ink);background:var(--teal);border-radius:999px;padding:2px 10px;margin-top:4px}
.mini p{margin:0;color:var(--muted)}
@media (max-width:820px){
 .trio{height:420px;max-width:360px}
 .trio .p-dip{width:180px}.trio .p-orb{width:140px;top:40px}.trio .p-la{width:140px;top:40px}
 .others{grid-template-columns:1fr}
}

.store.sm{margin-top:16px;padding:7px 14px;border-radius:12px}.store.sm span{font-size:17px}
.trio .p-dip{width:240px}

.game.rev{grid-template-columns:1fr 1.1fr}
.game.rev>div:first-child{order:2}
section.alt{background:#ffffff08;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.duo{position:relative;display:flex;flex-direction:column;gap:20px;align-items:center}
.duo .phone.land{width:100%;max-width:470px;border-width:6px;border-radius:26px}
.duo .phone.land:nth-child(1){transform:rotate(-3deg) translateX(-16px)}
.duo .phone.land:nth-child(2){transform:rotate(2deg) translateX(18px)}
.duo.orb{flex-direction:row;align-items:center;justify-content:center;gap:0}
.duo.orb .phone:not(.land){width:200px;flex:0 0 200px;transform:rotate(-6deg);z-index:2;margin-right:-60px}
.duo.orb .phone.land{width:330px;flex:0 0 330px;transform:rotate(4deg)}
@media (max-width:820px){
 .game.rev>div:first-child{order:0}
 .duo.orb .phone:not(.land){width:130px;flex-basis:130px;margin-right:-50px}
 .duo.orb .phone.land{width:230px;flex-basis:230px}
}

.duo.orb .phone:not(.land)+.phone:not(.land){transform:rotate(6deg);z-index:1;margin-right:0;margin-left:0}
