
html, body { box-sizing: border-box; margin: 0; padding: 0; width: 100%; overflow-x: hidden; }
*, *:before, *:after { box-sizing: inherit; }

body { 
    background-color: #f8fafc !important; 
    color: #111827; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
    padding-bottom: 0 !important;
}

/* HEADER STICKY */
.spc-header { 
    background: #ffffff; 
    border-bottom: 1px solid #e5e7eb; 
    padding: 14px 20px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    position: sticky; 
    top: 0;
    z-index: 1000; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
    width: 100%;
    gap: 15px;
}

.spc-logo-wrapper { display: flex; align-items: center; justify-content: flex-start; }
.spc-logo { font-size: 16px; font-weight: 900; color: #0284c7; text-transform: uppercase; letter-spacing: -1px; }

/* Ricerca */
.spc-search-box { width: 100%; max-width: 380px; position: relative; margin: 0 15px; }
.spc-search-input { width: 100%; background: #f3f4f6; border: 1px solid transparent; padding: 10px 12px 10px 36px; border-radius: 20px; font-size: 12px; font-weight: 600; color: #374151; transition: all 0.2s; }
.spc-search-input:focus { background: #ffffff; border-color: #0284c7; outline: none; box-shadow: 0 0 0 3px rgba(2,132,199,0.1); }
.spc-search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9ca3af; font-size: 12px; }

/* PULSANTI HEADER */
.spc-header-actions { display: flex; align-items: center; gap: 10px; }
.btn-nav-action { background: #0284c7; color: #fff; padding: 8px 14px; border-radius: 20px; font-size: 10px; font-weight: 800; text-transform: uppercase; text-decoration: none; display: flex; align-items: center; gap: 6px; transition: background 0.2s; white-space: nowrap; }
.btn-nav-action:hover { background: #0369a1; }
.btn-nav-whatsapp { background: #22c55e; color: #fff; padding: 8px 14px; border-radius: 20px; font-size: 10px; font-weight: 800; text-transform: uppercase; text-decoration: none; display: flex; align-items: center; gap: 6px; transition: background 0.2s; white-space: nowrap; }
.btn-nav-whatsapp:hover { background: #16a34a; }

.spc-nav-right { display: flex; align-items: center; gap: 10px; }
.hamburger-btn { background: none; border: none; font-size: 20px; color: #0284c7; cursor: pointer; padding: 5px; display: flex; align-items: center; justify-content: center; transition: transform 0.2s; }
.hamburger-btn:hover { transform: scale(1.1); }

@media(max-width: 991.98px) {
    .spc-header-actions { display: none; }
}

.spc-main-wrapper { max-width: 1300px; margin: 20px auto; padding: 0 15px; display: grid; grid-template-columns: 240px 1fr 280px; gap: 22px; align-items: start; width: 100%; flex: 1; }

@media(max-width: 1100px) {
    .spc-main-wrapper { grid-template-columns: 1fr; max-width: 700px; }
    .spc-col-left, .spc-col-right { display: flex; flex-direction: column; gap: 15px; }
}

@media(max-width: 991.98px) {
    .spc-header { flex-wrap: wrap; padding: 12px 15px; }
    .spc-search-box { order: 3; max-width: 100%; width: 100%; margin: 5px 0 0 0; }
    
    .spc-main-wrapper { display: flex; flex-direction: column; }
    .spc-col-center { order: 1; display: flex; flex-direction: column; }
    .spc-banner-fader { order: 1; }
    .radiosender-landing-box { order: 2; }
    .grid-pro-cards { order: 3; }
    .spc-col-left { order: 4; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; }
    .spc-col-right { order: 5; }
}
@media(max-width: 480px) {
    .spc-col-left { grid-template-columns: 1fr; }
}

.spc-col-left, .spc-col-right { display: flex; flex-direction: column; gap: 15px; min-width: 0; }
.spc-col-center { min-width: 0; }

.box-evidenza { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.box-evidenza-img-wrap { position: relative; width: 100%; aspect-ratio: 1/1; }
.box-evidenza-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.box-evidenza-play-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.25); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s ease; }
.box-evidenza-img-wrap:hover .box-evidenza-play-overlay { opacity: 1; }
.play-btn-center { background: #0284c7; color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.3); transition: transform 0.2s; }
.play-btn-center:hover { transform: scale(1.08); background: #0369a1; }

.box-evidenza-content { padding: 12px; }
.box-evidenza-title { font-size: 13px; font-weight: 900; color: #111827; margin: 0 0 2px 0; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.box-evidenza-artist { font-size: 11px; font-weight: 700; color: #4b5563; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.box-evidenza-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f3f4f6; padding-top: 8px; margin-top: 6px; }

/* LANDING INFO RADIOSENDER */
.radiosender-landing-box { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 20px; margin-bottom: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.radiosender-landing-box h3 { font-size: 14px; font-weight: 900; text-transform: uppercase; color: #0284c7; margin-top: 0; margin-bottom: 8px; }
.radiosender-landing-box p { font-size: 12px; color: #4b5563; line-height: 1.5; margin-bottom: 15px; font-weight: 500; }
.landing-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 15px; }
.landing-feature-item { background: #f8fafc; border: 1px solid #f1f5f9; padding: 10px; border-radius: 8px; font-size: 11px; font-weight: 700; color: #1e293b; display: flex; align-items: center; gap: 8px; }
.landing-feature-item i { color: #0284c7; }

/* BANNER FADER */
.spc-banner-fader {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background: #0f172a;
}
.fader-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 25px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}
.fader-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.fader-content { color: #ffffff; z-index: 2; max-width: 70%; }
.fader-badge { background: #0284c7; color: #fff; font-size: 8px; font-weight: 900; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; display: inline-block; margin-bottom: 6px; }
.fader-content h3 { margin: 0 0 4px 0; font-size: 15px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.3px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.fader-content p { margin: 0 0 10px 0; font-size: 11px; opacity: 0.95; font-weight: 500; text-shadow: 0 1px 3px rgba(0,0,0,0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spc-banner-btn { background: #ffffff; color: #0284c7; padding: 6px 14px; border-radius: 20px; font-size: 10px; font-weight: 800; text-transform: uppercase; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,0.1); display: inline-block; transition: all 0.2s; }
.spc-banner-btn:hover { background: #f8fafc; transform: scale(1.05); }

.section-heading-pro { font-size: 13px; font-weight: 900; color: #111827; text-transform: uppercase; letter-spacing: -0.5px; margin-bottom: 2px; }
.section-subheading-pro { font-size: 10px; font-weight: 700; color: #6b7280; text-transform: uppercase; margin-bottom: 10px; }

.grid-pro-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 12px; }
@media(max-width: 480px) { .grid-pro-cards { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* CARD PRO */
.card-pro { 
    background: #ffffff; 
    border: 1px solid #e2e8f0; 
    border-radius: 16px; 
    overflow: hidden; 
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); 
    display: flex; 
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.card-pro:hover { 
    border-color: #38bdf8; 
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(2,132,199,0.12); 
}
.card-pro-img { position: relative; width: 100%; aspect-ratio: 1/1; background: #f3f4f6; }
.card-pro-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-pro-play-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.25); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s ease; }
.card-pro-img:hover .card-pro-play-overlay { opacity: 1; }
.play-btn-small { background: #0284c7; color: #fff; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(0,0,0,0.3); transition: transform 0.2s; }
.play-btn-small:hover { transform: scale(1.08); background: #0369a1; }

.card-pro-body { padding: 10px 12px; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.card-pro-title { font-size: 11px; font-weight: 800; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; margin: 0; }
.card-pro-artist { font-size: 10px; font-weight: 700; color: #4b5563; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.card-pro-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding-top: 6px; border-top: 1px solid #f3f4f6; font-size: 9px; color: #9ca3af; font-weight: 700; }

.spc-widget-box { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,0.02); }
.spc-widget-header { background: #f8fafc; border-bottom: 1px solid #e5e7eb; padding: 11px 14px; font-size: 11px; font-weight: 900; text-transform: uppercase; color: #111827; display: flex; justify-content: space-between; align-items: center; }
.spc-widget-item { padding: 10px 14px; border-bottom: 1px solid #f3f4f6; display: flex; flex-direction: column; gap: 3px; }
.spc-widget-item:last-child { border-bottom: none; }
.widget-radio-top { display: flex; justify-content: space-between; align-items: center; font-size: 9px; color: #6b7280; font-weight: 800; text-transform: uppercase; }
.widget-song-title { font-size: 11px; font-weight: 800; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.widget-song-artist { font-size: 10px; font-weight: 700; color: #0284c7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.widget-listeners { font-size: 9px; color: #9ca3af; font-weight: 600; }

.counter-badge { width: 18px; height: 18px; background: #111827; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 7px; font-weight: 900; flex-shrink: 0; }

#searchResults { background: #ffffff !important; border: 1px solid #e5e7eb !important; box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-radius: 8px; }
.search-item:hover { background: #f8fafc !important; }

/* FOOTER CON COPYRIGHT CENTRALE IN BIANCO */
.spc-footer {
    background: #0f172a;
    color: #ffffff;
    border-top: 2px solid #0284c7;
    padding: 25px 20px;
    font-size: 11px;
    margin-top: auto;
    width: 100%;
    text-align: center;
}
.spc-footer-container { max-width: 1300px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.spc-footer-brand { display: flex; align-items: center; justify-content: center; gap: 12px; }
.spc-footer-brand img { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; }
.spc-footer-brand-title { color: #ffffff; font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: -0.5px; }
.spc-footer-copy { color: #ffffff; font-weight: 600; font-size: 11px; margin-top: 5px; }

/* SPOTIFY STYLE PLAYER BAR */
.spotify-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}
.spotify-player-bar.active { transform: translateY(0); }
.sp-left { display: flex; align-items: center; gap: 12px; min-width: 180px; max-width: 280px; }
.sp-cover { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; background: #f3f4f6; }
.sp-info { display: flex; flex-direction: column; overflow: hidden; }
.sp-title { font-size: 11px; font-weight: 900; color: #111827; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.sp-artist { font-size: 10px; font-weight: 700; color: #4b5563; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.sp-center { display: flex; flex-direction: column; align-items: center; flex: 1; max-width: 550px; margin: 0 15px; gap: 4px; }
.sp-controls { display: flex; align-items: center; gap: 12px; }
.sp-ctrl-btn { background: none; border: none; color: #111827; font-size: 15px; cursor: pointer; transition: color 0.2s, transform 0.2s; }
.sp-ctrl-btn:hover { color: #0284c7; transform: scale(1.1); }
.sp-play-main { background: #0284c7; color: #fff; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; box-shadow: 0 2px 8px rgba(2,132,199,0.3); }
.sp-play-main:hover { background: #0369a1; color: #fff; }
.sp-progress-container { display: flex; align-items: center; gap: 8px; width: 100%; font-size: 9px; color: #6b7280; font-weight: 700; }
.sp-progress-bar { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; background: #e5e7eb; border-radius: 2px; outline: none; cursor: pointer; }
.sp-progress-bar::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 10px; height: 10px; border-radius: 50%; background: #0284c7; cursor: pointer; }
.sp-right { display: flex; align-items: center; justify-content: flex-end; min-width: 50px; }
.sp-close-btn { background: none; border: none; color: #9ca3af; font-size: 16px; cursor: pointer; padding: 5px; }
.sp-close-btn:hover { color: #111827; }

@media(max-width: 768px) {
    .spotify-player-bar { padding: 8px 12px; gap: 8px; }
    .sp-left { min-width: 140px; }
    .sp-center { margin: 0 5px; }
    .sp-right { display: flex; }
}