/* ===========================
   YOUTEK MUSIC PLAYER
   style.css
=========================== */

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

html,body{
    height:100%;
    font-family:Arial,Helvetica,sans-serif;
    background:#0b0b0b;
    color:#fff;
}

/* Header */

.topbar{
    background:#111;
    border-bottom:3px solid #1db954;
    padding:25px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,.5);
}

.logo h1{
    font-size:42px;
    color:#1db954;
}

.logo span{
    color:#bbb;
    display:block;
    margin-top:5px;
}

/* Layout */

.container{
    max-width:1400px;
    margin:40px auto;
    display:grid;
    grid-template-columns:380px 1fr;
    gap:30px;
    padding:20px;
}

/* Player */

.player-box{
    background:#181818;
    border-radius:15px;
    padding:25px;
    box-shadow:0 0 20px rgba(0,0,0,.4);
}

.cover-box{
    text-align:center;
}

.cover-box img{
    width:100%;
    border-radius:15px;
    box-shadow:0 0 25px rgba(0,0,0,.5);
}

.player-info{
    margin-top:20px;
}

.player-info h2{
    font-size:28px;
    margin-bottom:10px;
}

.player-info p{
    color:#999;
    margin-bottom:20px;
}

.stats{
    display:flex;
    justify-content:space-between;
    color:#bbb;
    margin-bottom:20px;
    font-size:14px;
}

audio{
    width:100%;
    margin-bottom:20px;
}

/* Buttons */

.controls{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:10px;
}

.controls button{
    background:#1db954;
    border:0;
    color:#fff;
    border-radius:8px;
    padding:12px;
    cursor:pointer;
    font-size:18px;
    transition:.25s;
}

.controls button:hover{
    background:#17a148;
    transform:translateY(-2px);
}

.controls button.active{
    background:#ff9800;
}

/* Progress */

.progress{
    margin-top:20px;
}

#progressBar{
    width:100%;
    cursor:pointer;
}

/* Playlist */

.library{
    background:#181818;
    border-radius:15px;
    padding:25px;
    box-shadow:0 0 20px rgba(0,0,0,.4);
}

.library-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.library-header h2{
    color:#1db954;
}

#searchBox{
    width:280px;
    padding:12px;
    border:none;
    border-radius:8px;
    background:#222;
    color:#fff;
}

#playlist{
    list-style:none;
    max-height:650px;
    overflow-y:auto;
}

.track{
    display:flex;
    align-items:center;
    gap:15px;
    padding:15px;
    border-bottom:1px solid #2a2a2a;
    cursor:pointer;
    transition:.2s;
}

.track:hover{
    background:#222;
}

.track.active{
    background:#1db954;
    color:#fff;
}

.track-icon{
    font-size:24px;
}

.track-name{
    flex:1;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.empty{
    text-align:center;
    color:#999;
    padding:40px;
}

/* Scrollbar */

#playlist::-webkit-scrollbar{
    width:8px;
}

#playlist::-webkit-scrollbar-thumb{
    background:#1db954;
    border-radius:20px;
}

#playlist::-webkit-scrollbar-track{
    background:#111;
}

/* Footer */

.footer{
    margin-top:40px;
    background:#111;
    border-top:3px solid #1db954;
    padding:20px;
    display:flex;
    justify-content:space-between;
    color:#999;
}

/* Responsive */

@media(max-width:1000px){

.container{

grid-template-columns:1fr;

}

.library-header{

flex-direction:column;

gap:15px;

}

#searchBox{

width:100%;

}

.controls{

grid-template-columns:repeat(4,1fr);

}

}

@media(max-width:600px){

.logo h1{

font-size:32px;

}

.player-info h2{

font-size:22px;

}

.controls{

grid-template-columns:repeat(2,1fr);

}

.footer{

flex-direction:column;
text-align:center;
gap:10px;

}
/* ==================================
   YOUTEK LIVE EN COMMUNITY
================================== */

.live-section,
.community-section,
.events-section {
    margin-top: 35px;
    padding: 25px;
    border: 1px solid rgba(0, 255, 110, 0.25);
    border-radius: 18px;
    background: rgba(5, 12, 8, 0.92);
    box-shadow: 0 0 30px rgba(0, 255, 100, 0.08);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}

.section-heading h2 {
    margin: 5px 0 0;
}

.section-label,
.live-badge {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #00ff70;
}

.live-badge {
    animation: livePulse 1.2s infinite;
}

@keyframes livePulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

.live-player {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 25px;
    align-items: center;
}

.live-info h3 {
    margin-top: 0;
    font-size: 26px;
}

.live-info p {
    opacity: 0.75;
}

.live-info audio {
    width: 100%;
    margin-top: 15px;
}

.vu-wrapper {
    min-height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #020503;
    border: 1px solid rgba(0, 255, 100, 0.2);
}

.vu-meter {
    height: 100px;
    display: flex;
    align-items: flex-end;
    gap: 7px;
}

.vu-meter span {
    width: 12px;
    height: 15%;
    border-radius: 4px 4px 0 0;
    background: #00ff70;
    box-shadow: 0 0 10px rgba(0, 255, 110, 0.8);
    transition: height 0.12s ease;
}

.cover-carousel,
.event-carousel {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding-bottom: 12px;
}

.member-cover {
    position: relative;
    min-width: 220px;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 100, 0.3);
    background: #050805;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.member-cover:hover {
    transform: translateY(-7px) scale(1.02);
}

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

.cover-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 35px 15px 15px;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.95)
    );
}

.cover-overlay h3,
.cover-overlay p {
    margin: 3px 0;
}

.cover-overlay p {
    color: #00ff70;
}

.carousel-buttons {
    display: flex;
    gap: 8px;
}

.carousel-buttons button {
    width: 42px;
    height: 42px;
    border: 1px solid #00ff70;
    border-radius: 50%;
    background: #071009;
    color: #00ff70;
    font-size: 25px;
    cursor: pointer;
}

.carousel-buttons button:hover {
    background: #00ff70;
    color: #020402;
}

.event-card {
    min-width: 330px;
    display: flex;
    gap: 17px;
    align-items: center;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(0, 255, 100, 0.25);
    background: rgba(0, 255, 100, 0.04);
}

.event-date {
    min-width: 70px;
    height: 75px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: #00ff70;
    color: #020402;
}

.event-date strong {
    font-size: 28px;
    line-height: 1;
}

.event-date span {
    font-size: 13px;
    font-weight: bold;
}

.event-card h3 {
    margin: 0 0 7px;
}

.event-card p {
    margin: 0 0 7px;
    opacity: 0.7;
}

.event-location {
    color: #00ff70;
    font-size: 13px;
}

@media (max-width: 800px) {
    .live-player {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
    }

    .member-cover {
        min-width: 180px;
        height: 180px;
    }

    .event-card {
        min-width: 280px;
    }
}