@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f1117 0%, #1a1040 50%, #0d1b2a 100%);
    color: #fff;
    gap: 24px;
}

#player {
    padding: 36px 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(90, 101, 255, 0.1);
    backdrop-filter: blur(12px);
    width: min(360px, 90vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transition: box-shadow 0.3s ease;
}

#player:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(90, 101, 255, 0.25);
}

h1 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    text-align: center;
}

.upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.upload input[type="file"] {
    display: none;
}

.upload label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #5a65ff, #7c85ff);
    color: #fff;
    padding: 11px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(90, 101, 255, 0.35);
    width: 100%;
}

.upload label::before {
    content: '♪';
    font-size: 1rem;
}

.upload label:hover {
    background: linear-gradient(135deg, #4951ff, #6b74ff);
    box-shadow: 0 6px 20px rgba(90, 101, 255, 0.5);
    transform: translateY(-1px);
}

.upload label:active {
    transform: translateY(0);
}

audio {
    width: 100%;
    height: 36px;
    border-radius: 8px;
    outline: none;
    filter: invert(0.85) hue-rotate(200deg) saturate(1.5);
}

/* Footer */
footer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.02em;
}

footer a {
    color: rgba(90, 101, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #7c85ff;
}
