/* splash.css — v125: start page of poigiochiamo.it (includes/splash_template.php)
 * Design «D · strisce storte e coriandoli» (chosen by Alberto on the claude.ai canvas, artboard PlayD):
 * vertical strips all the same width, a little crooked, thick border + sticker label in the project colour, wobbling;
 * hover = wobbles faster, brighter, label bigger; confetti fall behind; logo in the middle with a yellow ring. */
*{box-sizing:border-box}
html,body{margin:0;height:100%;background:#1f1712}
body.sp{color:#f2ede6;font-family:"Libre Franklin",system-ui,sans-serif;-webkit-font-smoothing:antialiased;overflow:hidden;position:relative}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.sp-confetti{position:fixed;inset:0;pointer-events:none;overflow:hidden}
.sp-confetti i{position:absolute;top:0;border-radius:50%;opacity:.8;animation:sp-fall 9s linear infinite}

.sp-strips{position:fixed;left:40px;right:40px;top:-40px;bottom:-40px;display:flex;gap:18px}
.sp-strip{position:relative;flex:1 1 0;min-width:0;overflow:hidden;border:7px solid var(--acc);border-radius:24px;background:var(--acc);box-shadow:0 14px 30px rgba(0,0,0,.5);text-decoration:none;color:#1f1712;transform:rotate(calc(var(--r) * var(--k,1)));animation:sp-wob 3.2s ease-in-out infinite;animation-delay:var(--d,0s);transition:filter .3s}
.sp-strip:focus-visible{outline:4px solid #fff;outline-offset:4px;filter:brightness(1.15)}
.sp-strip__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.sp-strip__name{position:absolute;left:50%;bottom:120px;width:150px;max-width:calc(100% - 10px);transform:translateX(-50%) rotate(var(--lr));text-align:center;background:var(--acc);color:#1f1712;font-family:"Permanent Marker",cursive;font-size:17px;line-height:1.1;padding:8px 6px;border-radius:12px;box-shadow:0 6px 12px rgba(0,0,0,.35);overflow-wrap:anywhere;transition:transform .3s}
@media (hover:hover){
  .sp-strip:hover{animation-duration:.6s;filter:brightness(1.15)}
  .sp-strip:hover .sp-strip__name{transform:translateX(-50%) rotate(0deg) scale(1.15)}
}

.sp-logo{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:260px;height:260px;border-radius:50%;background:rgba(20,15,11,.93);display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 8px #f5b544,0 20px 60px rgba(0,0,0,.6);z-index:5;transition:transform .3s}
.sp-logo:hover,.sp-logo:focus-visible{transform:translate(-50%,-50%) scale(1.05)}
.sp-logo:focus-visible{outline:3px solid #fff;outline-offset:12px}
.sp-logo img{width:226px;height:226px;display:block}

@keyframes sp-wob{0%,100%{transform:rotate(calc(var(--r) * var(--k,1))) translateY(0)}50%{transform:rotate(calc(var(--r) * var(--k,1) * -1)) translateY(-10px)}}
@keyframes sp-fall{0%{transform:translateY(-60px) rotate(0deg)}100%{transform:translateY(110vh) rotate(540deg)}}
@media (prefers-reduced-motion:reduce){.sp-strip,.sp-confetti i{animation:none}.sp-logo,.sp-strip__name{transition:none}}

/* tablets: smaller gaps and labels */
@media (max-width:1100px){
  .sp-strips{left:20px;right:20px;gap:10px}
  .sp-strip{border-width:5px;border-radius:18px;--k:.6}
  .sp-strip__name{font-size:14px;width:120px}
}
/* phone: still vertical strips (Alberto); the label stands up along the strip */
@media (max-width:720px){
  .sp-strips{left:8px;right:8px;gap:5px;top:-30px;bottom:-30px}
  .sp-strip{border-width:3px;border-radius:12px;--k:.25}
  .sp-strip__name{writing-mode:vertical-rl;width:auto;max-width:none;max-height:calc(50% - 100px);bottom:60px;padding:8px 4px;font-size:13px;border-radius:8px;transform:translateX(-50%) rotate(180deg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .sp-logo{width:150px;height:150px;box-shadow:0 0 0 5px #f5b544,0 14px 40px rgba(0,0,0,.6)}
  .sp-logo img{width:130px;height:130px}
}
