/* ================================
   IKAKKEY AUDIO PLAYER SYSTEM
================================ */

.audio-player-wrapper {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.audio-player-wrapper::-webkit-scrollbar {
    display: none;
}

.audio-player {
    min-width: 320px;
    width: 320px;        /* optional but recommended */
    flex-shrink: 0;      /* IMPORTANT */

    padding: 1.5rem;
    border-radius: 1.25rem;

    background: rgba(255,255,199,0.06);
    backdrop-filter: blur(14px);

    border: 1px solid rgba(255,255,255,0.15);

    display: flex;
    flex-direction: column;
    gap: 0.8rem;

    transition: all 0.3s ease;
}


.audio-player:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.09);
}


/* Header */
.audio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.audio-title {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #9ca3af;
    font-weight: 600;
}


/* Speed */
.audio-speed {
    background: rgba(255,255,255,0.08);
    border: none;
    color: #e5e7eb;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
}

.audio-speed:hover {
    background: rgba(255,255,255,0.15);
}


/* Controls */
.audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}


/* Play */
.audio-play {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;

    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-secondary)
    );

    color: white;
    font-size: 16px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform .25s, filter .25s;
}

.audio-play:hover {
    transform: scale(1.3);
    filter: brightness(3.45);
}


/* Progress */
.audio-progress-wrap {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 999px;
    cursor: pointer;
    overflow: hidden;
}

.audio-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(
        90deg,
        var(--color-primary),
        var(--color-secondary)
    );
    transition: width .1s linear;
}


/* Time */
.audio-time {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: rgba(255,255,255,0.6);
}
