/* ============================================================
   STEREO 98 DAB+ — Palette ufficiale dal logo
   Sfondo:  #f5f5f7 (bianco Apple-ish)
   Accent:  #D61F7A (magenta logo)
   Second:  #5BC4F2 (sky blue logo)
   Font:    Montserrat + Inter
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ── Reset & variabili ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Sfondo */
    --bg:          #f5f5f7;
    --bg2:         #ffffff;
    --surface:     #ffffff;
    --surface2:    #f0f0f2;
    --border:      #e0e0e6;

    /* Brand */
    --accent:      #D61F7A;
    --accent-dark: #b01865;
    --accent-light:#fce8f3;
    --second:      #5BC4F2;
    --second-dark: #38a8d8;
    --second-light:#e8f7fd;

    /* Gradiente logo */
    --gradient:    linear-gradient(135deg, #D61F7A 0%, #5BC4F2 100%);
    --gradient-soft: linear-gradient(135deg, #fce8f3 0%, #e8f7fd 100%);

    /* Testo */
    --text:        #111111;
    --text-soft:   #444444;
    --text-muted:  #888888;

    /* Layout */
    --player-h:    80px;
    --topbar-h:    32px;
    --nav-h:       64px;
    --radius:      10px;
    --radius-lg:   16px;
    --transition:  .2s cubic-bezier(.4,0,.2,1);
    --font-display:'Montserrat', sans-serif;
    --font-body:   'Inter', sans-serif;
    --shadow:      0 2px 16px rgba(0,0,0,.08);
    --shadow-md:   0 4px 32px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    padding-top: calc(var(--nav-h) + var(--topbar-h));
    padding-bottom: calc(var(--player-h) + 4px);
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ══════════════════════════════════════════════════════════
   STICKY PLAYER
══════════════════════════════════════════════════════════ */
#sticky-player {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--player-h);
    background: #ffffff;
    border-top: 3px solid transparent;
    border-image: var(--gradient) 1;
    z-index: 1000;
    box-shadow: 0 -4px 24px rgba(0,0,0,.1);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.player-inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto auto;
    align-items: center;
    gap: 18px;
    height: 100%;
    width: 100%;
    padding: 0 48px;
}

/* Artwork */
.player-artwork {
    position: relative;
    width: 52px; height: 52px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}
.player-artwork img { width: 100%; height: 100%; object-fit: cover; }

/* EQ bars */
.player-eq {
    position: absolute; inset: 0;
    background: rgba(214,31,122,.65);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    padding: 8px 5px;
    opacity: 0;
    transition: opacity .2s;
}
.player-eq.active { opacity: 1; }
.player-eq span {
    display: block; width: 4px;
    background: #fff;
    border-radius: 2px;
    animation: eq-bar .9s ease-in-out infinite alternate;
}
.player-eq span:nth-child(1) { height: 55%; animation-delay: 0s; }
.player-eq span:nth-child(2) { height: 85%; animation-delay: .2s; }
.player-eq span:nth-child(3) { height: 65%; animation-delay: .1s; }
.player-eq span:nth-child(4) { height: 45%; animation-delay: .3s; }
@keyframes eq-bar { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

/* Marquee scroll continuo (stile ticker RSS) */
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-wrap {
    overflow: hidden;
    white-space: nowrap;
}
.marquee-wrap .marquee-inner {
    display: inline-block;
    white-space: nowrap;
}
.marquee-wrap.is-overflowing .marquee-inner {
    animation: marquee-scroll var(--marquee-duration, 8s) linear infinite;
}
@media (prefers-reduced-motion: reduce) {
    .marquee-wrap.is-overflowing .marquee-inner { animation: none; }
}

/* Meta */
.player-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.player-artist {
    font-family: var(--font-display);
    font-weight: 700; font-size: 11px;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--accent);
}
.player-title {
    font-family: var(--font-display);
    font-weight: 600; font-size: 15px;
    color: var(--text);
}

/* Cuore like */
.btn-like {
    width: 36px; height: 36px;
    border: none; background: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; padding: 0;
    transition: transform .2s;
}
.btn-like svg {
    width: 22px; height: 22px;
    fill: transparent; stroke: var(--text-muted); stroke-width: 2;
    transition: fill .3s, stroke .3s, transform .3s;
}
.btn-like.liked svg {
    fill: var(--accent); stroke: var(--accent);
    animation: like-pop .4s ease;
}
.btn-like:hover svg { stroke: var(--accent); transform: scale(1.15); }
@keyframes like-pop {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.3); }
    60%  { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Controlli */
.player-controls { display: flex; align-items: center; gap: 14px; }

.btn-play {
    width: 48px; height: 48px;
    border-radius: 50%; border: none;
    background: var(--gradient);
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 14px rgba(214,31,122,.35);
    flex-shrink: 0;
}
.btn-play:hover  { transform: scale(1.07); box-shadow: 0 6px 20px rgba(214,31,122,.45); }
.btn-play:active { transform: scale(.94); }
.btn-play svg    { width: 20px; height: 20px; fill: #fff; stroke: none; }

/* Volume */
.player-volume { display: flex; align-items: center; gap: 8px; }
.player-volume svg { width: 16px; height: 16px; stroke: var(--text-muted); fill: none; stroke-width: 1.8; flex-shrink: 0; }
#volume-slider {
    -webkit-appearance: none;
    width: 90px; height: 3px;
    border-radius: 2px;
    background: var(--border);
    cursor: pointer; outline: none;
}
#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--accent); cursor: pointer;
}
#volume-slider::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: none; cursor: pointer; }

/* Selettore qualità */
.player-quality { position: relative; flex-shrink: 0; }
.quality-btn {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text-soft);
    font-family: var(--font-display);
    font-weight: 700; font-size: 11px;
    letter-spacing: .05em;
    padding: 6px 12px; border-radius: 6px;
    cursor: pointer; white-space: nowrap;
    transition: background var(--transition), color var(--transition);
}
.quality-btn:hover { background: var(--border); color: var(--text); }

.quality-menu {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px); right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    list-style: none;
    min-width: 150px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    z-index: 200;
}
.quality-menu.open { display: block; }
.quality-menu li {
    padding: 11px 16px;
    font-family: var(--font-display);
    font-size: 13px; font-weight: 600;
    color: var(--text-soft); cursor: pointer;
    transition: background var(--transition), color var(--transition);
    border-bottom: 1px solid var(--border);
}
.quality-menu li:last-child { border-bottom: none; }
.quality-menu li:hover { background: var(--accent-light); color: var(--accent); }
.quality-menu li.active { color: var(--accent); background: var(--accent-light); }
.quality-menu li.active::before { content: '● '; font-size: 10px; }

/* Badge */
.player-status { flex-shrink: 0; width: 140px; text-align: right; }
.badge {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    font-family: var(--font-display);
    font-weight: 800; font-size: 10px;
    letter-spacing: .12em; padding: 5px 11px;
    border-radius: 20px; text-transform: uppercase;
    width: 130px; text-align: center;
    box-sizing: border-box;
    border: 1px solid transparent;
}
.badge::before {
    content: ''; display: block;
    width: 7px; height: 7px; border-radius: 50%;
    flex-shrink: 0;
    background: transparent;
}
.badge-live {
    background: var(--gradient);
    color: #fff;
}
.badge-live::before {
    background: #fff;
    animation: blink-dot 1.4s ease-in-out infinite;
}
@keyframes blink-dot { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.badge-buffering { background: var(--second-light); color: var(--second-dark); border-color: var(--second); }
.badge-paused    { background: var(--surface2); color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
/* Topbar social */
#topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--topbar-h);
    background: #1a1a2e;
    z-index: 910;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    padding: 0 48px;
}
.topbar-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}
.topbar-social-link {
    color: rgba(255,255,255,.6);
    transition: color var(--transition), transform var(--transition);
    display: flex;
    align-items: center;
}
.topbar-social-link svg {
    width: 14px;
    height: 14px;
}
.topbar-social-link:hover {
    color: #fff;
    transform: scale(1.15);
}

#main-nav {
    position: fixed;
    top: var(--topbar-h); left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(255,255,255,.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    z-index: 900;
    box-shadow: 0 1px 12px rgba(0,0,0,.06);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.nav-inner {
    display: flex; align-items: center;
    height: 100%;
    width: 100%; padding: 0 48px;
    gap: 32px;
}

/* SEO — testo visibile solo ai motori di ricerca */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.nav-logo-img {
    height: 40px;
    max-height: 40px;
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain;
}

.nav-links { display: flex; list-style: none; gap: 2px; margin-left: auto; align-items: center; }
.nav-links > li { display: flex; align-items: center; }
.nav-links a,
.nav-dropdown-toggle {
    font-family: var(--font-display);
    font-weight: 700; font-size: 13px;
    letter-spacing: .05em; text-transform: uppercase;
    color: var(--text-soft);
    padding: 8px 14px; border-radius: 8px;
    transition: color var(--transition), background var(--transition);
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}
.nav-links a:hover,
.nav-dropdown-toggle:hover { color: var(--text); background: var(--surface2); text-decoration: none; }
.nav-links a.active,
.nav-dropdown-toggle.active { color: var(--accent); background: var(--accent-light); }
.nav-links a.active::after,
.nav-dropdown-toggle.active::after {
    content: '';
    position: absolute;
    bottom: 5px; left: 50%;
    transform: translateX(-50%);
    width: 18px; height: 2px; border-radius: 1px;
    background: var(--accent);
}

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ── Nav Dropdown ──────────────────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: default; display: flex; align-items: center; gap: 4px; }
.nav-arrow { width: 10px; height: 6px; flex-shrink: 0; transition: transform var(--transition); }
.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }
.nav-sub {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    transform: none;
    list-style: none;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    min-width: 180px;
    z-index: 950;
    border: 1px solid var(--border);
    margin-top: 0;
}
.nav-dropdown:hover .nav-sub { display: block; }
.nav-sub li a {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-display);
    font-weight: 600; font-size: 13px;
    letter-spacing: .04em; text-transform: uppercase;
    color: var(--text-soft);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
    border-radius: 0;
}
.nav-sub li a:hover { color: var(--accent); background: var(--accent-light); }
.nav-sub li a.active { color: var(--accent); }

/* ══════════════════════════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════════════════════════ */
#main-content {
    width: 100%;
    padding: 0 48px 60px;
    min-height: calc(100vh - var(--nav-h) - var(--player-h) - 80px);
}
#main-content.loading { opacity: .35; pointer-events: none; transition: opacity .15s; }
#main-content.loaded  { animation: fadeUp .28s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ══════════════════════════════════════════════════════════
   SPONSOR / PARTNER BAR (prima del footer)
══════════════════════════════════════════════════════════ */
.sp-section {
    padding: 0;
}
.sp-block { margin-top: 48px; }
.sp-cards { display: flex; flex-wrap: wrap; gap: 24px; justify-content: flex-start; }
.sp-card {
    background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
    text-decoration: none; color: inherit;
    transition: transform .2s, box-shadow .2s;
    display: flex; flex-direction: column;
    border: 1px solid var(--border);
}
.sp-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.sp-card img {
    width: 100%; max-height: 300px; object-fit: contain;
    padding: 16px;
}
.sp-card-name {
    font-family: var(--font-display); font-weight: 700; font-size: 14px;
    color: var(--text); text-align: center;
    padding: 0 16px 14px;
}
/* In evidenza: testo più bold */
.sp-card--evidenza .sp-card-name { font-weight: 900; font-size: 16px; }
/* Sponsor cards: più piccole */
.sp-block--sponsor .sp-card { width: 200px; }
.sp-block--sponsor .sp-card img { max-height: 160px; }
/* Partner cards: più grandi */
.sp-block--partner .sp-card { width: 340px; }
.sp-block--partner .sp-card-name { font-size: 17px; padding: 0 20px 18px; }
.sp-block--partner .sp-card--evidenza .sp-card-name { font-weight: 900; font-size: 19px; }

/* ══════════════════════════════════════════════════════════
   COME ASCOLTARCI — card grid
══════════════════════════════════════════════════════════ */
.ascoltaci-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.ascoltaci-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.ascoltaci-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
.ascoltaci-card-img {
    display: block;
    width: 100%;
    overflow: hidden;
    background: var(--surface2);
}
.ascoltaci-card-img img {
    width: 100%;
    height: auto;
    display: block;
}
.ascoltaci-card-body {
    padding: 16px;
    flex: 1;
}
.ascoltaci-card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 8px;
}
.ascoltaci-card-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}
.ascoltaci-card-text p { margin-bottom: 8px; }

/* ── Chi Siamo (sezione in Contatti) ── */
.chi-siamo-section {
    max-width: 800px;
    margin: 0 auto 40px;
}
.chi-siamo-section h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 16px;
}
.chi-siamo-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
}
.chi-siamo-content p { margin-bottom: 12px; }
.chi-siamo-content strong { color: var(--text); }
.chi-siamo-divider {
    height: 1px;
    background: var(--border);
    margin: 40px auto;
    max-width: 800px;
}

/* ══════════════════════════════════════════════════════════
   CLUB — Login + Dashboard
══════════════════════════════════════════════════════════ */
.club-login-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}
.club-login-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
}
.club-login-icon {
    color: var(--accent);
    margin-bottom: 16px;
}
.club-login-card h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 12px;
}
.club-login-card > p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}
.club-login-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.club-code-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: .1em;
    text-align: center;
    text-transform: uppercase;
    background: var(--bg);
    color: var(--text);
    transition: border-color .2s;
}
.club-code-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(214,31,122,.1);
}
.club-code-input::placeholder {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    font-size: 14px;
}
.club-login-error {
    background: rgba(214,54,56,.1);
    border: 1px solid rgba(214,54,56,.3);
    color: #d63638;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 12px;
}
.club-login-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 16px;
}
/* Club area */
.club-area {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}
/* Club Tabs */
.club-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: var(--surface2);
    border-radius: 12px;
    padding: 4px;
    overflow-x: auto;
}
.club-tab {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}
.club-tab.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-second));
    color: #fff;
    box-shadow: 0 2px 8px rgba(214,31,122,.3);
}
.club-tab:not(.active):hover {
    background: var(--border);
    color: var(--text);
}
.club-tab-content {
    display: none;
}
.club-tab-content.active {
    display: block;
}
/* Club Profile */
.club-profile-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
}
.club-profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-second));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
}
.club-profile-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
}
.club-profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.club-profile-label {
    font-size: 13px;
    color: var(--text-muted);
}
.club-profile-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.club-profile-code {
    color: var(--accent);
    font-family: monospace;
    letter-spacing: .05em;
}
.club-profile-hint {
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
    opacity: .7;
    line-height: 1.5;
}
/* Club Badges */
.club-badges-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.club-badges-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}
.club-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.club-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    min-width: 80px;
    transition: transform .2s, box-shadow .2s;
}
.club-badge.unlocked {
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(214,31,122,.2);
}
.club-badge.unlocked:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(214,31,122,.3);
}
.club-badge.locked {
    opacity: .35;
    filter: grayscale(1);
}
.club-badge-icon {
    font-size: 28px;
    line-height: 1;
}
.club-badge-name {
    font-size: 10px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    letter-spacing: .02em;
}
.club-next-badge {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}
.club-next-badge strong {
    color: var(--accent);
}
@media (max-width: 600px) {
    .club-badge { min-width: 65px; padding: 10px 10px; }
    .club-badge-icon { font-size: 24px; }
}
/* Club Mini Chart */
.club-chart-section {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
}
.club-mini-chart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.club-mini-chart-item:last-child {
    border-bottom: none;
}
.club-mini-chart-pos {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.club-mini-chart-pos.top3 {
    background: linear-gradient(135deg, var(--accent), var(--accent-second));
}
.club-mini-chart-info {
    flex: 1;
    min-width: 0;
}
.club-mini-chart-artist {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.club-mini-chart-title {
    font-size: 11px;
    color: var(--text-muted);
}
.club-mini-chart-votes {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .club-tabs { gap: 2px; padding: 3px; }
    .club-tab { font-size: 11px; padding: 8px 10px; }
    .club-profile-card { padding: 20px 16px; }
}
.club-welcome {
    text-align: center;
    margin-bottom: 20px;
}
.club-welcome h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px;
}
.club-welcome h2 span {
    background: linear-gradient(90deg, var(--accent), var(--second));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.club-welcome p {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 8px;
}
.club-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.club-feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: transform .2s, box-shadow .2s;
}
.club-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.club-feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}
.club-feature-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
}
.club-feature-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}
.club-coming-soon {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    border-radius: 12px;
    background: rgba(214,31,122,.15);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
}
/* Club — Sezione Voti */
.club-votes-section {
    margin-top: 32px;
    margin-bottom: 32px;
}
.club-section-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}
.club-votes-stats {
    margin-bottom: 16px;
}
.club-votes-total {
    font-size: 14px;
    color: var(--text-muted);
}
.club-votes-total strong {
    color: var(--accent);
}
.club-votes-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.club-vote-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: background .2s;
}
.club-vote-item:hover {
    background: var(--surface);
}
.club-vote-icon {
    flex-shrink: 0;
    color: var(--accent);
    opacity: .7;
}
.club-vote-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.club-vote-artist {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.club-vote-title {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.club-vote-meta {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}
.club-vote-date, .club-vote-time {
    font-size: 11px;
    color: var(--text-muted);
    opacity: .7;
}
.club-vote-remove {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--text-muted);
    opacity: .4;
    cursor: pointer;
    padding: 4px;
    transition: opacity .2s, color .2s;
}
.club-vote-remove:hover {
    opacity: 1;
    color: #e74c3c;
}
@media (max-width: 600px) {
    .club-vote-item { padding: 10px 12px; gap: 8px; }
    .club-vote-artist { font-size: 13px; }
}
.btn-secondary {
    display: inline-block;
    padding: 10px 24px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.btn-secondary:hover { background: var(--border); }
@media (max-width: 600px) {
    .club-login-card { padding: 32px 24px; }
    .club-login-form { flex-direction: column; }
    .club-features-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
#main-footer {
    background: var(--text);
}
.footer-gradient-line {
    height: 4px;
    background: linear-gradient(90deg, #D61F7A 0%, #E84393 20%, #F79F1F 40%, #FFC312 50%, #A3CB38 60%, #5BC4F2 80%, #0652DD 100%);
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 32px;
    padding: 40px 48px 24px;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.footer-contacts { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.footer-contact-item { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.footer-contact-item a {
    display: flex; align-items: center; gap: 5px;
    font-size: 13px; color: #999; transition: color .2s; text-decoration: none;
    white-space: nowrap;
}
.footer-contact-item a:hover { color: #fff; }
.footer-contact-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.footer-dab { display: flex; align-items: flex-start; }
.footer-dab-logo { height: 56px; width: auto; opacity: .8; }
.footer-brand a { display: inline-block; }
.footer-brand p { font-size: 13px; color: #888; font-family: var(--font-body); font-weight: 300; margin-top: 4px; }
.footer-col-title { font-family: var(--font-display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: #999; transition: color var(--transition); }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-socials { display: flex; flex-direction: column; gap: 8px; }
.footer-socials a { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #999; transition: color var(--transition); }
.footer-socials a:hover { color: #fff; text-decoration: none; }
.footer-socials svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-scroll-top {
    text-align: center;
    padding: 20px 0 0;
}
.footer-scroll-top button {
    background: none;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #999;
    cursor: pointer;
    transition: color .2s, border-color .2s, transform .2s;
}
.footer-scroll-top button:hover {
    color: #fff;
    border-color: rgba(255,255,255,.5);
    transform: translateY(-2px);
}
.footer-scroll-top svg { width: 20px; height: 20px; }
.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 48px calc(var(--player-h) + 4px);
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* Privacy */
.privacy-content { color: var(--text-soft); line-height: 1.8; font-size: 15px; }
.privacy-content h1, .privacy-content h2, .privacy-content h3 { color: var(--text); margin: 24px 0 12px; }
.privacy-content p { margin-bottom: 16px; }
.privacy-content ul, .privacy-content ol { margin-bottom: 16px; padding-left: 24px; }
.privacy-content a { color: var(--accent); }

/* ══════════════════════════════════════════════════════════
   HERO HOME
══════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════
   HERO HOME
══════════════════════════════════════════════════════════ */
.hero-home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px 0 40px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--border);
}
.hero-home-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.hero-logo {
    height: 80px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
}
.hero-tagline {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 400px;
    line-height: 1.6;
}
.hero-on-air-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff0f6;
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(214,31,122,.2);
    width: fit-content;
}
.hero-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: blink-dot 1.4s ease-in-out infinite;
    display: inline-block;
}
.hero-home-right {
    flex-shrink: 0;
}
.hero-now-playing {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    min-width: 280px;
    overflow: hidden;
}
.hero-cover {
    width: 72px; height: 72px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.hero-track-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.hero-track-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
}
.hero-track-artist {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
    max-width: 200px;
}
.hero-track-title {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 200px;
}

/* ══════════════════════════════════════════════════════════
   PAGE HERO (altre pagine)
══════════════════════════════════════════════════════════ */
.page-hero {
    padding: 40px 0 32px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    letter-spacing: -.02em;
    text-transform: uppercase;
    color: var(--text);
}
.page-hero h1 span { color: var(--accent); }
.page-hero p {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ══════════════════════════════════════════════════════════
   SEZIONE HEADER
══════════════════════════════════════════════════════════ */
.section-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.section-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: var(--text); }
.section-title span { color: var(--accent); }
.section-line { flex: 1; height: 1px; background: var(--border); }
.section-more { font-size: 12px; font-weight: 600; color: var(--second-dark); letter-spacing: .05em; text-transform: uppercase; transition: opacity var(--transition); text-decoration: none; }
.section-more:hover { opacity: .7; text-decoration: none; }

/* Ora in onda */
.track-card-main {
    display: flex; align-items: center; gap: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px; margin-bottom: 12px;
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition);
}
.track-card-main:hover { box-shadow: var(--shadow-md); }
.track-cover-lg { width: 80px; height: 80px; border-radius: var(--radius); object-fit: cover; flex-shrink: 0; box-shadow: var(--shadow); background: var(--surface2); }
.track-info-main { flex: 1; min-width: 0; }
.track-label { font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.track-artist-lg { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.track-title-lg { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.1; color: var(--text); margin-top: 2px; }

/* ══════════════════════════════════════════════════════════
   PALINSESTO
══════════════════════════════════════════════════════════ */
.palinsesto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 8px; }
.show-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex; align-items: center; gap: 16px;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), border-color var(--transition);
}
.show-card:hover { box-shadow: var(--shadow-md); border-color: rgba(214,31,122,.3); }
.show-card.on-air { border-color: var(--accent); background: var(--accent-light); }
.show-card.show-card-evento { border-color: rgba(214,31,122,.3); background: rgba(214,31,122,.05); }
.show-time-block { flex-shrink: 0; text-align: center; min-width: 54px; }
.show-time { font-family: var(--font-display); font-weight: 900; font-size: 20px; color: var(--accent); line-height: 1; }
.show-day { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-top: 3px; }
.show-divider { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }
.show-info { flex: 1; min-width: 0; }
.show-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; color: var(--text); }
.show-host { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.on-air-badge { font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--gradient); color: #fff; padding: 3px 8px; border-radius: 10px; display: inline-block; margin-top: 5px; }

/* ══════════════════════════════════════════════════════════
   CLASSIFICA
══════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════
   NEWS
══════════════════════════════════════════════════════════ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}
.news-grid-full {
    margin-top: 32px;
}
.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.news-card-img {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: var(--border);
    flex-shrink: 0;
}
.news-card-img--empty {
    background: linear-gradient(135deg, rgba(214,31,122,.15) 0%, rgba(91,196,242,.15) 100%);
}
.news-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.news-card-date {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
}
.news-card-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    margin: 0;
}
.news-card-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}
.btn-load-more {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 32px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.btn-load-more:hover {
    border-color: var(--accent);
    color: var(--accent);
}
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } .ascoltaci-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } .ascoltaci-grid { grid-template-columns: 1fr; } }

.chart-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.chart-tab-btn { padding: 10px 20px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: #aaa; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; }
.chart-tab-btn:hover { border-color: rgba(216,93,157,.4); color: #fff; }
.chart-tab-btn.active { background: linear-gradient(135deg, rgba(216,93,157,.2), rgba(91,196,242,.1)); border-color: #D85D9D; color: #fff; }
.chart-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.chart-item {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), border-color var(--transition);
}
.chart-item:hover { box-shadow: var(--shadow-md); border-color: rgba(214,31,122,.25); }
.chart-pos { font-family: var(--font-display); font-weight: 900; font-size: 26px; color: var(--border); width: 36px; text-align: center; flex-shrink: 0; line-height: 1; }
.chart-item:nth-child(1) .chart-pos { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.chart-item:nth-child(2) .chart-pos { color: var(--second); }
.chart-item:nth-child(3) .chart-pos { color: #c0a060; }
.chart-cover-sm { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--surface2); }
.chart-info { flex: 1; min-width: 0; }
.chart-artist { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.chart-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); margin-top: 2px; }
.chart-likes { font-size: 12px; font-weight: 600; flex-shrink: 0; color: var(--accent); }
.trend-up { color: #16a34a; } .trend-down { color: var(--accent); } .trend-eq { color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════
   FORM SCRIVICI
══════════════════════════════════════════════════════════ */
.form-wrapper { max-width: 640px; margin: 0 auto; }
.page-header { margin-bottom: 40px; }
.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 900; text-transform: uppercase;
    line-height: .95; letter-spacing: -.01em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-header p { color: var(--text-muted); margin-top: 12px; font-size: 15px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 7px; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    padding: 13px 16px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(214,31,122,.1); }
.form-group textarea { resize: vertical; min-height: 130px; }

.file-drop {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 36px 24px; text-align: center;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    color: var(--text-muted); font-size: 14px; line-height: 1.8;
}
.file-drop:hover,
.file-drop.dragover { border-color: var(--accent); background: var(--accent-light); color: var(--accent); }
.file-drop input[type="file"] { display: none; }
.file-drop strong { display: block; font-size: 13px; font-weight: 600; color: var(--text-soft); margin-bottom: 4px; }

.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--gradient);
    color: #fff;
    font-family: var(--font-display);
    font-size: 14px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    padding: 15px 36px; border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 16px rgba(214,31,122,.3);
}
.btn-primary:hover  { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(214,31,122,.4); }
.btn-primary:active { transform: scale(.97); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.form-feedback { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius); font-size: 14px; display: none; }
.form-feedback.success { background: #f0fdf4; border: 1.5px solid #86efac; color: #16a34a; display: block; }
.form-feedback.error   { background: var(--accent-light); border: 1.5px solid rgba(214,31,122,.3); color: var(--accent); display: block; }

/* ══════════════════════════════════════════════════════════
   SPINNER
══════════════════════════════════════════════════════════ */
.spinner {
    width: 34px; height: 34px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin .65s linear infinite;
    margin: 64px auto;
    grid-column: 1 / -1;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
    .topbar-inner { padding: 0 20px; }
    .topbar-socials { gap: 10px; }
    .nav-links { display: none; flex-direction: column; }
    .nav-links.open {
        display: flex;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: 0 0 12px;
        box-shadow: var(--shadow-md);
        gap: 0;
        align-items: stretch;
    }
    .nav-links.open > li { display: block; }
    .nav-links li a { padding: 11px 24px; border-radius: 0; font-size: 16px; line-height: 1.8; letter-spacing: .08em; text-align: left; display: block; }
    .nav-links a.active::after { display: none; }
    .nav-burger { display: flex; }

    /* Dropdown → accordion su mobile */
    .nav-dropdown { position: static !important; }
    .nav-dropdown-toggle { justify-content: space-between; width: 100%; cursor: pointer; }
    .nav-dropdown:hover .nav-arrow { transform: none; }
    .nav-sub,
    .nav-dropdown .nav-sub,
    .nav-dropdown:hover .nav-sub {
        display: none !important;
        position: static !important;
        transform: none !important;
        left: auto !important; top: auto !important;
        z-index: auto !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        min-width: 0 !important;
        background: var(--surface2) !important;
        width: 100% !important;
    }
    .nav-dropdown.open > .nav-sub { display: block !important; }
    .nav-sub li a { padding: 10px 40px !important; font-size: 14px !important; }
    .nav-dropdown.open .nav-arrow { transform: rotate(180deg); }

    .player-volume { display: none; }
    .player-status { display: none; }
    .player-inner  { grid-template-columns: auto 1fr auto auto auto; }

    .hero { padding: 40px 24px; }
    .hero h1 { font-size: 48px; }

    .sp-block { margin-top: 32px; }
    .sp-cards { justify-content: center; }
    .sp-block--sponsor .sp-card { width: 140px; }
    .sp-block--partner .sp-card { width: 260px; }

    .footer-inner { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px 16px; text-align: center; }
    .footer-brand { align-items: center; }
    .footer-col { align-items: center; display: flex; flex-direction: column; }
    .footer-dab { justify-content: center; }
    .footer-contacts { align-items: center; }
    .footer-socials { align-items: center; }
    .footer-bottom { padding: 16px 24px 0; }

    .track-card-main { gap: 16px; }
    .track-title-lg  { font-size: 20px; }
}

/* ══════════════════════════════════════════════════════════
   PAGE BANNER (hero immagine/colore tutte le pagine)
══════════════════════════════════════════════════════════ */
.page-banner {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: 350px;
    background-size: cover;
    background-position: center;
    background-color: #0d0d1a;
    position: relative;
    margin-bottom: 48px;
}
.banner-store-badges {
    position: absolute;
    top: 20px;
    right: 48px;
    display: flex;
    gap: 10px;
    z-index: 2;
}
.banner-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 8px 14px;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
    transition: background .2s, border-color .2s;
}
.banner-store-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}
.banner-store-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
/* Club button — accent gradient */
.banner-club-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--accent), var(--second));
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    padding: 8px 16px;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: transform .2s, box-shadow .2s;
    animation: clubPulse 2s ease-in-out infinite;
}
.banner-club-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(214,31,122,.4);
}
.banner-club-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
@keyframes clubPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(214,31,122,.4); }
    50% { box-shadow: 0 0 16px 4px rgba(214,31,122,.3); }
}
/* Fan code badge nel banner */
.banner-fan-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 20px;
    padding: 6px 12px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    font-family: var(--font-display);
}
.banner-fan-badge svg {
    opacity: .7;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .banner-store-badges { top: 12px; right: 16px; }
    .banner-store-btn span { display: none; }
    .banner-store-btn { padding: 8px; border-radius: 8px; }
    .banner-store-btn svg { width: 20px; height: 20px; }
    .banner-club-btn span { display: none; }
    .banner-club-btn { padding: 8px 10px; border-radius: 8px; }
    .banner-fan-badge { padding: 5px 8px; font-size: 10px; }
}
.page-banner video.banner-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.page-banner-overlay {
    position: relative;
    z-index: 1;
    min-height: 350px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    padding: 60px 48px;
}
.page-banner-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.page-banner-now {
    flex-shrink: 0;
}
.banner-now-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 14px 18px 14px 14px;
    min-width: 280px;
    max-width: 340px;
    overflow: hidden;
}
.banner-now-cover {
    width: 72px; height: 72px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
.banner-now-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1 1 0;
    overflow: hidden;
}
.banner-now-artist, .banner-now-title { max-width: 100%; }
.banner-now-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.banner-now-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    flex-shrink: 0;
    animation: blink-dot 1.4s ease-in-out infinite;
}
.banner-now-artist {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.banner-now-title {
    font-size: 12px;
    color: rgba(255,255,255,.7);
    text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
/* Scheda palinsesto nel banner */
.banner-palinsesto-card {
    border-left: 3px solid var(--accent);
    animation: palFadeIn .4s ease;
}
.banner-pal-time {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: .04em;
}
@keyframes palFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.page-banner-logo {
    height: 120px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    filter: drop-shadow(0 4px 24px rgba(0,0,0,.5));
}
.page-banner-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    letter-spacing: -.02em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.page-banner-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,.8);
    margin-top: 4px;
    text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
@media (max-width: 768px) {
    #main-content { padding: 0 16px 40px; }
    .page-banner { min-height: 300px; }
    .page-banner-overlay { flex-direction: column; align-items: flex-start; min-height: 300px; padding: 24px 20px; gap: 20px; }
    .page-banner-now { align-items: flex-start; }
    .banner-now-card { min-width: 0; max-width: 100%; }
    .banner-now-info { text-align: left; }
    .page-banner-logo { height: 80px; }
}

/* ══════════════════════════════════════════════════════════
   NEWS SINGOLA
══════════════════════════════════════════════════════════ */
.news-single { width: 100%; display: flex; flex-direction: column; align-items: center; }
.news-single-img {
    width: 100%; max-width: 780px; max-height: 520px;
    object-fit: cover; border-radius: var(--radius-lg);
    margin-bottom: 40px; display: block;
}
.news-single-body { max-width: 780px; width: 100%; display: flex; flex-direction: column; gap: 16px; }
.news-single-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.news-single-date { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.news-single-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 46px);
    font-weight: 900; line-height: 1.12;
    letter-spacing: -.02em; color: var(--text); margin: 0;
}
.news-single-content { font-size: 16px; line-height: 1.8; color: var(--text); }
.news-single-content img { max-width: 100%; border-radius: var(--radius); margin: 16px 0; }
.news-single-content p { margin: 0 0 16px; }
.news-single-content h2, .news-single-content h3 {
    font-family: var(--font-display); font-weight: 700; margin: 28px 0 10px;
}

/* ══════════════════════════════════════════════════════════
   SHOW SINGOLO
══════════════════════════════════════════════════════════ */
.show-single { width: 100%; display: flex; flex-direction: column; align-items: center; }
.show-single-img {
    width: 100%; max-width: 780px; max-height: 400px;
    object-fit: cover; border-radius: var(--radius-lg);
    margin-bottom: 32px; display: block;
}
.show-single-info { display: flex; flex-direction: column; gap: 16px; max-width: 780px; width: 100%; }
.show-single-title {
    font-family: var(--font-display); font-size: clamp(24px, 4vw, 42px);
    font-weight: 900; margin: 0; color: var(--text); letter-spacing: -.02em;
}
.show-single-desc { font-size: 16px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.show-orari { display: flex; flex-wrap: wrap; gap: 8px; }
.show-orario {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 20px; padding: 6px 16px;
}
.show-giorno { font-weight: 700; font-size: 13px; color: var(--text); }
.show-ora { font-size: 13px; color: var(--accent); font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   TAXONOMY BADGES (categorie e tag)
══════════════════════════════════════════════════════════ */
.taxonomy-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tags-list { margin-top: 8px; }
.taxonomy-badge {
    display: inline-flex; align-items: center;
    font-size: 11px; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; padding: 4px 10px;
    border-radius: 20px; text-decoration: none; cursor: pointer;
    transition: opacity .2s;
}
.taxonomy-badge:hover { opacity: .75; }
.cat-badge { background: rgba(214,31,122,.1); color: var(--accent); border: 1px solid rgba(214,31,122,.2); }
.tag-badge { background: rgba(91,196,242,.1); color: #1a9ec9; border: 1px solid rgba(91,196,242,.3); }

/* ══════════════════════════════════════════════════════════
   SHARE BAR — condividi
══════════════════════════════════════════════════════════ */
.share-bar { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.share-bar-label { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.share-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--border);
    color: var(--text-muted); text-decoration: none; cursor: pointer;
    transition: background .2s, color .2s, transform .15s;
    font-size: 16px;
}
.share-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.1); }
.share-btn svg { width: 18px; height: 18px; fill: currentColor; }
.share-toast {
    position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #fff; padding: 10px 24px;
    border-radius: 24px; font-size: 14px; font-weight: 600;
    z-index: 9999; opacity: 0; transition: opacity .3s;
    pointer-events: none;
}
.share-toast.show { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   APPLE MUSIC BUTTON in classifica
══════════════════════════════════════════════════════════ */
.chart-apple-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(0,0,0,.06); color: var(--text-muted);
    text-decoration: none; flex-shrink: 0;
    transition: background .2s, color .2s;
}
.chart-apple-btn:hover { background: #000; color: #fff; }
.chart-apple-btn svg { width: 18px; height: 18px; }

/* iTunes Charts */
.itunes-tabs {
    display: flex; gap: 6px; flex-wrap: wrap;
    margin-bottom: 16px; margin-top: 8px;
}
.itunes-tab {
    font-family: var(--font-display);
    font-weight: 600; font-size: 13px;
    letter-spacing: .04em; text-transform: uppercase;
    padding: 10px 20px; border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface); color: var(--text-soft);
    cursor: pointer;
    transition: all var(--transition);
}
.itunes-tab:hover { background: var(--surface2); color: var(--text); }
.itunes-tab.active {
    background: var(--accent); color: #fff;
    border-color: var(--accent);
}
.itunes-chart-cover {
    width: 52px; height: 52px;
    border-radius: 8px; object-fit: cover;
    flex-shrink: 0; background: var(--surface2);
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.itunes-chart-cover-empty {
    width: 52px; height: 52px;
    border-radius: 8px; flex-shrink: 0;
    background: var(--surface2);
}
.chart-actions {
    display: flex; gap: 6px; flex-shrink: 0;
}
.chart-play-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(30,215,96,.1); color: #1DB954;
    text-decoration: none; flex-shrink: 0;
    transition: background .2s, color .2s;
}
.chart-play-btn:hover { background: #1DB954; color: #fff; }
.chart-play-btn svg { width: 18px; height: 18px; }
.itunes-chart-date {
    font-size: 13px; color: var(--text-muted);
    margin-bottom: 12px;
}
.itunes-chart-item .chart-pos {
    /* Numeri coperti dai :nth-child del chart-item, ma qui contiamo da 1..20
       e nth-child(2) conta anche il <p> date, compensiamo */
}
.itunes-chart-item:nth-child(2) .chart-pos { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; }
.itunes-chart-item:nth-child(3) .chart-pos { color: var(--second); }
.itunes-chart-item:nth-child(4) .chart-pos { color: #c0a060; }

/* ══════════════════════════════════════════════════════════
   PULSANTE BACK
══════════════════════════════════════════════════════════ */
.btn-back {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-display); font-weight: 700; font-size: 13px;
    color: var(--text-muted); text-decoration: none; cursor: pointer;
    margin-top: 8px; transition: color .2s;
}
.btn-back:hover { color: var(--accent); }

/* Categorie overlay in alto a sinistra sulla card */
.news-card { cursor: pointer; }
.news-card-img { position: relative; }
.news-card-cats {
    position: absolute;
    top: 10px; left: 10px;
    display: flex; flex-wrap: wrap; gap: 5px;
    z-index: 2;
}
.news-card-cats .taxonomy-badge {
    backdrop-filter: blur(6px);
    background: rgba(214,31,122,.85);
    color: #fff;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,.3);
    cursor: pointer;
}
.news-card-cats .taxonomy-badge:hover {
    background: rgba(214,31,122,1);
    opacity: 1;
}
.empty-msg {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-muted);
    font-size: 16px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--second));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.empty-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.empty-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
}
.empty-sub {
    font-size: 14px;
    color: var(--text-muted);
}

/* ── Color Picker Widget ─────────────────────────────── */
#color-picker-widget {
    position: fixed;
    bottom: calc(var(--player-h) + 16px);
    right: 16px;
    z-index: 9000;
    font-family: var(--font-body);
}
.cp-toggle {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--gradient);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    display: flex; align-items: center; justify-content: center;
    transition: transform var(--transition);
}
.cp-toggle:hover { transform: scale(1.1); }
.cp-panel {
    position: absolute;
    bottom: 52px; right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity var(--transition), transform var(--transition);
    white-space: nowrap;
}
.cp-panel.cp-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.cp-input {
    width: 36px; height: 36px;
    border: 2px solid var(--border);
    border-radius: 6px;
    padding: 0; cursor: pointer;
    background: none;
}
.cp-input::-webkit-color-swatch-wrapper { padding: 2px; }
.cp-input::-webkit-color-swatch { border: none; border-radius: 3px; }
.cp-input::-moz-color-swatch { border: none; border-radius: 3px; }
.cp-reset {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface2);
    color: var(--text-soft);
    font-size: 13px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background var(--transition);
}
.cp-reset:hover { background: var(--border); }

/* ── Podcast ─────────────────────────────────────────── */
.podcast-filters {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding: 0 0 16px;
}
.podcast-filter-btn {
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    color: var(--text-soft);
    font-size: 13px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition);
}
.podcast-filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.podcast-filter-btn.active {
    background: var(--accent); color: #fff; border-color: var(--accent);
}
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}
@media (max-width: 900px)  { .podcast-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .podcast-grid { grid-template-columns: 1fr; } }
.podcast-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}
.podcast-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.podcast-card-img {
    height: 200px;
    background-size: cover; background-position: center;
    position: relative;
    background-color: var(--surface2);
}
.podcast-card-img--empty { background: var(--gradient-soft); }
.podcast-play-icon {
    position: absolute; bottom: 12px; right: 12px;
    width: 40px; height: 40px;
    background: var(--accent); color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; padding-left: 2px;
    opacity: 0; transition: opacity var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.podcast-card:hover .podcast-play-icon { opacity: 1; }
.podcast-card-body { padding: 16px; }
.podcast-card-date { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.podcast-card-title {
    font-family: var(--font-display); font-weight: 700;
    font-size: 16px; line-height: 1.3; margin: 6px 0 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.podcast-card-artist { font-size: 13px; color: var(--accent); font-weight: 500; }

/* Podcast single */
.podcast-single { padding: 0 0 40px; }
.podcast-single-body { max-width: 780px; margin: 0 auto; }
.podcast-single-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.podcast-single-date { font-size: 13px; color: var(--text-muted); }
.podcast-single-artist {
    font-size: 13px; font-weight: 600; color: var(--accent);
    padding: 2px 10px; background: var(--accent-light); border-radius: 12px;
}
.podcast-single-title {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(24px, 4vw, 42px); line-height: 1.15; margin-bottom: 20px;
}
.podcast-player {
    margin: 20px 0 28px;
    border-radius: var(--radius);
    overflow: hidden;
}
.podcast-player iframe { display: block; }
.podcast-player audio { width: 100%; }
.podcast-single-content {
    font-size: 15px; line-height: 1.75; color: var(--text-soft);
}
.podcast-single-content ol { padding-left: 24px; margin: 16px 0; }
.podcast-single-content li { margin-bottom: 4px; }

/* ═══════════════════════════════════════════════════════
   TEAM
═══════════════════════════════════════════════════════ */
.team-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 16px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
    background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
    text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s;
    display: block;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.team-card-img {
    width: 100%; aspect-ratio: 1/1; background-size: cover;
    background-position: center top; background-color: var(--bg-alt);
}
.team-card-img--empty { background: linear-gradient(135deg, var(--accent) 0%, var(--second) 100%); }
.team-card-body { padding: 16px; text-align: center; }
.team-card-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 0 0 4px; }
.team-card-role { font-size: 13px; color: var(--text-muted); }

/* Team single */
.team-single { padding: 0 0 40px; max-width: 780px; margin: 0 auto; }
.team-single-header { display: flex; gap: 28px; align-items: flex-start; margin-bottom: 28px; }
.team-single-photo { width: 280px; flex-shrink: 0; border-radius: var(--radius-lg); object-fit: cover; }
.team-single-info h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 4vw, 36px); margin: 0 0 10px; }
.team-single-bio { font-size: 15px; line-height: 1.75; color: var(--text-soft); }
.team-single-bio p { margin-bottom: 16px; }

@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
    .team-grid { grid-template-columns: 1fr; }
    .team-single-header { flex-direction: column; align-items: center; text-align: center; }
    .team-single-photo { width: 200px; }
}

/* ═══════ ARTISTI ═══════ */
.artista-genre-badge {
    display: inline-block;
    background: rgba(214,31,122,.15);
    color: #D85D9D;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}
.artista-embed-section { margin-top: 32px; }
.artista-embed-section h3 { font-size: 18px; margin-bottom: 12px; font-weight: 700; }
.artista-youtube-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}
.artista-youtube-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}
.artista-spotify-embed { margin-top: 8px; border-radius: 12px; overflow: hidden; }
.artista-spotify-embed iframe { width: 100%; border: 0; border-radius: 12px; }
.artista-social-links {
    display: flex;
    gap: 10px;
    margin: 12px 0;
    flex-wrap: wrap;
}
.artista-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #aaa;
    transition: all .2s;
}
.artista-social-links a:hover {
    background: #D85D9D;
    color: #fff;
    transform: translateY(-2px);
}

/* ── Layout Giornale (Notizie prima pagina) ─────────────── */
.ng-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.ng-main {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.ng-main:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.12); }
.ng-main-img {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
}
.ng-cats {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    padding: 16px 20px 0;
}
.ng-main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    color: #1a1a1a;
    padding: 8px 20px 4px;
}
.ng-main-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    padding: 0 20px 20px;
}
.ng-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ng-side-img {
    display: flex;
    gap: 14px;
    background: var(--surface);
    border-radius: 14px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.ng-side-img:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,.1); }
.ng-side-photo {
    width: 140px;
    min-height: 120px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}
.ng-side-body {
    padding: 12px 14px 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ng-side-body .ng-cats { padding: 0 0 4px; }
.ng-side-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0;
}
.ng-side-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin: 6px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ng-side-date {
    font-size: 11px;
    color: #999;
    margin-top: 6px;
}
.ng-side-text {
    background: var(--surface);
    border-radius: 14px;
    padding: 16px 18px;
    transition: transform .3s, box-shadow .3s;
}
.ng-side-text:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,.1); }
.ng-side-text .ng-cats { padding: 0 0 4px; }

@media (max-width: 768px) {
    .ng-layout { grid-template-columns: 1fr; }
    .ng-main-img { height: 200px; }
    .ng-side-photo { width: 100px; min-height: 90px; }
}

/* ── Scroll Animations ──────────────────────────────────── */
.scroll-fade {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.scroll-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* ── Sezione giornale homepage (ng-*) ── */
.ng-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
}
.ng-extra {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.ng-main {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    transition: transform .3s;
}
.ng-main:hover { transform: translateY(-4px); }
.ng-main-img {
    width: 100%;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
}
.ng-cats { color: var(--accent); font-size: .75rem; font-weight: 700; text-transform: uppercase; padding: 16px 20px 0; }
.ng-main-title { font-size: 1.4rem; font-weight: 700; margin: 8px 0; line-height: 1.3; padding: 0 20px; }
.ng-main-excerpt { color: var(--text-muted); font-size: .95rem; line-height: 1.5; padding: 0 20px 20px; }

.ng-side { display: flex; flex-direction: column; gap: 16px; }
.ng-side-img {
    display: flex;
    gap: 14px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    transition: transform .3s;
}
.ng-side-img:hover { transform: translateY(-4px); }
.ng-side-photo {
    width: 140px;
    min-height: 100px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.ng-side-body { padding: 12px 12px 12px 0; display: flex; flex-direction: column; justify-content: flex-start; }
.ng-side-title { font-size: 1rem; font-weight: 700; line-height: 1.3; margin: 4px 0; }
.ng-side-date { color: var(--text-muted); font-size: .75rem; margin-top: 4px; }
.ng-side-text {
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    padding: 16px 20px;
    transition: transform .3s;
}
.ng-side-text:hover { transform: translateY(-4px); }
.ng-side-excerpt { color: var(--text-muted); font-size: .85rem; line-height: 1.4; margin: 4px 0; }

@media (max-width: 768px) {
    .ng-layout { grid-template-columns: 1fr; }
    .ng-side-photo { width: 100px; min-height: 80px; }
}

/* ── News category tabs ── */
.news-cat-tabs {
    display: flex; gap: 6px; flex-wrap: wrap;
    margin-bottom: 24px; margin-top: 8px;
}
.news-cat-tab {
    font-family: var(--font-display);
    font-weight: 600; font-size: 13px;
    letter-spacing: .04em; text-transform: uppercase;
    padding: 8px 18px; border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface); color: var(--text-soft);
    cursor: pointer;
    transition: all var(--transition);
}
.news-cat-tab:hover { background: var(--surface2); color: var(--text); }
.news-cat-tab.active {
    background: var(--accent); color: #fff;
    border-color: var(--accent);
}

/* ── News page: layout giornale continuo ── */
#news-hero { margin-bottom: 32px; }
#news-hero .ng-layout { margin-bottom: 0; }
#news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 768px) {
    #news-grid { grid-template-columns: 1fr; }
}
.ng-cat-link {
    color: var(--accent);
    cursor: pointer;
    text-decoration: none;
}
.ng-cat-link:hover { text-decoration: underline; }

/* ── News evidenza (pagina /news) ── */
.notizie-evidenza { margin-bottom: 32px; }
.news-evidenza-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    cursor: pointer;
    transition: transform .3s;
}
.news-evidenza-card:hover { transform: translateY(-4px); }
.news-evidenza-img {
    width: 100%;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.news-evidenza-img .news-card-cats {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    background: none;
}
.news-evidenza-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--accent);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}
.news-evidenza-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.news-evidenza-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 12px 0;
    line-height: 1.3;
}
.news-evidenza-excerpt {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .news-evidenza-card { grid-template-columns: 1fr; }
    .news-evidenza-img { min-height: 200px; }
    .news-evidenza-body { padding: 20px; }
    .news-evidenza-title { font-size: 1.2rem; }
}

/* Stagger delay gestito inline via JS per supportare load-more */

/* Rispetta preferenze utente */
@media (prefers-reduced-motion: reduce) {
    .scroll-fade { opacity: 1; transform: none; transition: none; }
}
