/* Album Selector Container */
.album-selector-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

/* Album Selector Button */
.album-selector-button {
    background: linear-gradient(45deg, #ff5500, #ff7733);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    min-width: 150px;
    text-align: center;
}

.album-selector-button:hover {
    background: linear-gradient(45deg, #ff6611, #ff8844);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 85, 0, 0.4);
}

.album-selector-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 85, 0, 0.3);
}

/* Dropdown Arrow */
.album-selector-button::after {
    content: "▼";
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.album-selector-button.active::after {
    transform: rotate(180deg);
}

/* Album Menu */
.album-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 85, 0, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 8px;
    min-width: 260px;
    max-width: 320px;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.album-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Album Items */
.album-item {
    background: rgba(20, 20, 25, 0.6);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 85, 0, 0.2);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.album-item:last-child {
    margin-bottom: 0;
}

.album-item:hover {
    background: rgba(255, 85, 0, 0.15);
    border-color: rgba(255, 85, 0, 0.5);
    transform: translateX(4px);
    color: white;
}

.album-item:active {
    transform: translateX(2px);
    background: rgba(255, 85, 0, 0.25);
}

/* Album Title & Artist */
.album-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 16px;
    color: #fff;
}

.album-artist {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    text-align: center;
}

/* Scrollbar */
.album-menu::-webkit-scrollbar {
    width: 6px;
}

.album-menu::-webkit-scrollbar-track {
    background: rgba(255, 85, 0, 0.1);
    border-radius: 3px;
}

.album-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 85, 0, 0.5);
    border-radius: 3px;
}

.album-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 85, 0, 0.7);
}

/* Tablet */
@media (max-width: 1024px) {
    .album-selector-button {
        font-size: 18px;
        padding: 16px 28px;
    }

    .album-menu {
        min-width: 280px;
        max-width: 340px;
        max-height: 420px;
    }

    .album-item {
        font-size: 17px;
        padding: 18px 22px;
    }

    .album-title {
        font-size: 18px;
    }

	.album-artist {
		font-size: 14px;
		text-align: center;
	}
}

/* Smartphone */
@media (max-width: 600px) {
    .album-selector-container {
        bottom: 16px;
        right: 16px;
    }

    .album-selector-button {
        width: 100%;
        min-width: auto;
        font-size: 18px;
        padding: 18px;
    }

    .album-menu {
        position: fixed;
        bottom: auto;
        top: 80px;
        left: 5%;
        right: 5%;
        width: 90%;
        max-width: none;
        max-height: 80vh;
        z-index: 10000;
    }

    .album-item {
        font-size: 18px;
        padding: 20px;
        margin-bottom: 12px;
    }

    .album-title {
        font-size: 19px;
    }

    .album-artist {
        font-size: 15px;
		text-align: center;
    }

    .album-item:hover {
        transform: none;
        background: rgba(255, 85, 0, 0.2);
    }
}

/* Animation */
.album-item {
    animation: slideInFromRight 0.3s ease-out;
    animation-fill-mode: both;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stagger */
.album-item:nth-child(1) { animation-delay: 0.05s; }
.album-item:nth-child(2) { animation-delay: 0.1s; }
.album-item:nth-child(3) { animation-delay: 0.15s; }
.album-item:nth-child(4) { animation-delay: 0.2s; }
.album-item:nth-child(5) { animation-delay: 0.25s; }
.album-item:nth-child(6) { animation-delay: 0.3s; }
.album-item:nth-child(7) { animation-delay: 0.35s; }
