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

:root {
    --orange: #ff3c00;
    --red:    #c0392b;
    --dark:   #1c1c1c;
    --light:  #f0ece4;
    --muted:  #aaaaaa;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--dark);
    color: var(--light);
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* ── Background ── */
.page-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://www.musicajazzradio.it/wp-content/uploads/jazz.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

/* ── Hero ── */
.hero {
    position: relative;
    z-index: 1;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 48px 20px 52px;
    text-align: center;
}

.hero-content {
    max-width: 560px;
    width: 100%;
}

.hero-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 20px;
}

.hero-logo-wrap {
    width: 200px;
    height: 200px;
    margin: 0 auto 28px;
    border-radius: 50%;
    border: 3px solid rgba(192, 57, 43, 0.5);
    -webkit-box-shadow: 0 0 40px rgba(192,57,43,0.25), 0 0 0 6px rgba(192,57,43,0.1);
    box-shadow: 0 0 40px rgba(192,57,43,0.25), 0 0 0 6px rgba(192,57,43,0.1);
}

.hero-logo-wrap img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    display: block;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px; /* clamp fallback */
    font-size: clamp(22px, 5vw, 32px);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-desc {
    color: rgba(240, 236, 228, 0.6);
    font-size: 13px;
    margin-bottom: 32px;
    line-height: 1.85;
}
.hero-desc strong { color: var(--light); }

/* ── Audio player ── */
.audio-player {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 10px 24px 10px 10px;
    margin: 28px auto 0;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
}

.audio-player audio {
    height: 40px;
    width: 280px; /* clamp fallback */
    width: clamp(240px, 70vw, 340px);
}

/* ── Now playing ── */
.now-playing {
    margin-top: 20px;
    font-size: 15px;
    color: var(--muted);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.now-playing > * + * { margin-left: 7px; }

.now-playing-dot {
    width: 7px;
    height: 7px;
    background: var(--red);
    border-radius: 50%;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-animation: pulse 1.4s ease-in-out infinite;
    animation: pulse 1.4s ease-in-out infinite;
}

@-webkit-keyframes pulse {
    0%, 100% { opacity: 1; -webkit-transform: scale(1); transform: scale(1); }
    50%       { opacity: .4; -webkit-transform: scale(.7); transform: scale(.7); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .4; transform: scale(.7); }
}

.song-title { color: #e8a090; }

/* ── Footer ── */
footer {
    position: relative;
    z-index: 1;
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 40px 20px 20px;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto 32px;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 2fr 36px 1fr 36px 1fr;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
}

.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}

.footer-col p {
    color: rgba(240, 236, 228, 0.45);
    font-size: 14px;
    line-height: 1.85;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }

.footer-col a {
    color: rgba(240, 236, 228, 0.55);
    text-decoration: none;
    font-size: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}
.footer-col a > * + * { margin-left: 8px; }
.footer-col a:hover { color: var(--orange); }

.footer-col svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.footer-copy {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 15px;
    color: #ffffff;
    text-align: center;
}

@media (max-width: 640px) {
    .footer-grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
