/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #b400fb; border-radius: 2px; }

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

body {
    background: #000;
    color: #fff;
    font-family: ABCDiatype-Medium, Arial, sans-serif;
}

/* ── Navbar ── */
.navbar-main {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 45px;
    display: flex;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid #9c25c3;
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-left {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #9c25c3;
}

.navbar-left img { height: 55px; width: auto; }

.navbar-right {
    flex: 0 0 50%;
    background-color: #9c25c3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    font-family: ABCFavorit, ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    letter-spacing: 2px;
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.nav-item:hover { color: #000000; }

.navbar-main.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Hamburger — nascosto su desktop */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0 16px;
    z-index: 1002;
    align-items: center;
    justify-content: center;
    flex: 0 0 50%;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
    display: block;
}

.hamburger.active span:first-child { transform: rotate(-45deg) translate(-4px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:last-child { transform: rotate(45deg) translate(-4px, -5px); }

/* ── Page ── */
.radio-page {
    margin-top: 55px;
    padding-bottom: 40px;
}

/* ── Entry ── */
.radio-entry {
    display: flex;
    width: 100%;
    min-height: 50vh;
    border-bottom: 1px solid #222;
}

.radio-entry.reverse { flex-direction: row-reverse; }

.entry-artwork {
    flex: 0 0 50%;
    overflow: hidden;
}

.entry-artwork a {
    display: block;
    width: 100%;
    height: 100%;
}

.entry-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.entry-artwork a:hover img { opacity: 0.8; }

.entry-info {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 40px;
    gap: 20px;
}

.entry-artist {
    font-size: 1rem;
    letter-spacing: 2px;
    color: #fff;
    font-weight: normal;
}

.entry-title {
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: bold;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.entry-description {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #aaa;
    max-width: 400px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.entry-meta {
    font-size: 0.8rem;
    color: #555;
    letter-spacing: 1px;
}

/* ── Play button ── */
.entry-play-btn {
    background: none;
    border: 1px solid #b400fb;
    color: #fff;
    font-family: ABCDiatype-Medium, Arial, sans-serif;
    letter-spacing: 2px;
    font-size: 0.8rem;
    padding: 10px 28px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.entry-play-btn:hover { background: #b400fb; }

/* ── Mixcloud player fisso ── */
.mixcloud-player {
    position: fixed;
    bottom: -200px;
    left: 0; right: 0;
    height: 70px;
    background: #111;
    border-top: 1px solid #b400fb;
    z-index: 2000;
    transition: bottom 0.3s ease;
}

.mixcloud-player.active { bottom: 0; }

.mixcloud-player-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.mixcloud-title {
    position: absolute;
    left: 20px;
    top: 8px;
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 1;
}

.mixcloud-player iframe { width: 100%; height: 70px; border: none; }

.mixcloud-close {
    position: absolute;
    right: 16px;
    top: 8px;
    background: none;
    border: none;
    color: #666;
    font-size: 0.85rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}

.mixcloud-close:hover { color: #fff; }

/* ── SoundCloud player ── */
#soundcloud-player { height: 120px; bottom: -200px; }
#soundcloud-player.active { bottom: 0; }
#soundcloud-player .mixcloud-player-inner,
#soundcloud-player iframe { height: 120px; }

/* ══════════════════════════════════════════════
   MEDIA QUERIES
══════════════════════════════════════════════ */

/* ── Tablet/mobile portrait ≤1024px ── */
@media screen and (max-width: 1024px) and (orientation: portrait) {
    .navbar-main {
        height: 66px;
    }
    
    .navbar-left img {
        height: 62px;
    }
    
    .nav-item {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }
    .radio-page { margin-top: 68px; }
    .hamburger span {
        width: 24px;
    }

    .hamburger { display: flex; }
    .navbar-left { border-right: 1px solid #9c25c3; }

    .navbar-right {
        display: none;
        position: fixed;
        top: 50px; left: 0; right: 0; bottom: 0;
        background: #000;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0; z-index: 999;
        transition: none;
    }

    .navbar-right.active { display: flex; }

    .navbar-right.active .nav-item {
        color: #fff; font-size: 1.2rem;
        width: 100%; text-align: left;
        padding: 20px 0 20px 24px;
        border-bottom: 1px solid #222;
    }

    .radio-entry,
    .radio-entry.reverse { flex-direction: column; }

    .entry-artwork {
        flex: none;
        width: 100%;
        height: auto;
    }

    .entry-artwork img { height: auto; object-fit: contain; }

    .entry-info {
        flex: none;
        width: 100%;
        padding: 40px 20px;
        gap: 16px;
    }

    .entry-title { font-size: clamp(1.4rem, 6vw, 2rem); }
    .entry-description { font-size: 0.8rem; }
    
}


/* ── Mobile landscape ≤1024px ── */
@media screen and (max-width: 1024px) and (orientation: landscape) {

    .hamburger { display: flex; }
    .navbar-left { border-right: 1px solid #9c25c3; }

    .navbar-right {
        display: none;
        position: fixed;
        top: 50px; left: 0; right: 0; bottom: 0;
        background: #000;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0; z-index: 999;
        transition: none;
    }

    .navbar-right.active { display: flex; }

    .navbar-right.active .nav-item {
        color: #fff; font-size: 1rem;
        width: 100%; text-align: left;
        padding: 16px 0 16px 24px;
        border-bottom: 1px solid #222;
    }
    


    .radio-entry,
    .radio-entry.reverse { flex-direction: column; }

    .entry-artwork {
        flex: none;
        width: 100%;
        height: 50vh;
        overflow: hidden;
    }

    .entry-artwork img { width: 100%; height: 100%; object-fit: cover; }

    .entry-info { padding: 20px; gap: 10px; }
    .entry-title { font-size: clamp(1.2rem, 4vw, 1.8rem); }
    .entry-description { font-size: 0.75rem; }
}

/* ── Small mobile ≤400px ── */
@media screen and (max-width: 400px) {
    .entry-info { padding: 30px 15px; }
    .entry-play-btn { padding: 8px 20px; font-size: 0.75rem; }
}
