/* ============================
   SIDEBAR – SPOTIFY-LIKE PILL NAVIGATION
   ============================ */

.radio-sidebar {
    display: block;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    z-index: 50;
}

/* Inner fără panou de fundal – TOTUL TRANSPARENT + centrează conținutul */
.radio-sidebar__inner {
    width: 100%;
    border-radius: 0;
    padding: 0.75rem 1.75rem 0.9rem;

    background: transparent;
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;

    color: #ffffff;
    position: relative;
    overflow: visible;
    text-align: center; /* center headline & intro */
}

/* Nu folosim label acum */
.radio-sidebar__label {
    display: none;
}

/* ==== HEADLINE – InfinityLoveFm Experiences – RADIO SWEEP LIGHT ==== */

.radio-sidebar__title {
    position: relative;
    display: inline-block;  /* pentru ca efectul să fie doar peste text */

    margin: 0 auto 0.35rem;
    padding: 0;

    font-family: "Russo One", system-ui, sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;

    background: linear-gradient(90deg, #ffffff, #ffd4e5, #ff7aa8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    text-shadow:
        0 0 14px rgba(0, 0, 0, 0.6),
        0 0 18px rgba(238, 43, 91, 0.7),
        0 0 32px rgba(255, 150, 200, 0.45);

    overflow: hidden; /* important: ascunde marginile „razelor” */
}

/* Raza de lumină care trece peste text */
.radio-sidebar__title::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;       /* pornește din afara textului */
    width: 40%;       /* lățimea „razelor” */
    height: 100%;

    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.0) 0%,
        rgba(255, 255, 255, 0.85) 45%,
        rgba(255, 255, 255, 0.0) 100%
    );

    opacity: 0.0;
    transform: translateX(-140%) skewX(-20deg);
    mix-blend-mode: screen;
    pointer-events: none;

    animation: ilfm-title-sweep 4s ease-in-out infinite;
}

/* Subtitlul – romantic & centrat */
.radio-sidebar__intro {
    margin: 0.25rem auto 1.1rem;
    max-width: 780px;

    text-align: center;
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 400;

    color: rgba(255, 240, 250, 0.86);

    text-shadow:
        0 0 8px rgba(0, 0, 0, 0.7),
        0 0 12px rgba(238, 43, 91, 0.32);
}

/* Animația „radio sweep light” */
@keyframes ilfm-title-sweep {
    0% {
        opacity: 0;
        transform: translateX(-140%) skewX(-20deg);
    }
    18% {
        opacity: 1;
        transform: translateX(110%) skewX(-20deg);
    }
    40% {
        opacity: 0;
        transform: translateX(140%) skewX(-20deg);
    }
    100% {
        opacity: 0;
        transform: translateX(140%) skewX(-20deg);
    }
}

/* ============================
   NAV + CARUSEL
   ============================ */

.radio-sidebar__nav-wrapper {
    position: relative;
    margin-top: 0.1rem;
}

/* NAV cu padding pentru săgeți */
.radio-sidebar__nav {
    position: relative;
    overflow: hidden;
    padding: 0 2.7rem; /* spațiu pentru săgeți stânga/dreapta */
}

/* Lista orizontală scrollabilă */
.horizontal-menu {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.6rem;

    scroll-behavior: smooth;
}

.horizontal-menu::-webkit-scrollbar {
    display: none;
}
.horizontal-menu {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.radio-sidebar__item {
    display: inline-block;
    white-space: nowrap;
}

/* ============================
   PILLS – SPOTIFY-LIKE
   ============================ */

.radio-sidebar__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.45rem 1.25rem;
    min-width: 180px;
    min-height: 34px;

    border-radius: 999px;
    text-decoration: none;

    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;

    color: rgba(255, 255, 255, 0.9);

    /* 🎧 Spotify-style: pill simplu, gri-translucid */
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid transparent;

    box-shadow: none;
    backdrop-filter: none;

    cursor: pointer;
    transition:
        transform 0.16s ease-out,
        box-shadow 0.16s ease-out,
        border-color 0.16s ease-out,
        background 0.16s ease-out,
        color 0.16s ease-out;
}

/* fără dot, fără highlight bar sub text */
.radio-sidebar__link::before,
.radio-sidebar__link::after {
    display: none;
}

/* Hover – foarte discret, stil Spotify */
.radio-sidebar__link:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

/* Active / click */
.radio-sidebar__link:active {
    transform: translateY(1px) scale(0.98);
}

/* Variantă "activă" – ca filtrele selectate în Spotify */
.radio-sidebar__link--active {
    background: #ffffff;
    color: #111827;
    border-color: #ffffff;
}

/* ============================
   SĂGEȚI CARUSEL
   ============================ */

.radio-sidebar__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    height: 28px;
    width: 28px;
    border-radius: 999px;

    border: none;
    background: rgba(0, 0, 0, 0.65);

    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.7);

    cursor: pointer;
    transition:
        transform 0.16s ease-out,
        box-shadow 0.16s ease-out,
        background 0.16s ease-out,
        color 0.16s ease-out;
}

.radio-sidebar__arrow--left {
    left: 0.6rem;
}

.radio-sidebar__arrow--right {
    right: 0.6rem;
}

.radio-sidebar__arrow:hover {
    background: rgba(20, 20, 20, 0.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.85);
    transform: translateY(-50%) scale(1.05);
}

.radio-sidebar__arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* ============================
   FADE GRADIENT STÂNGA/DREAPTA
   ============================ */

.radio-sidebar__fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1.5rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 4;
}

/* fade foarte discret, doar pentru a sugera scroll */
.radio-sidebar__fade--left {
    left: 2.3rem;
    background: linear-gradient(to right,
        rgba(5, 5, 15, 0.9),
        rgba(5, 5, 15, 0.4),
        transparent
    );
}

.radio-sidebar__fade--right {
    right: 2.3rem;
    background: linear-gradient(to left,
        rgba(5, 5, 15, 0.9),
        rgba(5, 5, 15, 0.4),
        transparent
    );
}

/* ============================
   RESPONSIVE MICI
   ============================ */

@media (max-width: 768px) {
    .radio-sidebar__inner {
        padding: 0.7rem 0.9rem 0.8rem;
    }

    .radio-sidebar__nav {
        padding: 0 2.2rem;
    }

    .radio-sidebar__title {
        font-size: 1.05rem;
        letter-spacing: 0.18em;
    }

    .radio-sidebar__intro {
        font-size: 0.8rem;
        max-width: 90%;
        margin-bottom: 0.9rem;
    }

    .radio-sidebar__link {
        padding: 0.4rem 1.05rem;
        min-width: 165px;
        font-size: 0.74rem;
    }

    .radio-sidebar__arrow {
        height: 24px;
        width: 24px;
        font-size: 1rem;
    }

    .radio-sidebar__fade--left {
        left: 2rem;
    }
    .radio-sidebar__fade--right {
        right: 2rem;
    }
}
