:root {
    --bg: #ffffff;
    --accent: #3552a8;
    --text: #ffffff;
    --muted: #ffffff;
    --card: #2e3336;;
    --radius: 30px;
    --transition: 0.25s ease;
}

@font-face {
    font-family: snb;
    src: url(/assets/fonts/StickNoBills-VariableFont_wght.ttf);
}

@font-face {
    font-family: wosa;
    src: url(/assets/fonts/Work_Sans/WorkSans-VariableFont_wght.ttf);
}

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

.website-player-tinyakustik {
    background: var(--bg);
    color: var(--text);
    font-family: "wosa";
    /*letter-spacing: 0.2rem;*/
    display: flex;
    justify-content: center;
    align-items: center;
    /*min-height: 100vh;*/
    padding: 20px;
}

.player {
    background: var(--card);
    border-radius: var(--radius);
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);*/
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cover-container {
    position: relative;
}

.cover {
    width: 100%;
    display: block;
    border-radius: 0;
    transition: transform var(--transition);
}

.cover-container:hover .cover {
    transform: scale(1.03);
}

.info {
    font-family: snb;
    letter-spacing: 0.2rem;
    text-align: center;
    padding: 15px;
}

.title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 5px;
}

.artist {
    font-size: 0.95em;
    color: var(--muted);
}

#play {
    position: absolute;
}

.controls {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0 0;
}

.controls button {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.8em;
    cursor: pointer;
    transition: color var(--transition), transform var(--transition);
}

.controls button:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.progress-container {
    width: 100%;
    padding: 0 15px;
    margin-top: 10px;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: var(--muted);
    margin-top: 3px;
}

input[type="range"] {
    width: 100%;
    appearance: none;
    height: 5px;
    border-radius: 5px;
    background: #ffffff;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
}

.volume-container {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.volume-container span {
    color: var(--muted);
    font-size: 1rem;
    width: 100%;
    text-align: right;
}

.playlist {
    padding: 10px 15px 20px;
    overflow-y: hidden;
    max-height: 300px;
}

.track {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: background var(--transition);
}

.track:hover {
    background: #171819;
}

.track.active {
    background: var(--accent);
    color: #ffffff;
    font-weight: normal;
}

.track small {
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .player {
      max-width: 100%;
      border-radius: 15px;
    }

    .controls button {
      font-size: 1.6em;
    }

    .playlist {
      max-height: 300px;
    }
}