:root {
  --bg: #0a0a0a;
  --panel: #161616;
  --panel-hover: #202020;
  --line: #2a2a2a;
  --text: #f4f4f4;
  --muted: #9a9a9a;
  --accent: #e3202a;
  --yt: #ff0033;
  --tt: #25f4ee;
  --fb: #1877f2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: radial-gradient(ellipse at top, #2a0a0c 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}

.wrap { max-width: 560px; margin: 0 auto; padding: 40px 16px 32px; }

/* Intestazione */
.hero { text-align: center; margin-bottom: 28px; }
.logo {
  width: 88px; height: 88px; margin: 0 auto 14px;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--bg);
  font-weight: 900; font-size: 32px; letter-spacing: -1px;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--accent);
}
.logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
h1 { font-size: 28px; font-weight: 800; }
.tagline { color: var(--muted); font-size: 15px; }

/* Card dei social */
.links { display: grid; gap: 12px; margin-bottom: 12px; }
.card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line);
  color: var(--text); text-decoration: none;
  transition: transform .15s, background .15s;
}
.card:hover { background: var(--panel-hover); transform: translateY(-2px); }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.icon svg { width: 24px; height: 24px; fill: #fff; }
.yt .icon { background: var(--yt); }
.tt .icon { background: #000; box-shadow: inset 0 0 0 1px #333; }
.tt .icon svg { fill: var(--tt); }
.fb .icon { background: var(--fb); }
.label { flex: 1; font-weight: 700; display: flex; flex-direction: column; }
.label small { color: var(--muted); font-weight: 400; font-size: 13px; }
.count { font-weight: 800; font-size: 18px; text-align: right; font-variant-numeric: tabular-nums; }
.count::after { content: "follower"; display: block; font-size: 11px; font-weight: 400; color: var(--muted); }
.yt .count::after { content: "iscritti"; }

/* Card verso la pagina sconti */
.promo { margin-bottom: 36px; border-color: var(--accent); }
.promo .icon { background: var(--accent); color: #fff; font-size: 22px; font-weight: 900; }
.arrow { font-size: 26px; color: var(--muted); }

/* Carosello Shorts */
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
h2 { font-size: 18px; }
.arrows button {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  font-size: 20px; cursor: pointer;
}
.arrows button:hover { background: var(--panel-hover); }
.track {
  display: flex; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 4px;
}
.track::-webkit-scrollbar { display: none; }
.short {
  flex: 0 0 46%; aspect-ratio: 9 / 16; position: relative;
  border-radius: 14px; overflow: hidden; scroll-snap-align: start;
  background: var(--panel); border: 0; padding: 0; cursor: pointer; color: #fff; text-align: left;
}
.short img { width: 100%; height: 100%; object-fit: cover; display: block; }
.short .title {
  position: absolute; inset: auto 0 0 0; padding: 40px 10px 10px;
  font-size: 12px; font-weight: 600; line-height: 1.3;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.short .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,.6);
  display: grid; place-items: center; font-size: 18px;
}
.short iframe { width: 100%; height: 100%; border: 0; }
@media (min-width: 480px) { .short { flex-basis: 31%; } }

/* Collaborazioni */
.collab {
  margin-top: 36px; padding: 18px; border-radius: 16px;
  border: 1px dashed var(--line); color: var(--muted); font-size: 15px;
}
.collab h2 { color: var(--text); margin-bottom: 6px; }
.collab a { color: var(--accent); }

footer { margin-top: 36px; text-align: center; font-size: 12px; color: var(--muted); }

/* Pagina sconti */
.back { display: inline-block; margin-bottom: 20px; color: var(--muted); text-decoration: none; font-size: 14px; }
.back:hover { color: var(--text); }
.logo.small { width: 64px; height: 64px; }
.disclosure { color: var(--muted); font-size: 13px; margin-top: 8px; }
section + section { margin-top: 32px; }
.offers { display: grid; gap: 12px; margin-top: 12px; }
.offer { padding: 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.offer p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.offer small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.code {
  padding: 8px 14px; border-radius: 10px; cursor: pointer;
  border: 1px dashed var(--accent); background: transparent; color: var(--text);
  font: 700 15px ui-monospace, Menlo, monospace; letter-spacing: 1px;
}
.btn {
  padding: 8px 14px; border-radius: 10px; text-decoration: none;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px;
}
.empty { color: var(--muted); font-size: 14px; padding: 16px; border: 1px dashed var(--line); border-radius: 16px; }
footer a { color: var(--muted); }
