/**
 * ADM Global Player Styles
 * Lecteur audio persistant avec design moderne
 * 
 * @package ADM
 * @version 2.0.0
 */

/* ========================================
   Variables
   ======================================== */
:root {
    --adm-player-height: 80px;
    --adm-player-bg: linear-gradient(135deg, #0a0a0f 0%, #151520 100%);
    --adm-player-border: rgba(255, 255, 255, 0.08);
    --adm-accent: #00f5d4;
    --adm-accent-secondary: #7b2cbf;
    --adm-accent-tertiary: #ff006e;
}

/* ========================================
   Global Player Container
   ======================================== */
.adm-global-player {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    height: var(--adm-player-height);
    background: var(--adm-player-bg);
    border-top: 1px solid var(--adm-player-border);
    z-index: 99999;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.adm-global-player.is-active {
    bottom: 0;
}

/* Progress Bar at Top */
.adm-gp-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    overflow: hidden;
}

.adm-gp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--adm-accent), var(--adm-accent-secondary));
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.adm-gp-progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--adm-accent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
    box-shadow: 0 0 10px var(--adm-accent);
}

.adm-gp-progress-bar:hover .adm-gp-progress-fill::after {
    opacity: 1;
}

.adm-gp-progress-buffer {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    width: 0%;
}

/* Inner Container */
.adm-gp-inner {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    gap: 20px;
}

/* ========================================
   Visualizer
   ======================================== */
.adm-gp-visualizer {
    width: 60px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.adm-gp-visualizer canvas {
    width: 100%;
    height: 100%;
}

/* ========================================
   Track Info
   ======================================== */
.adm-gp-track-info {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 250px;
    max-width: 300px;
}

.adm-gp-artwork {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    position: relative;
}

.adm-gp-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adm-gp-artwork-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg, var(--adm-accent-secondary), var(--adm-accent-tertiary));
}

.is-playing .adm-gp-artwork {
    animation: adm-pulse-glow 2s ease-in-out infinite;
}

@keyframes adm-pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 245, 212, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(0, 245, 212, 0.2); }
}

.adm-gp-details {
    flex: 1;
    min-width: 0;
}

.adm-gp-title {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.adm-gp-artist {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Favorite Button in Track Info */
.adm-gp-favorite {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
    border-radius: 50%;
}

.adm-gp-favorite:hover {
    color: var(--adm-accent-tertiary);
    background: rgba(255, 0, 110, 0.1);
}

.adm-gp-favorite svg {
    width: 20px;
    height: 20px;
}

.adm-gp-favorite .adm-heart-filled {
    display: none;
}

.adm-gp-favorite.is-favorite {
    color: var(--adm-accent-tertiary);
}

.adm-gp-favorite.is-favorite .adm-heart-empty {
    display: none;
}

.adm-gp-favorite.is-favorite .adm-heart-filled {
    display: block;
    animation: adm-heart-beat 0.6s ease;
}

@keyframes adm-heart-beat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* ========================================
   Controls
   ======================================== */
.adm-gp-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.adm-gp-btn {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.adm-gp-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.adm-gp-btn svg {
    width: 20px;
    height: 20px;
}

.adm-gp-play-pause {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--adm-accent), var(--adm-accent-secondary));
    color: #0a0a0f;
}

.adm-gp-play-pause:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.4);
}

.adm-gp-play-pause svg {
    width: 24px;
    height: 24px;
}

/* Shuffle & Repeat active states */
.adm-gp-shuffle.is-active,
.adm-gp-repeat.repeat-all,
.adm-gp-repeat.repeat-one {
    color: var(--adm-accent);
}

.adm-gp-repeat-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    font-size: 8px;
    font-weight: 700;
    background: var(--adm-accent);
    color: #0a0a0f;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

.adm-gp-repeat.repeat-one .adm-gp-repeat-badge {
    display: flex;
}

/* ========================================
   Timeline
   ======================================== */
.adm-gp-timeline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    max-width: 400px;
}

.adm-gp-time-current,
.adm-gp-time-total {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    min-width: 40px;
}

.adm-gp-seek-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.adm-gp-seek-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--adm-accent), var(--adm-accent-secondary));
    border-radius: 3px;
    width: 0%;
    position: relative;
}

.adm-gp-seek-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.2s;
    left: 0%;
}

.adm-gp-seek-bar:hover .adm-gp-seek-handle {
    opacity: 1;
}

/* ========================================
   Extras (Volume, Queue, Expand)
   ======================================== */
.adm-gp-extras {
    display: flex;
    align-items: center;
    gap: 8px;
}

.adm-gp-volume-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.adm-gp-volume-slider {
    width: 0;
    overflow: hidden;
    transition: width 0.3s;
}

.adm-gp-volume-wrapper:hover .adm-gp-volume-slider {
    width: 80px;
    margin-left: 8px;
}

.adm-gp-volume-slider input[type="range"] {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
}

.adm-gp-volume-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--adm-accent);
    border-radius: 50%;
    cursor: pointer;
}

/* Queue Button */
.adm-gp-queue-btn {
    position: relative;
}

.adm-gp-queue-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--adm-accent-tertiary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.adm-gp-queue-count:empty,
.adm-gp-queue-count:contains('0') {
    display: none;
}

/* ========================================
   Queue Panel
   ======================================== */
.adm-gp-queue-panel {
    position: absolute;
    bottom: 100%;
    right: 20px;
    width: 350px;
    max-height: 400px;
    background: #151520;
    border: 1px solid var(--adm-player-border);
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
}

.adm-gp-queue-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.adm-gp-queue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--adm-player-border);
}

.adm-gp-queue-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.adm-gp-queue-clear {
    background: none;
    border: none;
    color: var(--adm-accent-tertiary);
    font-size: 12px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.2s;
}

.adm-gp-queue-clear:hover {
    background: rgba(255, 0, 110, 0.1);
}

.adm-gp-queue-list {
    max-height: 340px;
    overflow-y: auto;
    padding: 10px;
}

.adm-gp-queue-empty {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.4);
}

.adm-gp-queue-empty span {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
    opacity: 0.3;
}

.adm-gp-queue-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.2s;
    cursor: pointer;
}

.adm-gp-queue-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.adm-gp-queue-item.is-playing {
    background: rgba(0, 245, 212, 0.1);
}

.adm-gp-qi-artwork {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.adm-gp-qi-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adm-gp-qi-artwork span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.adm-gp-qi-info {
    flex: 1;
    min-width: 0;
}

.adm-gp-qi-title {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.adm-gp-qi-artist {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.adm-gp-qi-play,
.adm-gp-qi-remove {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    font-size: 14px;
}

.adm-gp-qi-play:hover {
    color: var(--adm-accent);
    background: rgba(0, 245, 212, 0.1);
}

.adm-gp-qi-remove:hover {
    color: var(--adm-accent-tertiary);
    background: rgba(255, 0, 110, 0.1);
}

/* ========================================
   Expanded Player Overlay
   ======================================== */
.adm-player-expanded {
    position: fixed;
    inset: 0;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.adm-player-expanded.is-open {
    opacity: 1;
    visibility: visible;
}

.adm-pe-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
}

.adm-pe-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.adm-pe-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.adm-pe-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.adm-pe-close svg {
    width: 24px;
    height: 24px;
}

/* Expanded Visualizer */
.adm-pe-visualizer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 500px;
    opacity: 0.3;
    pointer-events: none;
}

/* Artwork */
.adm-pe-artwork-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    margin-bottom: 40px;
}

.adm-pe-artwork {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: adm-vinyl-spin 20s linear infinite paused;
}

.is-playing .adm-pe-artwork {
    animation-play-state: running;
}

@keyframes adm-vinyl-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.adm-pe-artwork-glow {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(40px);
    opacity: 0.4;
    border-radius: 30px;
    z-index: -1;
}

/* Info */
.adm-pe-info {
    text-align: center;
    margin-bottom: 30px;
}

.adm-pe-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.adm-pe-info p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Progress */
.adm-pe-progress {
    width: 100%;
    max-width: 400px;
    margin-bottom: 30px;
}

.adm-pe-seek-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 10px;
}

.adm-pe-seek-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--adm-accent), var(--adm-accent-secondary));
    border-radius: 3px;
    width: 0%;
}

.adm-pe-times {
    display: flex;
    justify-content: space-between;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Expanded Controls */
.adm-pe-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.adm-pe-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.adm-pe-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.adm-pe-btn svg {
    width: 22px;
    height: 22px;
}

.adm-pe-play-pause {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--adm-accent), var(--adm-accent-secondary));
    color: #0a0a0f;
}

.adm-pe-play-pause:hover {
    box-shadow: 0 0 40px rgba(0, 245, 212, 0.5);
}

.adm-pe-play-pause svg {
    width: 32px;
    height: 32px;
}

/* Actions */
.adm-pe-actions {
    display: flex;
    gap: 30px;
}

.adm-pe-action {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s;
}

.adm-pe-action:hover {
    color: var(--adm-accent);
    background: rgba(0, 245, 212, 0.1);
}

.adm-pe-action svg {
    width: 24px;
    height: 24px;
}

.adm-pe-action span {
    font-size: 12px;
}

/* ========================================
   Favorites Sidebar
   ======================================== */
.adm-favorites-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100%;
    background: #0a0a0f;
    border-left: 1px solid var(--adm-player-border);
    z-index: 99998;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.adm-favorites-sidebar.is-open {
    right: 0;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.adm-fs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--adm-player-border);
}

.adm-fs-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.adm-fs-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.adm-fs-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.adm-fs-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.adm-fs-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.4);
}

.adm-fs-empty span {
    font-size: 64px;
    display: block;
    margin-bottom: 20px;
}

.adm-fs-empty p {
    font-size: 16px;
    margin: 0 0 10px;
}

.adm-fs-empty small {
    font-size: 13px;
    opacity: 0.7;
}

.adm-fs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.adm-fs-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.2s;
}

.adm-fs-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.adm-fs-artwork {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.adm-fs-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adm-fs-artwork span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 20px;
}

.adm-fs-info {
    flex: 1;
    min-width: 0;
}

.adm-fs-title {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.adm-fs-artist {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.adm-fs-play,
.adm-fs-remove {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.2s;
    font-size: 16px;
}

.adm-fs-play:hover {
    color: var(--adm-accent);
    background: rgba(0, 245, 212, 0.1);
}

.adm-fs-remove:hover {
    color: var(--adm-accent-tertiary);
    background: rgba(255, 0, 110, 0.1);
}

/* ========================================
   Floating Favorites Button
   ======================================== */
.adm-favorites-fab {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--adm-accent-tertiary), var(--adm-accent-secondary));
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99997;
    box-shadow: 0 4px 20px rgba(255, 0, 110, 0.4);
    transition: all 0.3s;
    opacity: 0;
    transform: scale(0);
}

.adm-global-player.is-active ~ .adm-favorites-fab {
    opacity: 1;
    transform: scale(1);
}

.adm-favorites-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 0, 110, 0.5);
}

.adm-favorites-fab svg {
    width: 24px;
    height: 24px;
}

.adm-fab-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--adm-accent);
    color: #0a0a0f;
    font-size: 12px;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* ========================================
   Player Toast Notifications
   ======================================== */
.adm-player-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1a1a2e;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    z-index: 999999;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.adm-player-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.adm-toast-success {
    border-color: var(--adm-accent);
}

.adm-toast-error {
    border-color: var(--adm-accent-tertiary);
}

.adm-toast-info {
    border-color: var(--adm-accent-secondary);
}

.adm-toast-warning {
    border-color: #ffc107;
}

/* ========================================
   Body States
   ======================================== */
body.adm-player-expanded-open {
    overflow: hidden;
}

/* Add padding to body when player is active */
body:has(.adm-global-player.is-active) {
    padding-bottom: var(--adm-player-height);
}

/* ========================================
   Quick Actions on Product Cards
   ======================================== */
.adm-card-quick-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.adm-product-card:hover .adm-card-quick-actions {
    opacity: 1;
    transform: translateY(0);
}

.adm-quick-favorite,
.adm-add-to-queue {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.adm-quick-favorite:hover {
    background: var(--adm-accent-tertiary);
    transform: scale(1.1);
}

.adm-add-to-queue:hover {
    background: var(--adm-accent);
    color: #0a0a0f;
    transform: scale(1.1);
}

.adm-quick-favorite.is-favorite {
    background: var(--adm-accent-tertiary);
}

.adm-quick-favorite svg,
.adm-add-to-queue svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .adm-gp-visualizer {
        display: none;
    }
    
    .adm-gp-timeline {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .adm-global-player {
        height: 70px;
    }
    
    .adm-gp-inner {
        padding: 0 15px;
        gap: 10px;
    }
    
    .adm-gp-track-info {
        min-width: 0;
        flex: 1;
    }
    
    .adm-gp-artwork {
        width: 44px;
        height: 44px;
    }
    
    .adm-gp-controls {
        gap: 4px;
    }
    
    .adm-gp-btn {
        padding: 8px;
    }
    
    .adm-gp-shuffle,
    .adm-gp-repeat {
        display: none;
    }
    
    .adm-gp-play-pause {
        width: 44px;
        height: 44px;
    }
    
    .adm-gp-timeline {
        display: none;
    }
    
    .adm-gp-extras {
        gap: 4px;
    }
    
    .adm-gp-volume-wrapper {
        display: none;
    }
    
    .adm-gp-queue-panel {
        width: 100%;
        right: 0;
        left: 0;
        border-radius: 20px 20px 0 0;
    }
    
    .adm-favorites-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .adm-pe-artwork-wrapper {
        width: 200px;
        height: 200px;
    }
    
    .adm-pe-info h2 {
        font-size: 22px;
    }
    
    .adm-pe-actions {
        gap: 15px;
    }
    
    .adm-favorites-fab {
        bottom: 90px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .adm-gp-favorite {
        display: none;
    }
    
    .adm-gp-details {
        gap: 10px;
    }
    
    .adm-gp-title {
        font-size: 13px;
    }
    
    .adm-pe-controls {
        gap: 10px;
    }
    
    .adm-pe-btn {
        width: 44px;
        height: 44px;
    }
    
    .adm-pe-play-pause {
        width: 64px;
        height: 64px;
    }
}
