.carousel.no-arrows-desktop .carousel__button {
    display: none;
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto 10px auto;
    width: 90%;
    gap: 15px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.carousel-search {
    flex: 1;
    width:90%;
    padding: 10px 15px;
    border: 2px solid #50dfdb;
    border-radius: 8px;
    background-color: #0e1c2f;
    color: white;
    font-family: 'Bahnschrift', sans-serif;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.carousel-search::placeholder {
    color: #aee5e3;
}

.carousel-search:focus {
    border-color: #aee5e3;
    background-color: #1f2f49;
}

.carousel-filter {
    padding: 10px 15px;
    border: 2px solid #50dfdb;
    border-radius: 8px;
    background-color: #0e1c2f;
    color: white;
    font-family: 'Bahnschrift', sans-serif;
    font-size: 16px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.carousel-filter:focus {
    border-color: #aee5e3;
    background-color: #1f2f49;
}

.carousel-filter option {
    background-color: #0e1c2f;
    color: white;
}

.carousel {
    position: relative;
    background: linear-gradient(90deg, #0e1c2f, #1f2f49);
    border-radius: 12px;
    padding: 20px 0;
    margin: 15px auto 80px auto;
    width: 90%;
    overflow: hidden;
}

.carousel__track-container {
    overflow: hidden;
    width: 100%;
}

.carousel__track {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 1%;
    gap: 1vw;
    transition: transform 0.5s ease;
    transform: translateX(0);
}

.carousel__slide {
    flex: 0 0 calc((100% / 6) - (5vw / 6));
    background-color: #111d2f;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(80, 223, 219, 0.2);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.carousel__slide:hover {
    transform: scale(1.05);
}

.carousel__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    border-bottom: 2px solid #50dfdb;
}

.carousel__slide p {
    margin: 10px;
    text-align: center;
    color: white;
    font-family: 'Bahnschrift', sans-serif;
    font-size: clamp(12px, 1.4vw, 16px);
    font-weight: bold;
}

.carousel__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: #0e1c2f;
    border: none;
    font-size: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease, transform 0.2s ease;
}

.carousel__button:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.carousel__button--left {
    left: 10px;
}

.carousel__button--right {
    right: 10px;
}


.son-info {
    width: 100%;
    background: linear-gradient(90deg, #0e1c2f, #1f2f49);
    padding: 30px;
    margin: 0 auto 40px auto;
    box-shadow: 0 0 20px rgba(80, 223, 219, 0.3), 0 0 30px rgba(80, 223, 219, 0.1) inset;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    box-sizing: border-box;
}

.son-info img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid #50dfdb;
    flex-shrink: 0;
}

.son-details {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    color: white;
    font-family: 'Bahnschrift', sans-serif;
}

.infos-block {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
}

.album-title-stars-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5vw;;
}

.album-name {
    font-family: 'Agency FB', sans-serif;
    font-weight: 600;
    font-size: clamp(18px, 7vw, 50px);
    background: linear-gradient(270deg, #ff4b4b, #ff6666, #ff7a7a, #ff6666, #ff4b4b);
    text-transform: uppercase;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    background-size: 800% 100%;
    animation: shimmer-smooth 30s ease-in-out infinite;
}

.album-stars {
    margin-bottom: 130px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.album-stars .star {
    display: inline-block;
    width: clamp(25px, 3vw, 30px);
    height: clamp(25px, 3vw, 30px);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: transform 0.3s ease;
}

.album-stars .star.full {
    background: linear-gradient(90deg, #ff0000 0%, #ff3333 25%, #ff6666 50%, #ff3333 75%, #ff0000 100%);
    -webkit-mask-image: url('/style/images/star-full.svg');
    mask-image: url('/style/images/star-full.svg');
}

.album-stars .star:hover {
    transform: scale(1.4);
}

.album-stars .star.half {
    position: relative;
    width: clamp(25px, 3vw, 30px);
    height: clamp(25px, 3vw, 30px);
    -webkit-mask-image: url('/style/images/star-full.svg');
    mask-image: url('/style/images/star-full.svg');
    background-color: lightgray;
    overflow: hidden;
}

.album-stars .star.half::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, #ff0000 0%, #ff3333 25%, #ff6666 50%, #ff3333 75%, #ff0000 100%);
}

.singalb-count {
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: bold;
    color: #aee5e3;
}

.singalb-count span {
    font-weight: normal;
    color: #50dfdb;
    text-decoration: underline;
}

.artist-description {
    margin-left:5%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: justify;
    padding: 0 10px;
    font-size: clamp(15px, 1.4vw, 26px);
    line-height: 1.6;
    color: white;
    font-family: 'Bahnschrift', sans-serif;
    max-width: 70%;
    overflow: hidden;
}

#mobile-banner {
  display: none;
}

#mobile-banner img {
  flex-grow: 1;
  width:50%;
  height:20px;
  object-fit: contain;
  padding: 0 10px;
}

.icon-container {
  flex-grow: 1;
  text-align: center;
}

.icon-container a {
  display: block;
  color:white;
}

.icon-container p {
  margin: 0;
  font-size: clamp(11px,2vw,16px);
  font-family:Bahnschrift;
}

@keyframes fadeInPreview {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

a {
  text-decoration: none;
  color: rgb(32, 109, 224); 
}

c{
  text-decoration: none;
  color:white;
}

* {
 margin:0;
 padding:0;
 }

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 200vw;
  height: 200vh;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
  mix-blend-mode: screen;
  animation: float 30s infinite alternate ease-in-out;
}

.gradient-overlay.red {
  background: radial-gradient(circle, rgba(255, 0, 0, 0.3), transparent 60%);
}

.gradient-overlay.blue {
  background: radial-gradient(circle, rgba(0, 150, 255, 0.2), transparent 60%);
}

@keyframes float {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    transform: translate(-40%, -60%) scale(1.2);
  }
}

.navbar {
    border-bottom: 1.5px solid black;
    top: 0;
    padding: 0.75% 1.5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #c043e5, #4a7aff);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(12px);
    position: sticky;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-logo img {
    height: 60px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.08);
}

.nav-links {
    width:75%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12%;
}

.nav-links.connected {
    width: 60%;
}

.nav-links a {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(12px, 2vw, 26px);
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: white;
    transition: width 0.3s;
}

.nav-links a:hover {
    color: lightgrey;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 18px;
}

.user-avatar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.user-avatar {
    height: 65px;
    width: 65px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s;
}

.user-avatar-link:hover .user-avatar {
    transform: scale(1.1);
}

.user-avatar-link:hover {
    color: #ff416c;
}

.logout-btn, .login-btn {
    padding: 1% 2%;
}

.logout-btn:hover, .login-btn:hover {
    transform: translateY(-2px);
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(-45deg, #001a33, #002244, #003366, #001a33);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

.bas {
  position:relative;
  bottom: 0;
  width:100%;
}

.break{
  color:white;
  box-sizing: border-box;
  width:100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-left: auto;
  background: black;
  border-top:3px solid lightgrey;
  border-bottom:3px solid lightgrey;
}

@font-face {
    font-family: "Bahnschrift";
    src: url("https://db.onlinewebfonts.com/t/0a6ee448d1bd65c56f6cf256a7c6f20a.eot");
    src: url("https://db.onlinewebfonts.com/t/0a6ee448d1bd65c56f6cf256a7c6f20a.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/0a6ee448d1bd65c56f6cf256a7c6f20a.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/0a6ee448d1bd65c56f6cf256a7c6f20a.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/0a6ee448d1bd65c56f6cf256a7c6f20a.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/0a6ee448d1bd65c56f6cf256a7c6f20a.svg#Bahnschrift")format("svg");
    font-display: swap;
}

@font-face {
  font-family: 'Agency FB';
  src: url('../style/polices/AgencyFB.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@media screen and (min-width: 0px) and (max-width: 600px) and (orientation: portrait) {
    .carousel.no-arrows-desktop .carousel__button {
        display: none;
    }
    .carousel.no-arrows-mobile .carousel__button {
        display: none;
    }
    
    .carousel-filter{
        max-width: 40%;    
    }
    
    .carousel {
       margin: 15px auto 50px auto; 
    }
    
    .album-title-stars-block {
        margin-bottom:0;
        align-items: center;
        text-align: center;
    }

    .album-name {
        background: none;
        color: red;
        text-shadow: none;
        animation: none;
    }
    
    .album-stars{
        margin-bottom: 15px;
    }
    
    .artist-description {
        text-align: justify;
        max-width: 100%;
        padding: 0 10px;
        margin:0;
    }

    .son-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }
    
    .son-info img {
        height: auto;
        width: 300px;
    }
    
    .son-details {
        flex-direction: column;
        gap: 0px;
        width: 100%;
        align-items: center;
    }
    
    .infos-block {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: center;
    }

    .carousel__slide {
        flex: 0 0 calc((100% / 3) - (2vw / 3));
    }
    
    .navbar {
        display: none;
    }
    
    .main-content {
      margin-top: 40px;
      margin-bottom: 0px;
    }
    
    #mobile-banner {
        top: 0;
        position: fixed;
        display: flex;
        width:96.5%;
        background: linear-gradient(90deg, #c043e5, #4a7aff);
        justify-content: space-between;
        align-items: center;
        border: 1px solid white;
        padding: 1% 1.5%;
        z-index: 1001;
    }
    
    #mobile-banner .profil-box {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0;
    }
    
    #mobile-banner .profil-box a img {
        margin: 0;
        padding: 0;
        width: 25px;
        height: 25px;
        object-fit: contain;
    }
     
    #mobile-banner .icon-container img {
        width: 25px;
        height: 25px;
        object-fit: contain;
        display: block;
        margin: 0 auto;
        background: transparent;
    }
    
    #mobile-banner .icon-container:first-child img {
        width: 60px;
        height: 25px;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }
        
    .break{
        border-top:1px solid lightgrey;
        border-bottom:1px solid lightgrey;
    }
}