/* ===========================================
   BOOMPLAY STYLE HEADER SLIDER – FULL FIXED
   Main Color: #27C7C9
   Fully visible images, readable text
=========================================== */

/* Root variables */
:root {
    --primary: #27C7C9;
    --white: #ffffff;
    --dark: #000000;
    --black-transparent: rgba(0, 0, 0, 0.8);
}

/* Wrapper */
.janna-header-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 20px 0;
    background: var(--dark);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Swiper container */
.janna-header-slider {
    width: 100%;
}

/* Slide */
.janna-slider-slide {
    position: relative;
    height: 360px;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.5s ease-in-out;
}

/* Slide background - fully visible */
.slide-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.bg-image {
    position: absolute;
    inset: 0;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    filter: none; /* remove brightness dimming */
}
.bg-overlay {
    display: none; /* remove overlay */
}

/* Logo badge */
.logo-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0,0,0,0.5);
    padding: 6px;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}
.logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.2);
}

/* Content bottom aligned */
.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Song info */
.song-info {
    text-align: left;
    max-width: 85%;
}

/* Song title */
.song-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--white);
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.song-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.song-title a:hover {
    color: var(--primary);
}

/* Artists - both linked and text-only use main color */
.song-artist {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--primary);
    flex-wrap: wrap;
}
.song-artist i { color: var(--primary); font-size: 14px; flex-shrink: 0; }
.song-artist .artist-separator { color: var(--primary); margin: 0 5px; font-weight: 400; }

/* Text-only artists */
.song-artist .text-only-artist {
    color: var(--primary);
    font-weight: 500;
    background: rgba(0,0,0,0.2); /* subtle contrast */
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(39,199,201,0.3);
    font-style: normal;
    display: inline-block;
    position: relative;
    cursor: default;
    transition: all 0.3s ease;
}
.song-artist .text-only-artist:hover {
    transform: translateY(-1px);
}

/* Linked artists */
.song-artist a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.2); /* subtle contrast */
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid rgba(39,199,201,0.3);
    position: relative;
    overflow: hidden;
    display: inline-block;
}
.song-artist a:hover {
    background: var(--primary);
    color: #000000;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Download/Play button */
.download-btn {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #FFA500);
    color: #000;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5), 0 0 15px rgba(255,215,0,0.4);
    border: 3px solid #000;
    z-index: 10;
    transition: all 0.3s ease;
}
.download-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 25px rgba(255,215,0,0.6);
    background: linear-gradient(135deg, #000,#333);
    color: var(--primary);
    border-color: var(--primary);
}

/* Navigation */
.slider-navigation { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.nav-btn {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}
.nav-btn:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}
.prev-btn { left: 15px; }
.next-btn { right: 15px; }

/* Pagination */
.swiper-pagination { bottom: 10px !important; z-index: 10; }
.swiper-pagination-bullet {
    background: rgba(255,255,255,0.5);
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
    background: var(--primary);
    width: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255,215,0,0.6);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .janna-slider-slide { height: 300px; }
    .song-title { font-size: 22px; }
    .song-artist { font-size: 14px; gap: 6px; }
    .song-artist a, .text-only-artist { padding: 3px 8px; font-size: 13px; }
    .logo-badge { width: 40px; height: 40px; padding: 4px; }
    .download-btn { width: 46px; height: 46px; font-size: 18px; right: 15px; bottom: 15px; }
}

/* Extra small screens */
@media (max-width: 480px) {
    .janna-slider-slide { height: 260px; }
    .song-title { font-size: 20px; }
    .song-artist { font-size: 13px; gap: 4px; flex-direction: column; align-items: flex-start; }
    .song-artist a, .text-only-artist { padding: 2px 6px; font-size: 12px; }
    .download-btn { width: 42px; height: 42px; font-size: 16px; }
    .song-artist .artist-separator { display: none; }
}