/* ---------- landing ---------- */
body.landing { overflow-x: hidden; }

.ticker { background: var(--red); color: #fff; overflow: hidden; white-space: nowrap; border-bottom: 4px solid var(--line); font-size: 10px; padding: 8px 0; }
.ticker-track { display: inline-block; padding-left: 100%; animation: tick 55s linear infinite; }
.ticker span { background: #fff; color: var(--red); padding: 2px 6px; margin-right: 8px; }
.ticker i { font-style: normal; margin: 0 22px; color: var(--yellow); }
@keyframes tick { to { transform: translateX(-50%); } }

.hero { text-align: center; padding: 34px 14px 8px; }
.kicker { margin: 0 0 14px; font-size: 9px; color: var(--yellow); letter-spacing: 2px; }
.shock { margin: 0; font-weight: normal; line-height: 1.12; font-size: clamp(34px, 11.5vw, 104px); text-transform: uppercase; }
.shock span { display: block; }
.shock .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shock .l1 { color: var(--yellow); text-shadow: 4px 4px 0 var(--red), 8px 8px 0 var(--line); }
.shock .l2 { color: var(--red); text-shadow: 4px 4px 0 #fff, 8px 8px 0 var(--line); animation: jolt 2.4s steps(1) infinite; }
.shock .l3 { color: #fff; text-shadow: 4px 4px 0 var(--blue), 8px 8px 0 var(--line); }
.shock b { font-weight: normal; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes jolt {
  0%, 88%, 100% { transform: none; }
  90% { transform: translate(-6px, 2px); }
  92% { transform: translate(5px, -2px); }
  94% { transform: translate(-3px, 0); }
  96% { transform: translate(4px, 3px); }
}

.lead { margin: 30px auto 0; max-width: 640px; font-size: clamp(11px, 3vw, 15px); line-height: 2; color: #fff; }
.lead em { font-style: normal; color: var(--yellow); }

.cta {
  display: inline-block; margin-top: 26px; text-decoration: none; font-size: clamp(16px, 5vw, 26px);
  color: #1a1a2e; background: var(--green); padding: 22px 34px;
  box-shadow: inset -6px -6px 0 #1f9d55, inset 6px 6px 0 #b7f7d0, 0 7px 0 var(--line), 0 0 0 4px var(--line);
  animation: pulse 1.1s steps(2) infinite;
}
.cta:hover { background: #6ff0a0; }
.cta:active { transform: translateY(5px); }
@keyframes pulse { 50% { transform: scale(1.05); } }
.tiny { margin: 20px 0 0; font-size: 8px; color: var(--dim); }

/* ─── previews grid (3 canvas affiancati) ─── */
.previews {
  width: 100%; max-width: 1040px; margin: 36px auto 0; padding: 0 14px;
}
.previews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.prev-card {
  display: flex; flex-direction: column;
  border: 4px solid #55537f;
  text-decoration: none;
  transition: transform 0.07s steps(1), box-shadow 0.07s steps(1);
  background: #12123a;
}
.prev-card canvas {
  width: 100%; height: auto; aspect-ratio: 16 / 9;
  display: block; image-rendering: pixelated;
  border-bottom: 3px solid #55537f;
}
.prev-card.live {
  border-color: var(--yellow);
  box-shadow: 7px 7px 0 var(--line);
  cursor: pointer;
}
.prev-card.live canvas { border-bottom-color: var(--yellow); }
.prev-card.live:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--line);
}
.prev-card.soon canvas {
  filter: grayscale(.55) brightness(.7);
}
.prev-meta {
  padding: 10px 12px 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.prev-badge {
  display: inline-block; font-size: 8px;
  background: var(--green); color: #1a1a2e;
  padding: 4px 7px; align-self: flex-start;
}
.prev-card.soon .prev-badge {
  background: var(--red); color: #fff;
}
.prev-title {
  font-size: 9px; color: var(--yellow); line-height: 1.6; letter-spacing: 1px;
}
.prev-card.soon .prev-title { color: var(--dim); }

@media (max-width: 760px) {
  .previews-grid { grid-template-columns: 1fr 1fr; }
  .prev-card:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .previews-grid { grid-template-columns: 1fr; }
  .prev-card:first-child { grid-column: auto; }
}

.steps { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 880px; margin: 30px auto 0; padding: 0 14px; text-align: center; }
.steps div { background: var(--line); border: 3px solid var(--dim); padding: 14px 6px; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.steps b { font-size: clamp(20px, 6vw, 34px); color: var(--yellow); text-shadow: 3px 3px 0 var(--red); font-weight: normal; }
.steps span { font-size: clamp(8px, 2.6vw, 12px); color: #fff; }
.steps small { font-size: clamp(6px, 2vw, 8px); color: var(--dim); line-height: 1.6; }

.soon { max-width: 880px; margin: 50px auto 0; padding: 0 14px; width: 100%; }
.soon h2 { font-size: 12px; text-align: center; color: var(--dim); margin: 0 0 18px; letter-spacing: 3px; }
.soon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.soon-card { border-color: #55537f; padding-bottom: 14px; opacity: .9; }
.soon-card canvas { width: 100%; aspect-ratio: 16 / 9; display: block; image-rendering: pixelated; filter: grayscale(.8) brightness(.65); border-bottom: 4px solid #55537f; }
.soon-card h3 { margin: 14px 14px 8px; font-size: 11px; color: var(--dim); }
.soon-card p { margin: 0 14px; font-size: 8px; line-height: 1.9; color: var(--ink); }

.about { width: 100%; max-width: 640px; margin: 50px auto 40px; padding: 0 16px; text-align: center; }
.about h2 { font-size: 11px; color: var(--dim); margin: 0 0 10px; line-height: 1.7; }
.about p { margin: 0; font-size: 9px; line-height: 2; color: var(--dim); }

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .shock .l2, .shock b, .cta { animation: none; }
}

/* ---------- giochi + classifica ---------- */
.block { width: 100%; max-width: 1040px; margin: 54px auto 0; padding: 0 14px; text-align: center; }
.h2 { margin: 0 0 22px; font-weight: normal; font-size: clamp(16px, 4.5vw, 26px); color: var(--yellow); text-shadow: 3px 3px 0 var(--red), 6px 6px 0 var(--line); letter-spacing: 3px; }
.sub2 { margin: -8px 0 20px; font-size: 9px; color: var(--dim); }

.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; text-align: left; }
.card.game { border-color: #55537f; }
.card.game .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 4px solid #55537f; background: #222; }
.card.game .thumb img, .card.game .thumb canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; object-fit: cover; }
.card.game .badge { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 5px 7px; font-size: 8px; background: var(--green); color: #1a1a2e; }
.card.game.live { border-color: var(--yellow); box-shadow: 8px 8px 0 var(--line); }
.card.game.live:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--line); }
.card.game .body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card.game h3 { margin: 0; font-size: 12px; color: var(--yellow); line-height: 1.5; }
.card.game p { margin: 0; font-size: 8px; line-height: 1.9; color: var(--ink); }
.card.game .go { margin-top: auto; align-self: flex-start; font-size: 10px; color: #1a1a2e; background: var(--green); padding: 10px 14px; box-shadow: inset -3px -3px 0 #1f9d55, inset 3px 3px 0 #b7f7d0; }
.card.game.soon { opacity: .88; }
.card.game.soon .thumb { filter: grayscale(.85) brightness(.62); }
.card.game.soon .badge { background: var(--red); color: #fff; }
.card.game.soon h3 { color: var(--dim); }

.lb { list-style: none; margin: 0 auto 26px; padding: 0; max-width: 560px; background: var(--line); border: 4px solid var(--yellow); box-shadow: 8px 8px 0 var(--line), 0 0 0 4px var(--line); text-align: left; }
.lb li { display: grid; grid-template-columns: 38px 1fr auto 62px; gap: 8px; align-items: center; padding: 11px 12px; font-size: 11px; border-bottom: 2px solid #1b1b52; }
.lb li:last-child { border-bottom: 0; }
.lb .r { color: var(--dim); }
.lb .nm { color: #fff; letter-spacing: 2px; overflow: hidden; text-overflow: ellipsis; }
.lb .sc { color: var(--green); }
.lb .ls { font-size: 8px; text-align: right; color: var(--blue); text-decoration: none; }
.lb .ls:hover { color: var(--yellow); }
.lb li.p1 .r, .lb li.p1 .nm { color: var(--yellow); }
.lb li.p2 .r, .lb li.p2 .nm { color: #d6dbe8; }
.lb li.p3 .r, .lb li.p3 .nm { color: #e0a070; }
.lb li.p1 { background: rgba(255, 210, 63, .08); }
.lb li.lb-msg { display: block; text-align: center; color: var(--dim); font-size: 9px; line-height: 2; padding: 22px 12px; }
.cta-s { font-size: clamp(11px, 3.4vw, 15px); padding: 16px 22px; animation: none; }

@media (max-width: 520px) {
  .lb li { grid-template-columns: 30px 1fr auto 46px; gap: 6px; padding: 10px 8px; font-size: 10px; }
}

.lb-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0 auto 18px; }
.lb-tab { font: inherit; font-size: 9px; color: var(--dim); background: var(--line); border: 3px solid #55537f; padding: 12px 14px; cursor: pointer; min-height: 44px; }
.lb-tab.on { color: #1a1a2e; background: var(--yellow); border-color: var(--yellow); }
