/* 🎵 Music Section */
#music {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
}

#music h1 {
    font-size: 32px;
    font-weight: bold;
    color: #222;
}

/* 🎶 Music List */
.music-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* 🎧 Individual Music Item */
.music-item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    width: 100%;
    max-width: 75%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 🎵 Top Row: Play Button + Title/Artist */
.music-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    width: 100%;
    padding: 0px;
    margin-bottom: 5px;
}

/* ▶ Play Button */
.play-button {
    background: #ff5500;
    border: none;
    color: white;
    font-size: 20px;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button:hover {
    background: #ff7700;
}

/* 🎤 Track Info */
.track-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    font-weight: normal; 
}

/* 🎼 Song Title */
.song-title {
    font-size: 16px;
    font-weight: bold;
    color: #222;
    margin: 0px;
}

/* 🎤 Artist Name */
.artist-name {
    font-size: 14px;
    color: #666;
    margin: 0px;
}




























/* 🎵 Waveform Wrapper - Controls Clipping */
.waveform-wrapper {
    position: relative;
    width: 100%;
    height: 60px; /* Controls how much waveform is visible */
    overflow: hidden; /* Hides the lower part */
    z-index: 1;
}

/* 🎵 Ensures waveform fits inside */
.waveform {
    width: 100%;
    height: 120px; /* Taller so bottom is hidden */
}

/* 🔴 Comment Markers - Positioned Below the Waveform */
.comment-markers {
    position: relative;
    width: 100%;
    height: 20px; /* Space below waveform for markers */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* 🔴 Small comment markers */
.comment-marker {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff5500;
    cursor: pointer;
    transform: translateX(-50%);
    transition: transform 0.2s ease-in-out;
}


/* 💬 Floating Tooltip - Appears when hovering a comment */
.comment-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    display: none; /* Hidden until hovered */
/*    z-index: 9999;*/
    z-index: 99999;
}

/* 💬 Alternative Tooltip Inside Marker */
.comment-marker::after {
    content: attr(data-comment);
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    display: none;
}

/* 💬 Show tooltip on hover */
.comment-marker:hover::after {
    display: block;
}

/* ✍️ Comment Form */
.comment-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

/* ✍️ Input Field */
.comment-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* 🔘 Submit Button */
.comment-submit {
    background: #ff5500;
    border: none;
    color: white;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.comment-submit:hover {
    background: #ff7700;
}











.featured-track {
/*    border: 2px solid gold;*/
    background: rgba(255, 215, 0, 0.1);
    background: transparent;
    padding: 5px;
    border-radius: 5px;
}

.featured-badge {
    color: gold;
    font-weight: bold;
    margin-left: 5px;
}






















/* 🎵 Position the Featured Track Over the Carousel */
.carousel-music-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0)); /* Dark at bottom, transparent at top */
    padding: 15px 20px;
    z-index: 10; /* Ensures it appears above the carousel */
}

/* 🎵 Make the Featured Track Span Full Width */
.carousel-music-container .music-item {
    width: 100%;
    max-width: none; 
    border-radius: 0;
    padding: 0px;
    box-shadow: none;
}

.carousel-music-container .song-title {
    color: gold;
}

.carousel-music-container .artist-name {
    color: white;
}

/* 🎼 Ensure Track Info and Controls Are Visible */
.carousel-music-container .music-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ▶ Play Button */
.carousel-music-container .play-button {
    border: none;
    color: white;
    font-size: 20px;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

/* 🎼 Waveform Styling */
.carousel-music-container .waveform-container {
    width: 100%;
    height: 80px;
    overflow: hidden;
}

.carousel-music-container .waveform {
    width: 100%;
    height: 100px;
}









@media (max-width: 900px) {

    .music-item {

        width: 100%;
        max-width: 100%;
    }

}





