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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0f171e; /* Darker background to match image */
    color: #ffffff;
    line-height: 1.4;
    padding: 40px 20px;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 105, 180, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 255, 0.05) 0%, transparent 40%);
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Typography Styling */
.hero-text {
    margin-bottom: 60px;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.large-text {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.medium-text {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 50px;
}

.upload-section {
    background: linear-gradient(90deg, rgba(20, 25, 30, 0.8) 0%, rgba(20, 25, 30, 0) 100%);
    padding: 30px;
    border-left: 4px solid #00ffff;
    border-radius: 8px;
    margin-bottom: 40px;
}

.upload-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.upload-section p {
    font-size: 1.4rem;
}

/* Color Accents & Glows */
.pink-glow {
    color: #ff69b4;
    text-shadow: 0 0 20px rgba(255, 105, 180, 0.4);
}

.cyan-glow {
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.pink-muted {
    color: #d88eb5; /* Slightly muted pink for secondary text */
}

/* Music Library Adjustments */
.music-library {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.music-item {
    background: rgba(20, 30, 40, 0.6);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid rgba(255, 105, 180, 0.15);
    position: relative;
    padding-left: 30px;
}

.music-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.3);
}

.music-item h3 {
    margin-bottom: 14px;
    color: #00ffff;
    font-size: 1.2em;
    font-weight: 600;
}

/* Custom Native Audio Player Styling */
.music-item audio {
    width: 100%;
    margin-top: 15px;
    height: 44px;
    border-radius: 8px;
    outline: none;
}

/* Customize the main background panel */
.music-item audio::-webkit-media-controls-panel {
    background-color: rgba(15, 22, 30, 0.95);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
}

/* Style the time text (cyan) */
.music-item audio::-webkit-media-controls-current-time-display,
.music-item audio::-webkit-media-controls-time-remaining-display {
    color: #00ffff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
}

/* Make the buttons visible against the dark background */
.music-item audio::-webkit-media-controls-play-button,
.music-item audio::-webkit-media-controls-mute-button {
    background-color: #ff69b4;
    border-radius: 50%;
    transform: scale(0.8);
    transition: transform 0.2s;
    cursor: pointer;
}

.music-item audio::-webkit-media-controls-play-button:hover,
.music-item audio::-webkit-media-controls-mute-button:hover {
    transform: scale(0.9);
}

/* Adjust timeline and sliders for dark mode visibility */
.music-item audio::-webkit-media-controls-timeline,
.music-item audio::-webkit-media-controls-volume-slider {
    padding: 0 5px;
    filter: invert(80%) hue-rotate(180deg);
}

/* For Firefox: Basic dark mode fallback */
@supports not selector(::-webkit-media-controls-panel) {
    .music-item audio {
        background-color: #0f171e;
        border-radius: 8px;
        /* A simple trick to invert the default light player in Firefox */
        filter: invert(90%) hue-rotate(180deg) sepia(20%);
    }
}

.music-item::before {
    content: '';
    display: block;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #ff69b4 0%, #00ffff 100%);
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    position: absolute;
    left: 0;
    top: 0;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f171e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#ff69b4, #00ffff);
    border-radius: 4px;
}