/* ==========================================================================
   DJ ZRZ – stile del sito pubblico (nightlife: nero/antracite, accenti ciano e magenta)
   ========================================================================== */
:root {
  --bg: #08080c;
  --bg-2: #0e0e15;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f8;
  --muted: #a3a3b8;
  --faint: #6e6e85;
  --cyan: #22d3ee;
  --pink: #f72585;
  --violet: #8b5cf6;
  --amber: #fbbf24;
  --green: #34d399;
  --red: #fb7185;
  --grad: linear-gradient(135deg, var(--cyan), var(--pink));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Bebas Neue', 'Inter', system-ui, sans-serif;
  --header-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% -5%, rgba(34, 211, 238, 0.12), transparent 520px),
    radial-gradient(circle at 92% 2%, rgba(247, 37, 133, 0.12), transparent 520px);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(247, 37, 133, 0.35); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.17em; }
.i-lg { width: 28px; height: 28px; }
.i-xl { width: 44px; height: 44px; }
.i-ghost { opacity: 0; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.center-row { justify-content: center; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.prewrap { white-space: pre-line; }
.hide-xs { display: inline; }
[hidden] { display: none !important; }

/* ---------- Tipografia ---------- */
.display { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; line-height: 0.95; margin: 0; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); margin: 0 0 10px; }
.eyebrow--line::before { content: ''; width: 32px; height: 2px; border-radius: 2px; background: var(--pink); }
.eyebrow-plain { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; font-weight: 700; }
.slogan { color: var(--cyan); font-weight: 800; letter-spacing: 0.28em; font-size: 0.95rem; margin: 6px 0 0; text-transform: uppercase; }
.lead { font-size: 1.1rem; color: #c9c9da; margin: 18px auto 28px; max-width: 640px; }
.section-title { font-size: clamp(2.6rem, 7vw, 4.4rem); }
.section-title-sm { font-size: 2rem; }
.page-title { font-size: clamp(2.8rem, 9vw, 5.2rem); }

/* ---------- Pulsanti ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-grad { background: var(--grad); color: #06060b; box-shadow: 0 14px 34px rgba(34, 211, 238, 0.25); }
.btn-grad:hover { box-shadow: 0 16px 42px rgba(247, 37, 133, 0.35); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: rgba(34, 211, 238, 0.6); background: rgba(34, 211, 238, 0.08); }
.btn-outline { background: transparent; border-color: rgba(34, 211, 238, 0.55); color: var(--text); }
.btn-outline:hover { background: rgba(34, 211, 238, 0.1); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn-xs { --h: 34px; padding: 0 12px; font-size: 0.8rem; }
.btn-lg { --h: 56px; padding: 0 30px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--border); background: var(--surface); }
.badge--cyan { color: var(--cyan); border-color: rgba(34, 211, 238, 0.35); background: rgba(34, 211, 238, 0.08); }
.badge--green { color: var(--green); border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.08); }
.badge--muted { color: var(--muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: pulse 1.8s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 8, 12, 0.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 60px; height: 40px; object-fit: contain; border-radius: 8px; border: 1px solid var(--border); background: #000; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--display); font-size: 1.55rem; letter-spacing: 0.04em; }
.brand-slogan { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.2em; color: var(--cyan); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav > a:not(.btn) { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; color: #cfcfe0; transition: color 0.2s, background 0.2s; }
.site-nav > a:not(.btn):hover, .site-nav > a.is-active { color: #fff; background: var(--surface-2); }
.nav-dj { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .i { width: 22px; height: 22px; }

/* ---------- Glow decorativi ---------- */
.glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(110px); opacity: 0.22; pointer-events: none; z-index: 0; }
.glow--cyan { background: var(--cyan); top: -220px; left: -160px; }
.glow--pink { background: var(--pink); bottom: -260px; right: -180px; }

/* ---------- Sezioni ---------- */
.section { position: relative; padding: 72px 0; }
.section--tight { padding: 28px 0; }
.section--flush { padding-top: 0; }
.section > .container { position: relative; z-index: 1; }
.page-head { overflow: hidden; padding: 64px 0 44px; }
.section-head { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.section-line { flex: 1; height: 1px; background: var(--border); }

/* ---------- Home ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 56px; }
.hero-title { font-size: clamp(4.2rem, 12vw, 8.4rem); text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.hero-bio { color: #c9c9da; font-size: 1.08rem; max-width: 520px; margin: 22px 0 26px; white-space: pre-line; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.photo-frame { position: relative; border-radius: 28px; padding: 10px; background: linear-gradient(160deg, rgba(34, 211, 238, 0.45), rgba(255, 255, 255, 0.04) 40%, rgba(247, 37, 133, 0.45)); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 80px rgba(34, 211, 238, 0.12); max-width: 440px; margin-left: auto; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.photo-tag { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 16px; border-radius: 999px; background: rgba(8, 8, 12, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--border-strong); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; }

.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.social-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-strong); font-weight: 600; font-size: 0.9rem; transition: transform 0.2s, border-color 0.2s, background 0.2s; }
.social-pill:hover { transform: translateY(-2px); border-color: rgba(247, 37, 133, 0.6); background: rgba(247, 37, 133, 0.08); }
.social-pill--icon { width: 40px; height: 40px; padding: 0; justify-content: center; }
.social-row--small { margin-top: 16px; }

.next-strip { display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s, transform 0.2s; }
.next-strip:hover { border-color: rgba(34, 211, 238, 0.5); transform: translateY(-2px); }
.next-strip-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.next-strip-body .eyebrow { margin: 0; }
.next-strip-title { font-size: 1.25rem; }
.next-strip-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #06060b; flex: none; }
.date-block { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 16px; background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.35); flex: none; line-height: 1; }
.date-day { font-family: var(--display); font-size: 2.1rem; }
.date-month { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; color: var(--cyan); }

.cta-section { background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.035)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 96px 0; }

/* ---------- Events ---------- */
.featured { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 0; border-radius: 24px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--border); box-shadow: var(--shadow); margin-bottom: 30px; }
.featured-media { position: relative; background: #000; min-height: 320px; }
.featured-media > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.featured-body { padding: 34px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.featured-title { font-size: clamp(2.4rem, 6vw, 3.8rem); margin: 16px 0 14px; }
.featured-desc { color: #c9c9da; margin: 16px 0 0; }
.featured--detail { margin-top: 18px; }
.meta-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.meta-list li { display: flex; gap: 10px; align-items: flex-start; }
.meta-list .i { color: var(--cyan); margin-top: 4px; }
.meta-list a { text-decoration: underline; text-decoration-color: rgba(34, 211, 238, 0.5); text-underline-offset: 3px; }
.lineup { margin-top: 18px; }
.lineup p { margin: 4px 0 0; white-space: pre-line; font-weight: 600; }
.poster-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: radial-gradient(circle at 30% 20%, rgba(34, 211, 238, 0.25), transparent 60%), radial-gradient(circle at 70% 80%, rgba(247, 37, 133, 0.25), transparent 60%), #0b0b11; }
.poster-fallback img { width: 60%; max-width: 260px; border-radius: 12px; }
.poster-fallback span { font-family: var(--display); font-size: 2rem; letter-spacing: 0.06em; }
.poster-fallback--date { flex-direction: column; gap: 0; }
.poster-fallback--date .date-day { font-size: 3.4rem; }
.empty-card { text-align: center; padding: 64px 24px; border-radius: 24px; border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty-card .i-xl { color: var(--faint); }
.empty-card h2 { font-size: clamp(2rem, 6vw, 2.8rem); }
.empty-card p { margin: 0 0 12px; }
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.event-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform 0.2s, border-color 0.2s; }
.event-card:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, 0.45); }
.event-card-media { position: relative; aspect-ratio: 4 / 3; background: #000; }
.event-card-media > img { width: 100%; height: 100%; object-fit: cover; }
.event-card-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.event-card-date { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.event-card-title { font-size: 1.1rem; }
.event-grid--past { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.event-card.is-past .event-card-media { filter: grayscale(0.6); opacity: 0.85; }
.back-link { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-weight: 600; }
.back-link:hover { color: #fff; }
.preview-bar { position: sticky; top: var(--header-h); z-index: 40; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; padding: 10px 16px; background: rgba(251, 191, 36, 0.14); border-bottom: 1px solid rgba(251, 191, 36, 0.4); color: #fde68a; font-size: 0.9rem; }
.preview-bar a { text-decoration: underline; margin-left: 6px; }

/* ---------- Request ---------- */
.request-intro { margin-bottom: 26px; }
.live-card { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0 auto; max-width: 520px; padding: 22px 24px; border-radius: 22px; background: rgba(14, 14, 21, 0.85); border: 1px solid var(--border-strong); box-shadow: var(--shadow); position: relative; }
.live-card .eyebrow { margin: 0; }
.live-card-title { font-size: 1.5rem; line-height: 1.2; }
.live-card.is-closed { border-color: rgba(251, 113, 133, 0.45); }
.live-card.is-closed .eyebrow { color: var(--red); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 0.78rem; color: var(--muted); }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.status-pill.is-on .dot { background: var(--green); box-shadow: 0 0 10px var(--green); }
.status-pill.is-on { color: #c9f7e5; }
.status-pill.is-off .dot { background: var(--amber); }

.panel { padding: 28px; border-radius: 24px; background: rgba(14, 14, 21, 0.7); border: 1px solid var(--border); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.panel-title { font-size: 1.6rem; margin: 0 0 6px; line-height: 1.2; }
.panel > .muted { margin: 0 0 18px; }
.count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 14px; background: var(--grad); color: #06060b; font-weight: 800; font-size: 1.1rem; }

.search-box { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 46px; border-radius: 999px; background: #0b0b11; border: 1px solid var(--border-strong); transition: border-color 0.2s, box-shadow 0.2s; }
.search-box:focus-within { border-color: rgba(34, 211, 238, 0.7); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12); }
.search-box .search-ico { position: absolute; left: 18px; color: var(--muted); }
.search-box input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; outline: none; font-size: 16px; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-clear { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--surface-2); cursor: pointer; }
.quota { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 16px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(34, 211, 238, 0.35); background: rgba(34, 211, 238, 0.07); font-size: 0.92rem; color: #d7f6fb; }
.quota[hidden], .quota-dots[hidden] { display: none; }
.quota b { color: var(--cyan); font-size: 1.05em; }
.quota-dots { display: flex; flex-wrap: wrap; gap: 6px; flex: 0 1 auto; }
.quota-text { flex: 1 1 180px; min-width: 0; }
.quota-dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-strong); transition: background 0.3s; }
.quota-dots span.is-on { background: var(--grad); box-shadow: 0 0 8px rgba(34, 211, 238, 0.45); }
.quota.is-last { border-color: rgba(251, 191, 36, 0.45); background: rgba(251, 191, 36, 0.07); color: #fdf0c4; }
.quota.is-last b { color: var(--amber); }
.quota.is-empty { border-color: rgba(251, 113, 133, 0.4); background: rgba(251, 113, 133, 0.08); color: #fecdd3; }
.quota.is-empty b { color: var(--red); }
.closed-note { margin-top: 14px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(251, 113, 133, 0.4); background: rgba(251, 113, 133, 0.08); color: #fecdd3; font-size: 0.92rem; }

.results { display: grid; gap: 10px; margin-top: 16px; }
.results:empty { margin: 0; }
.song-row { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); animation: rise 0.28s ease both; }
.song-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.song-title { font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.song-artist { color: var(--muted); font-size: 0.9rem; overflow-wrap: anywhere; }
.result-msg { display: flex; align-items: center; gap: 10px; justify-content: center; padding: 18px; color: var(--muted); text-align: center; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.15); border-top-color: var(--cyan); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.top-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.top-item { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: border-color 0.3s, background 0.3s; }
.top-item.is-bump { animation: bump 0.9s ease; }
@keyframes bump { 0% { background: rgba(247, 37, 133, 0.18); border-color: rgba(247, 37, 133, 0.6); } 100% { background: var(--surface); border-color: var(--border); } }
.top-rank { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); font-weight: 800; color: var(--muted); font-size: 0.92rem; }
.top-item:nth-child(1) .top-rank { background: var(--grad); color: #06060b; }
.top-item:nth-child(2) .top-rank, .top-item:nth-child(3) .top-rank { color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.4); }
.top-votes { display: inline-flex; align-items: center; gap: 4px; color: var(--pink); font-weight: 800; flex: none; }
.top-item.is-played { opacity: 0.6; }
.tag-played { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; color: var(--green); text-transform: uppercase; }
.btn-vote { --h: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(34, 211, 238, 0.55); background: transparent; color: var(--text); font-weight: 700; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.15s; }
.btn-vote:hover { background: rgba(34, 211, 238, 0.1); }
.btn-vote:active { transform: scale(0.95); }
.btn-vote.is-voted { border-color: rgba(52, 211, 153, 0.5); color: var(--green); background: rgba(52, 211, 153, 0.08); cursor: default; }
.btn-vote[disabled]:not(.is-voted) { opacity: 0.4; cursor: not-allowed; }
.empty-inline { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px; color: var(--muted); text-align: center; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.step { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step-ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(34, 211, 238, 0.1); color: var(--cyan); margin-bottom: 6px; }
.step .muted { font-size: 0.92rem; line-height: 1.5; }

/* Modale conferma */
.modal { border: 1px solid var(--border-strong); border-radius: 26px; background: #0d0d14; color: var(--text); padding: 34px 28px 28px; width: min(440px, calc(100vw - 32px)); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 80px rgba(247, 37, 133, 0.18); }
.modal::backdrop { background: rgba(4, 4, 8, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: pop 0.32s cubic-bezier(0.2, 1.4, 0.4, 1); }
@keyframes pop { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
.modal--confirm { text-align: center; }
.confirm-burst { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #06060b; box-shadow: 0 0 40px rgba(247, 37, 133, 0.45); }
.confirm-burst .i { width: 36px; height: 36px; }
.confirm-title { font-size: 2.6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.confirm-text { font-size: 1.08rem; margin: 10px 0 6px; }
.confirm-song { font-weight: 700; color: var(--cyan); margin: 6px 0 4px; }
.modal--confirm .btn { margin-top: 16px; width: 100%; }

/* Toast */
.toasts { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: min(460px, calc(100vw - 24px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; background: #15151f; border: 1px solid var(--border-strong); box-shadow: var(--shadow); font-size: 0.92rem; animation: rise 0.25s ease both; }
.toast--error { border-color: rgba(251, 113, 133, 0.5); }
.toast--error .i { color: var(--red); }
.toast--ok .i { color: var(--green); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: #07070b; padding: 52px 0 28px; margin-top: 20px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px; }
.footer-brand { max-width: 420px; }
.footer-payoff { margin: 18px 0 2px; font-weight: 600; }
.footer-brand .muted { margin: 0; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: #cfcfe0; display: inline-flex; gap: 8px; align-items: center; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 34px; padding-top: 20px; font-size: 0.85rem; color: var(--muted); }

/* ---------- Animazioni di entrata ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-text { text-align: center; }
  .hero-text .social-row, .hero-actions { justify-content: center; }
  .hero-bio { margin-left: auto; margin-right: auto; }
  .photo-frame { margin: 0 auto; max-width: 380px; }
  .featured { grid-template-columns: 1fr; }
  .featured-media { min-height: 0; aspect-ratio: 4 / 5; }
  .featured--detail .featured-media { aspect-ratio: auto; }
  .featured--detail .featured-media > img { position: static; height: auto; }
  .featured--detail .featured-media .poster-fallback { position: relative; min-height: 260px; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 16px 22px; background: rgba(8, 8, 12, 0.97); border-bottom: 1px solid var(--border); transform: translateY(-120%); opacity: 0; visibility: hidden; transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s 0.3s; }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform 0.3s ease, opacity 0.3s ease; }
  .site-nav > a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; }
  .nav-dj { margin: 8px 0 0; }
  .brand-name { font-size: 1.35rem; }
  .brand-logo { width: 52px; height: 35px; }
  .hero { padding: 40px 0 56px; }
  .section { padding: 52px 0; }
  .section--tight { padding: 14px 0; }
  .page-head { padding: 36px 0 26px; }
  .page-head--request .lead { font-size: 1rem; margin: 12px auto 20px; }
  .panel { padding: 20px 16px; border-radius: 20px; }
  .panel-title { font-size: 1.35rem; }
  .featured-body { padding: 24px 20px; }
  .steps { grid-template-columns: 1fr; }
  .cta-section { padding: 64px 0; }
  .song-row, .top-item { padding: 10px 10px 10px 12px; gap: 10px; }
  .song-row .btn { padding: 0 12px; }
  .top-rank { width: 30px; height: 30px; }
  .next-strip { gap: 14px; padding: 14px; }
  .date-block { width: 60px; height: 60px; }
  .date-day { font-size: 1.8rem; }
}
@media (max-width: 400px) {
  .hide-xs { display: none; }
  .brand-slogan { display: none; }
  .search-box { padding-left: 40px; }
  .search-box .search-ico { left: 14px; }
}
