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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f9fafb;
    color: #111827;
    line-height: 1.5;
}

.container {
    max-width: 640px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

/* ===== UTILITY CLASSES ===== */
.hidden {
    display: none !important;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== HEADER STYLES ===== */
header {
    position: sticky;
    top: 0;
    z-index: 30;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem;
}

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

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #dc2626;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 1.125rem;
    font-weight: bold;
    color: #111827;
}

.logo-text p {
    font-size: 0.75rem;
    color: #6b7280;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    padding: 0.5rem;
    background: none;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-icon:hover {
    background-color: #f3f4f6;
}

.btn-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #4b5563;
}

.btn-login {
    padding: 0.5rem 1rem;
    background-color: #dc2626;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-login:hover {
    opacity: 0.9;
}

/* ===== NOTIFICATION BANNER ===== */
.notification {
    margin: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification.success {
    background-color: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.notification.info {
    background-color: #dbeafe;
    border: 1px solid #93c5fd;
    color: #1e40af;
}

.notification.error {
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ===== PREVIEW MODE BANNER ===== */
.preview-banner {
    margin: 1rem;
    position: relative;
    overflow: hidden;
}

.preview-banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(251, 191, 36, 0.2), rgba(251, 146, 60, 0.2), rgba(239, 68, 68, 0.2));
    filter: blur(2rem);
}

.preview-banner-content {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.5);
    padding: 1.25rem;
}

.preview-banner-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.preview-icon {
    flex-shrink: 0;
    position: relative;
}

.preview-icon-pulse {
    position: absolute;
    inset: 0;
    background-color: #fbbf24;
    border-radius: 9999px;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.2;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.preview-icon-circle {
    position: relative;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to bottom right, #fbbf24, #f97316);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.preview-icon-circle svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.preview-content {
    flex: 1;
    min-width: 0;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.preview-title {
    font-size: 1rem;
    font-weight: bold;
    color: #111827;
}

.preview-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #fef3c7;
    color: #92400e;
}

.preview-text {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.625;
    margin-bottom: 0.75rem;
}

.btn-scan {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(to right, #f59e0b, #ea580c);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    text-decoration: none;
}

.btn-scan:hover {
    background: linear-gradient(to right, #d97706, #c2410c);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.btn-scan svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ===== BANNER SLIDER ===== */
.banner-slider {
    position: relative;
    height: 20rem;
    overflow: hidden;
    background-color: #e5e7eb;
}

.banner-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.banner-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 0.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.banner-nav:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.banner-nav.prev {
    left: 1rem;
}

.banner-nav.next {
    right: 1rem;
}

.banner-nav svg {
    width: 1.5rem;
    height: 1.5rem;
}

.banner-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.banner-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.banner-dot.active {
    width: 2rem;
    background-color: white;
}

.banner-dot:hover {
    background-color: rgba(255, 255, 255, 0.75);
}

/* ===== SECTION STYLES ===== */
section {
    padding: 1.5rem 1rem;
}

.section.white-bg {
    background-color: white;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #111827;
    letter-spacing: 0.025em;
}

.section-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.section-link {
    color: #dc2626;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    transition: color 0.2s;
}

.section-link:hover {
    color: #b91c1c;
}

.section-link svg {
    width: 1rem;
    height: 1rem;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-add {
    padding: 0.25rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    background: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-add:hover {
    background-color: #f3f4f6;
}

.btn-add svg {
    width: 1rem;
    height: 1rem;
    color: #374151;
}

.btn-arrow {
    padding: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-arrow:hover {
    opacity: 0.7;
}

.btn-arrow svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #6b7280;
}

/* ===== HORIZONTAL SCROLL ===== */
.horizontal-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

/* ===== ALBUM/SONG CARD ===== */
.album-card,
.song-card {
    flex-shrink: 0;
    width: 7rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.album-card:hover,
.song-card:hover {
    opacity: 0.8;
}

.album-cover,
.song-cover {
    position: relative;
    width: 7rem;
    height: 7rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.album-cover img,
.song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-badge,
.outlet-badge {
    position: absolute;
    bottom: 0.25rem;
    right: 0.25rem;
    background-color: #dc2626;
    color: white;
    font-size: 0.75rem;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-weight: 500;
}

.karaoke-badge {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background-color: #9333ea;
    color: white;
    font-size: 0.75rem;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
}

.preview-badge-song {
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    background-color: #eab308;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
}

.album-title,
.song-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.25;
}

.album-artist,
.song-artist {
    font-size: 0.75rem;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.album-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ===== PLAYLIST CARD ===== */
.playlist-card {
    flex-shrink: 0;
    width: 8rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.playlist-card:hover {
    opacity: 0.8;
}

/* GANTI dengan ini - untuk halaman beranda saja */
.playlist-cover {
    position: relative;
    width: 8rem;
    height: 5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

/* Playlist colors - tetap sama, tidak perlu diubah */
.playlist-cover.red {
    background-color: #ef4444;
}

.playlist-cover.gray {
    background-color: #4b5563;
}

.playlist-cover.darkred {
    background-color: #dc2626;
}

.playlist-icon {
    font-size: 1.5rem;
}

.playlist-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.125rem;
}

.playlist-count {
    font-size: 0.75rem;
    color: #6b7280;
}

/* ===== ARTIST CARD ===== */
.artist-card {
    flex-shrink: 0;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s;
}

.artist-card:hover {
    opacity: 0.8;
}

.artist-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.5rem;
    border: 2px solid #e5e7eb;
}

.artist-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    width: 5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== ARTICLE GRID ===== */
.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .article-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.article-card {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.article-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.25rem);
}

.article-image-wrapper {
    position: relative;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover .article-image {
    transform: scale(1.1);
}

.article-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.article-card:hover .article-overlay {
    opacity: 1;
}

.article-new-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: #dc2626;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.article-content {
    padding: 1.25rem;
}

.article-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.375;
    transition: color 0.2s;
}

.article-card:hover .article-title {
    color: #dc2626;
}

.article-excerpt {
    font-size: 0.875rem;
    color: #4b5563;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.625;
    margin-bottom: 1rem;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
}

.article-read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}

.article-card:hover .article-read-more {
    color: #b91c1c;
}

.article-read-more svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s;
}

.article-card:hover .article-read-more svg {
    transform: translateX(0.25rem);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
}

.empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background-color: #f3f4f6;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.empty-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: #9ca3af;
}

.empty-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.empty-text {
    color: #6b7280;
    font-size: 0.875rem;
}

/* ===== PLAYER BAR ===== */
.player-bar {
    position: fixed;
    bottom: 14rem;
    left: 0;
    right: 0;
    /* z-index: 20; */
}

.player-bar-container {
    max-width: 640px;
    margin: 0 auto;
}

.player-content {
    background-color: white;
    border-top: 1px solid #e5e7eb;
    padding: 1rem;
}

.player-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.player-cover {
    width: 3rem;
    height: 3rem;
    background-color: #ec4899;
    border-radius: 0.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    flex: 1;
    min-width: 0;
}

.player-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-artist {
    font-size: 0.75rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-karaoke-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: #f3e8ff;
    color: #7c3aed;
    margin-top: 0.25rem;
}

.player-karaoke-badge svg {
    width: 0.75rem;
    height: 0.75rem;
    margin-right: 0.25rem;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-karaoke {
    padding: 0.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-karaoke.active {
    background-color: #9333ea;
    color: white;
}

.btn-karaoke.inactive {
    background-color: #f3f4f6;
    color: #374151;
}

.btn-karaoke.inactive:hover {
    background-color: #e5e7eb;
}

.btn-karaoke svg {
    width: 1.25rem;
    height: 1.25rem;
}

.btn-play {
    padding: 0.5rem;
    background-color: #dc2626;
    color: white;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-play:hover {
    background-color: #b91c1c;
}

.btn-play:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-play svg {
    width: 1.5rem;
    height: 1.5rem;
}

.player-progress {
    margin-top: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 0.25rem;
    background-color: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #dc2626;
    border-radius: 9999px;
    transition: all 0.2s;
}

.progress-fill.karaoke {
    background-color: #9333ea;
}

/* ===== BOTTOM NAVIGATION ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* z-index: 30; */
    z-index: 997;
}

.bottom-nav-container {
    max-width: 640px;
    margin: 0 auto;
}

.bottom-nav-content {
    background-color: white;
    border-top: 1px solid #e5e7eb;
    padding: 0.5rem 1rem;
    box-shadow: 0 -4px 30px 0 rgba(17, 7, 38, 0.05);
}

.nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-item.active {
    color: #dc2626;
}

.nav-item svg {
    width: 1.5rem;
    height: 1.5rem;
}

.nav-label {
    font-size: 0.75rem;
    font-weight: 500;
}

.nav-scan {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
}

.nav-scan-button {
    width: 3rem;
    height: 3rem;
    background-color: #dc2626;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -0.5rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.nav-scan-button svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

/* ===== LOADING STATE ===== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #6b7280;
}

.skeleton {
    background-color: #e5e7eb;
    border-radius: 0.5rem;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.skeleton-card {
    flex-shrink: 0;
    width: 7rem;
}

.skeleton-cover {
    width: 7rem;
    height: 7rem;
    margin-bottom: 0.5rem;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.25rem;
}

.skeleton-text-sm {
    height: 0.75rem;
    width: 60%;
}

.skeleton-artist {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin: 0 auto 0.5rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.empty-state svg {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    color: #d1d5db;
}

.empty-title {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.empty-text {
    font-size: 0.875rem;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.btn-login svg {
    width: 18px;
    height: 18px;
}

.user-dropdown {
    position: relative;
}

.user-menu-btn {
    cursor: pointer;
}

.user-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.user-dropdown-menu.show {
    display: block;
}

.dropdown-header {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-header strong {
    display: block;
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 4px;
}

.dropdown-header small {
    font-size: 12px;
    color: #6b7280;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background: #f9fafb;
}

.dropdown-item svg {
    width: 18px;
    height: 18px;
}

.logout-item {
    color: #ef4444;
}

.logout-item:hover {
    background: #fee2e2;
}

.dropdown-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 8px 0;
}

.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin: 16px;
    border-radius: 10px;
    font-size: 14px;
    position: relative;
}

.alert svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.alert-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

.alert-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.alert-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 1;
}

.alert-close:hover {
    opacity: 1;
}

/* ===== ARTIST DETAIL PAGE STYLES ===== */
/* ===== ARTIST DETAIL PAGE STYLES ===== */

/* Artist Header Section */
.artist-header {
    position: relative;
    height: 400px;
    margin-bottom: 0;
    overflow: hidden;
}

.artist-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    transform: scale(1.1);
}

.artist-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.85));
}

.artist-header-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
}

.artist-avatar {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.25rem;
}

.artist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-featured-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.artist-featured-badge svg {
    width: 16px;
    height: 16px;
    color: #b8860b;
}

.artist-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.artist-genre {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.625rem;
}

.artist-stats {
    display: flex;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Artist Biography Section - Collapsible */
.artist-bio-wrapper {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.artist-bio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.artist-bio-header:hover {
    background: #f3f4f6;
}

.bio-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bio-header-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.bio-toggle-icon {
    transition: transform 0.3s ease;
    color: #6b7280;
}

.bio-toggle-icon.open {
    transform: rotate(180deg);
}

.bio-toggle-icon svg {
    width: 20px;
    height: 20px;
}

.artist-bio-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.artist-bio-content.open {
    max-height: 500px;
    padding: 0 1rem 1.25rem 1rem;
}

.bio-text {
    color: #4b5563;
    line-height: 1.65;
    font-size: 0.9375rem;
}

/* Songs Section */
.songs-section {
    padding: 1.5rem 0 12rem 0;
    background: white;
    min-height: 100vh;
}

/* Adjust when player is active */
body.player-active .songs-section {
    padding-bottom: 14rem;
}

.songs-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem 1rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 0.5rem;
}

.section-title-songs {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.song-count-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background: #f3f4f6;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
}

/* Songs List */
.songs-list {
    padding: 0;
}

.song-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background: white;
    border-bottom: 1px solid #f9fafb;
    cursor: pointer;
    transition: all 0.2s ease;
}

.song-item:hover {
    background: #fafafa;
}

.song-item:active {
    background: #f5f5f5;
}

.song-number {
    width: 28px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #9ca3af;
    text-align: center;
    flex-shrink: 0;
}

.song-cover {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.song-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.song-item:hover .song-play-overlay {
    opacity: 1;
}

.song-play-overlay svg {
    width: 22px;
    height: 22px;
    color: white;
}

.song-details {
    flex: 1;
    min-width: 0;
}

.song-item .song-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.song-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

.song-album {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.song-duration {
    white-space: nowrap;
}

.song-actions {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

.song-karaoke-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #fef3c7;
    border-radius: 50%;
}

.song-karaoke-icon svg {
    width: 13px;
    height: 13px;
    color: #f59e0b;
}

.song-plays {
    font-size: 0.6875rem;
    color: #9ca3af;
    white-space: nowrap;
}

/* Empty State */
.empty-state-songs {
    text-align: center;
    padding: 4rem 1rem;
    color: #9ca3af;
}

.empty-state-songs svg {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    opacity: 0.3;
}

.empty-state-songs p {
    font-size: 0.9375rem;
    color: #6b7280;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .artist-header {
        height: 360px;
    }

    .artist-avatar {
        width: 120px;
        height: 120px;
    }

    .artist-name {
        font-size: 1.5rem;
    }

    .song-item {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .song-cover {
        width: 48px;
        height: 48px;
    }

    .song-number {
        width: 24px;
    }
}

/* scan page */

.scan-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 1rem;
    padding-bottom: 100px;
}

/* Scanner Frame */
.scanner-frame {
    position: relative;
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1;
    margin: 0 auto 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.scanner-border {
    position: absolute;
    inset: 0;
    padding: 1rem;
    z-index: 2;
    pointer-events: none;
}

.scanner-corner {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px solid #fff;
}

.scanner-corner.top-left {
    top: 1rem;
    left: 1rem;
    border-right: none;
    border-bottom: none;
    border-radius: 1rem 0 0 0;
}

.scanner-corner.top-right {
    top: 1rem;
    right: 1rem;
    border-left: none;
    border-bottom: none;
    border-radius: 0 1rem 0 0;
}

.scanner-corner.bottom-left {
    bottom: 1rem;
    left: 1rem;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 1rem;
}

.scanner-corner.bottom-right {
    bottom: 1rem;
    right: 1rem;
    border-left: none;
    border-top: none;
    border-radius: 0 0 1rem 0;
}

/* Scanning Line Animation */
.scanning-line {
    position: absolute;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    box-shadow: 0 0 20px #00ff88;
    animation: scan 2s ease-in-out infinite;
    z-index: 3;
}

@keyframes scan {

    0%,
    100% {
        top: 1rem;
        opacity: 0;
    }

    10%,
    90% {
        opacity: 1;
    }

    50% {
        top: calc(100% - 1rem);
    }
}

/* Scanner Content */
.scanner-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scanner-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
}

.scanner-placeholder svg {
    width: 120px;
    height: 120px;
}

.scanner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    backdrop-filter: blur(10px);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Instructions */
.scan-instructions {
    text-align: center;
    margin-bottom: 1.5rem;
    color: white;
}

.scan-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.scan-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Error Message */
.error-message {
    background: rgba(239, 68, 68, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-text {
    color: #fff;
    font-size: 0.875rem;
    text-align: center;
    margin: 0;
}

/* Action Buttons */
.action-buttons {
    max-width: 500px;
    margin: 0 auto 2rem;
}

#initialButtons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn svg {
    width: 24px;
    height: 24px;
}

.btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-gray {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-gray:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Button Group */
.button-group {
    display: flex;
    gap: 1rem;
}

.button-group .btn {
    flex: 1;
}

/* Toggle Button */
.toggle-button {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.875rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.toggle-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Manual Input Form */
.manual-input-form {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.manual-input {
    width: 100%;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.manual-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.manual-input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

/* Tips Box */
.tips-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.tips-title {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tips-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tips-list li {
    display: flex;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    line-height: 1.6;
}

.tip-number {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.tip-number-1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.tip-number-2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.tip-number-3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

/* Back Button */
.back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.back-button svg {
    width: 20px;
    height: 20px;
}

/* Hidden Class */
.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 640px) {
    .scan-page {
        padding: 1.5rem 1rem;
    }

    .scanner-frame {
        max-width: 300px;
    }

    .scan-title {
        font-size: 1.5rem;
    }

    .scanner-corner {
        width: 40px;
        height: 40px;
    }

    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 400px) {
    .scanner-frame {
        max-width: 280px;
    }

    .button-group {
        flex-direction: column;
    }
}

/* koleksi saya */
/* ==========================================
KOLEKSI PAGE - SPECIFIC STYLES
========================================== */

.koleksi-page {
    background-color: #f9fafb;
    padding-bottom: 80px;
}

.koleksi-page .section {
    padding: 1.5rem 1rem;
}

.koleksi-page .section.white-bg {
    background-color: white;
}

.koleksi-page .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.koleksi-page .section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: 0.5px;
}

.koleksi-page .section-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.koleksi-page .btn-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.koleksi-page .btn-arrow:hover {
    background: #e5e7eb;
    transform: scale(1.05);
}

.koleksi-page .btn-arrow svg {
    width: 18px;
    height: 18px;
    color: #6b7280;
}

.koleksi-page .btn-add {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.koleksi-page .btn-add:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.koleksi-page .btn-add svg {
    width: 18px;
    height: 18px;
    color: white;
}

/* Song Card - Koleksi Specific */
.koleksi-page .song-card {
    min-width: 140px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.koleksi-page .song-card:hover {
    transform: translateY(-4px);
}

.koleksi-page .song-cover {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.koleksi-page .song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.koleksi-page .song-card:hover .song-cover img {
    transform: scale(1.05);
}

.koleksi-page .song-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.koleksi-page .song-artist {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Playlist Card - Koleksi Specific */
.koleksi-page .playlist-card {
    min-width: 140px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.koleksi-page .playlist-card:hover {
    transform: translateY(-4px);
}

.koleksi-page .playlist-cover {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.koleksi-page .playlist-cover.red {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.koleksi-page .playlist-cover.gray {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.koleksi-page .playlist-cover.darkred {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.koleksi-page .playlist-icon {
    font-size: 3rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.koleksi-page .playlist-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.koleksi-page .playlist-count {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Artist Card - Koleksi Specific */
.koleksi-page .artist-card {
    min-width: 120px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.koleksi-page .artist-card:hover {
    transform: translateY(-4px);
}

.koleksi-page .artist-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
}

.koleksi-page .artist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.koleksi-page .artist-card:hover .artist-avatar img {
    transform: scale(1.1);
}

.koleksi-page .artist-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Skeleton Loading - Koleksi */
.koleksi-page .skeleton-card {
    min-width: 120px;
}

.koleksi-page .skeleton {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 0.5rem;
}

.koleksi-page .skeleton-artist {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 0.75rem;
}

.koleksi-page .skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

/* Responsive - Koleksi */
@media (max-width: 640px) {
    .koleksi-page .section {
        padding: 1.25rem 0.75rem;
    }

    .koleksi-page .section-title {
        font-size: 1rem;
    }

    .koleksi-page .song-card,
    .koleksi-page .song-cover {
        min-width: 130px;
        width: 130px;
        height: 130px;
    }

    .koleksi-page .playlist-card,
    .koleksi-page .playlist-cover {
        min-width: 130px;
        width: 130px;
        height: 130px;
    }

    .koleksi-page .artist-card,
    .koleksi-page .artist-avatar {
        min-width: 110px;
        width: 110px;
        height: 110px;
    }

    .koleksi-page .playlist-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 400px) {

    .koleksi-page .song-card,
    .koleksi-page .song-cover {
        min-width: 120px;
        width: 120px;
        height: 120px;
    }

    .koleksi-page .playlist-card,
    .koleksi-page .playlist-cover {
        min-width: 120px;
        width: 120px;
        height: 120px;
    }

    .koleksi-page .artist-card,
    .koleksi-page .artist-avatar {
        min-width: 100px;
        width: 100px;
        height: 100px;
    }
}

/* ==========================================
PACKAGES PAGE STYLING
========================================== */

.packages-page {
    min-height: 100vh;
    background: #f9fafb;
    padding: 1rem 1rem 100px;
}

/* Active Session Card */
.active-session-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.session-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.session-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.session-icon svg {
    width: 28px;
    height: 28px;
}

.session-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.session-info p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.session-details {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.detail-value {
    font-size: 0.875rem;
    font-weight: 600;
}

.session-progress {
    margin-top: 1rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.progress-bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: white;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Packages Section */
.packages-section {
    margin-bottom: 2rem;
}

.packages-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.packages-section .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.packages-section .section-subtitle {
    font-size: 0.9375rem;
    color: #6b7280;
}

.packages-grid {
    display: grid;
    gap: 1rem;
}

.package-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.package-card.active {
    border-color: #667eea;
    background: linear-gradient(to bottom, #ffffff, #f9fafb);
}

.current-badge {
    position: absolute;
    top: -10px;
    right: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.875rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.package-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.package-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-currency {
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.package-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    font-size: 0.875rem;
    color: #374151;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
}

.feature-item.disabled {
    opacity: 0.4;
}

.package-description {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.btn-package {
    width: 100%;
    padding: 0.875rem;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-select {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-select:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.btn-current {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Scan New Section */
.scan-new-section {
    text-align: center;
    padding: 2rem 1rem;
}

.btn-scan-new {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(102, 126, 234, 0.1);
    border: 2px dashed #667eea;
    border-radius: 1rem;
    color: #667eea;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-scan-new:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #764ba2;
    transform: translateY(-2px);
}

.btn-scan-new svg {
    width: 24px;
    height: 24px;
}

/* Responsive */
@media (min-width: 640px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.empty-state-horizontal {
    width: 100%;
    text-align: center;
    padding: 2rem 1rem;
    color: #9ca3af;
}

.empty-state-horizontal svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    opacity: 0.3;
}

.empty-state-horizontal p {
    font-size: 0.875rem;
    color: #6b7280;
}