/* ========================================
   COMPONENTS - CLEAN & MINIMAL
   Header, Cards, Player, Footer
   ======================================== */

/* ===== BREADCRUMB ===== */
.nav-breadcrumb {
    margin-bottom: var(--s-6);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-2);
    padding: var(--s-3) var(--s-4);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    list-style: none;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: var(--text-sm);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 var(--s-2);
    color: var(--text-tertiary);
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--tr-fast);
    display: flex;
    align-items: center;
    gap: var(--s-1);
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: var(--fw-semibold);
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--tr-base);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-top {
    background: var(--header-top-bg);
    border-bottom: 1px solid var(--header-top-border);
    padding: var(--s-2) 0;
    font-size: var(--text-sm);
}

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

.header-info {
    display: flex;
    align-items: center;
    gap: var(--s-6);
    color: var(--header-top-text);
}

.header-info-item {
    display: flex;
    align-items: center;
    gap: var(--s-2);
}

.header-social {
    display: flex;
    gap: var(--s-2);
}

.header-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--header-top-chip);
    color: var(--header-top-text);
    transition: all var(--tr-fast);
}

.header-social a:hover {
    background: var(--primary);
    color: white;
}

.header-main {
    padding: 10px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-6);
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    font-size: var(--text-xl);
    font-weight: var(--fw-black);
    color: var(--text-primary);
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: var(--r-md);
    font-size: var(--text-2xl);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: var(--text-lg);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: var(--text-xs);
    color: var(--primary);
    letter-spacing: 1px;
}

/* ===== NAV ===== */
.nav {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    flex: 1;
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    padding: var(--s-3) var(--s-4);
    border-radius: var(--r-md);
    color: var(--text-secondary);
    font-weight: var(--fw-semibold);
    transition: all var(--tr-fast);
    border: unset;
    background: unset;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    background: var(--bg-hover);
    color: var(--primary);
}

/* ===== ACTIONS ===== */
.header-actions {
    display: flex;
    gap: var(--s-2);
    align-items: center;
}

.action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--tr-fast);
}

.action-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ===== MENU MODAL ===== */
.menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--tr-base);
    z-index: var(--z-modal-bg);
    padding: var(--s-4);
}

.menu-modal.active {
    opacity: 1;
    visibility: visible;
}

.menu-content {
    background: var(--bg-card);
    border-radius: var(--r-xl);
    max-width: 900px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform var(--tr-base);
}

.menu-modal.active .menu-content {
    transform: scale(1);
}

/* ===== MEGA MENU DROPDOWN ===== */
.menu-dropdown {
    top: var(--menu-top, 90px);
    left: 0;
    right: 0;
    height: calc(100vh - var(--menu-top, 90px));
    background: transparent;
    align-items: flex-start;
    justify-content: center;
    padding: var(--s-4) var(--s-4);
    pointer-events: none;
}

.menu-dropdown.active {
    pointer-events: auto;
}

.menu-dropdown .menu-content {
    max-width: 1100px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    transition: transform var(--tr-base), opacity var(--tr-base);
}

.menu-dropdown.active .menu-content {
    transform: translateY(0);
    opacity: 1;
}

.menu-dropdown .menu-header {
    background: var(--bg-body);
    position: sticky;
    top: 0;
    z-index: 1;
}

.menu-dropdown .menu-close {
    background: var(--primary-soft);
    color: var(--primary);
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--s-6);
    border-bottom: 1px solid var(--border);
}

.menu-title {
    font-size: var(--text-2xl);
    font-weight: var(--fw-black);
}

.menu-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-hover);
    border: none;
    cursor: pointer;
}

.menu-body {
    padding: var(--s-8);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--s-8);
}

.menu-column h3 {
    margin-bottom: var(--s-4);
    padding-bottom: var(--s-3);
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.menu-list a {
    padding: var(--s-2);
    display: block;
    color: var(--text-secondary);
    transition: color var(--tr-fast);
}

.menu-list a:hover {
    color: var(--primary);
}

.menu-view-more {
    margin-top: var(--s-2);
    padding-top: var(--s-2);
    border-top: 1px solid var(--border);
}

.menu-view-more a {
    color: var(--primary);
    font-weight: var(--fw-semibold);
    display: flex;
    align-items: center;
    gap: var(--s-2);
    font-size: var(--text-sm);
}

.menu-view-more a:hover {
    text-decoration: underline;
}

/* ===== SHARE MODAL ===== */
.share-modal-content {
    position: relative;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.share-modal-content .share-body {
    display: flex;
    flex-direction: column;
    gap: var(--s-5);
}

.share-modal-content .share-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-3);
}

.share-modal-content .share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    padding: var(--s-3) var(--s-4);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    background: var(--bg-hover);
    font-weight: var(--fw-semibold);
    font-family: var(--font);
    cursor: pointer;
    transition: all var(--tr-fast);
}

.share-modal-content .share-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    background: var(--bg-card);
}

.share-modal-content .share-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
}

.share-modal-content .share-btn.share-facebook .share-icon { background: rgba(24, 119, 242, 0.15); color: #1877F2; }
.share-modal-content .share-btn.share-whatsapp .share-icon { background: rgba(37, 211, 102, 0.15); color: #25D366; }
.share-modal-content .share-btn.share-twitter .share-icon { background: rgba(29, 161, 242, 0.15); color: #1DA1F2; }

.share-modal-content .share-link {
    display: flex;
    gap: var(--s-3);
    align-items: center;
}

.share-modal-content .share-input {
    flex: 1;
    padding: var(--s-3) var(--s-4);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--bg-hover);
    font-family: var(--font);
    color: var(--text-primary);
    outline: none;
}

.share-modal-content .share-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.15);
}

.share-modal-content .share-copy {
    white-space: nowrap;
}


.share-copy {
    white-space: nowrap;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85%;
    height: 100vh;
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-modal);
    transition: right var(--tr-slow);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--s-6);
    border-bottom: 1px solid var(--border);
}

.mobile-menu-header .logo-img {
    height: 50px;
}

.mobile-menu-body {
    padding: var(--s-4);
}

.mobile-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.mobile-menu-item a,
.mobile-menu-item button {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-4);
    background: var(--bg-hover);
    border: none;
    border-radius: var(--r-md);
    color: var(--text-primary);
    font-weight: var(--fw-semibold);
    width: 100%;
    cursor: pointer;
    transition: all var(--tr-fast);
}

.mobile-menu-item a:hover,
.mobile-menu-item button:hover {
    background: var(--primary);
    color: white;
}

/* ===== MOBILE DROPDOWN ===== */
.mobile-menu-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    justify-content: space-between;
}

.mobile-dropdown-toggle:hover {
    background: var(--primary) !important;
    color: white !important;
}

.mobile-dropdown-icon {
    transition: transform var(--tr-base);
}

.mobile-dropdown-toggle.active .mobile-dropdown-icon {
    transform: rotate(-180deg);
}

.mobile-submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: var(--s-2);
}

.mobile-submenu.active {
    max-height: 1000px;
}

.mobile-submenu-parent {
    margin-bottom: var(--s-2);
}

.mobile-submenu-parent > a {
    padding: var(--s-3);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    color: var(--text-primary);
    font-weight: var(--fw-semibold);
    display: flex;
    align-items: center;
    gap: var(--s-2);
    font-size: var(--text-sm);
}

.mobile-submenu-parent > a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.mobile-submenu-child {
    list-style: none;
    margin-top: var(--s-2);
    padding-right: var(--s-6);
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
}

.mobile-submenu-child a {
    padding: var(--s-2) var(--s-3);
    background: transparent;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    border-radius: var(--r-sm);
}

.mobile-submenu-child a:hover {
    background: var(--bg-hover);
    color: var(--primary);
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-start;
    padding-top: var(--s-20);
    opacity: 0;
    visibility: hidden;
    transition: all var(--tr-base);
    z-index: var(--z-modal);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    position: relative;
    margin-bottom: var(--s-4);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: var(--s-3) var(--s-4);
    box-shadow: var(--shadow-lg);
}

.search-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.15);
}

.search-icon {
    color: var(--primary);
    font-size: var(--text-lg);
}

.search-input {
    width: 100%;
    padding: var(--s-2) 0;
    border: none;
    border-radius: 0;
    font-size: var(--text-xl);
    font-family: var(--font);
    background: transparent;
    color: var(--text-primary);
    outline: none;
}

.search-input::placeholder {
    color: var(--text-tertiary);
}

.search-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    border: none;
    cursor: pointer;
    transition: transform var(--tr-fast), background var(--tr-fast);
}

.search-close:hover {
    transform: scale(1.05);
    background: var(--gradient-primary);
    color: white;
}

.search-results {
    background: var(--bg-card);
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    max-height: 60vh;
    overflow-y: auto;
    padding: var(--s-4);
    box-shadow: var(--shadow-lg);
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-3);
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: all var(--tr-fast);
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background: var(--bg-hover);
    border-color: var(--primary);
    transform: translateX(-4px);
}

.search-result-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: var(--r-md);
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.search-result-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.search-result-title {
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: var(--s-1);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-subtitle {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Search Result Card */
.search-result-card {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    padding: var(--s-4);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: var(--tr-base);
    text-decoration: none;
}

.search-result-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.search-result-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--r-md);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

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

.search-result-icon i {
    font-size: var(--text-3xl);
    color: var(--primary);
}

.search-result-icon.artist {
    border-radius: 50%;
}

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--s-16) var(--s-8);
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 80px;
    color: var(--text-tertiary);
    margin-bottom: var(--s-4);
    opacity: 0.5;
}

.empty-state p {
    font-size: var(--text-lg);
    margin-bottom: var(--s-2);
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: var(--s-8);
}

.pagination {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--s-3);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: var(--fw-semibold);
    transition: var(--tr-fast);
}

.pagination a:hover {
    background: var(--bg-hover);
    border-color: var(--primary);
}

.pagination .active,
.pagination .current {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ===== MUSIC CARD ===== */
.music-card {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    padding: var(--s-4);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all var(--tr-base);
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
}

.music-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.music-thumb {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--r-md);
    overflow: hidden;
}

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

.music-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--tr-fast);
}

.music-card:hover .music-play-overlay {
    opacity: 1;
}

.play-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform var(--tr-fast);
}

.play-btn:hover {
    transform: scale(1.1);
}

.music-code {
    position: absolute;
    top: var(--s-2);
    right: var(--s-2);
    padding: var(--s-1) var(--s-2);
    background: var(--primary);
    color: white;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    border-radius: var(--r-sm);
    z-index: 2;
    display: none; /* Hidden in desktop, shown in mobile */
}

.whatsapp-badge {
    position: absolute;
    top: var(--s-2);
    left: var(--s-2);
    width: 32px;
    height: 32px;
    display: none; /* Hidden in desktop, shown in mobile */
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    border-radius: 50%;
    font-size: var(--text-base);
    z-index: 2;
    transition: all var(--tr-fast);
}

.whatsapp-badge:hover {
    transform: scale(1.1);
    background: #128C7E;
}

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

.music-title {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    margin-bottom: var(--s-1);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-artist {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--s-2);
}

.music-meta {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--s-2);
}

.music-code-text {
    display: inline-flex;
    align-items: center;
    padding: var(--s-1) var(--s-2);
    background: var(--primary);
    color: white;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    border-radius: var(--r-sm);
}

.music-artist-inline {
    display: flex;
    align-items: center;
    gap: var(--s-1);
    color: var(--text-secondary);
}

.music-downloads {
    display: flex;
    align-items: center;
    gap: var(--s-1);
    color: var(--text-tertiary);
    font-size: var(--text-sm);
}

.music-downloads-inline {
    display: none; /* Hidden in desktop */
    align-items: center;
    gap: var(--s-1);
    color: var(--text-tertiary);
    font-size: var(--text-sm);
}

.music-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    padding: var(--s-2) var(--s-3);
    background: #25D366;
    color: white;
    border-radius: var(--r-md);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    transition: all var(--tr-fast);
    text-decoration: none;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn i {
    font-size: var(--text-base);
}

.icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-hover);
    color: var(--text-secondary);
    border: none;
    cursor: pointer;
    transition: all var(--tr-fast);
}

.icon-btn:hover {
    background: var(--primary);
    color: white;
}

.player .icon-btn {
    background: rgba(102, 126, 234, 0.22);
    color: #E6ECFF;
    border: 1px solid rgba(102, 126, 234, 0.28);
}

.player .icon-btn:hover {
    background: rgba(102, 126, 234, 0.38);
    color: white;
}

/* ===== VIDEO CARD ===== */
.video-card {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--tr-base);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.video-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: var(--text-2xl);
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--s-4);
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.video-title {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    margin-bottom: var(--s-2);
}

/* ===== PLAYER ===== */
.player {
    position: fixed;
    bottom: 15px;
    left: 50%;
    width: min(1100px, calc(100% - var(--s-8)));
    background: #1b0037bd;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-xl);
    padding: var(--s-4);
    transform: translate(-50%, 120%);
    transition: transform var(--tr-base), box-shadow var(--tr-base);
    z-index: var(--z-fixed);
    box-shadow: 0 20px 45px rgba(7, 16, 35, 0.45);
    color: #F5F7FF;
    backdrop-filter: blur(10px);
}

.player.active {
    transform: translate(-50%, 0);
}

.player-content {
    display: flex;
    align-items: center;
    gap: var(--s-4);
}

.player-artwork {
    width: 60px;
    height: 60px;
    border-radius: var(--r-md);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

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

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

.player-title {
    font-weight: var(--fw-bold);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #F8FAFF;
}

.player-title-sep,
.player-title-category {
    display: none;
}

.player-artist {
    font-size: var(--text-sm);
    color: rgba(225, 230, 255, 0.72);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    flex: 1;
}

.player-btn {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(118, 75, 162, 0.78);
    color: white;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform var(--tr-fast), box-shadow var(--tr-fast);
}

.player-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    background: rgba(118, 75, 162, 0.95);
}

.player-progress-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--s-3);
    direction: ltr;
}

.player-time {
    font-size: var(--text-sm);
    color: rgba(225, 230, 255, 0.6);
    min-width: 40px;
}

.player-progress {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--r-full);
    cursor: pointer;
    position: relative;
    overflow: visible;
}

.player-progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--r-full);
    width: 0;
    position: relative;
}

.player-progress-fill::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid rgba(10, 20, 45, 0.9);
    transform: translateY(-50%);
}

.player-actions {
    display: flex;
    gap: var(--s-2);
    align-items: center;
}

@keyframes player-marquee {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    margin-top: var(--s-20);
    padding: var(--s-16) 0 0;
    margin-bottom: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: var(--s-8);
    margin-bottom: var(--s-8);
}

.footer h3 {
    margin-bottom: var(--s-4);
    color: white;
}

.footer p {
    color: var(--footer-text);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.footer-links a {
    color: var(--footer-text);
    transition: color var(--tr-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--s-2);
}

.footer-contact i {
    color: white;
    opacity: 0.9;
}

.footer-social {
    display: flex;
    gap: var(--s-3);
    margin-top: var(--s-4);
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--tr-fast);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
}

.footer-bottom {
    background: var(--footer-bottom-bg);
    padding: var(--s-5) 0 calc(20px + var(--s-2));
    border-top: 1px solid var(--footer-border);
    text-align: center;
    color: var(--footer-muted);
}

/* ===== FLOAT BUTTONS ===== */
.whatsapp-float,
.scroll-top {
    position: fixed;
    bottom: var(--s-6);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: var(--text-2xl);
    color: white;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: all var(--tr-base);
    z-index: var(--z-fixed);
}

.whatsapp-float {
    left: var(--s-6);
    background: #25D366;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.scroll-top {
    right: var(--s-6);
    background: var(--primary);
    opacity: 0;
    visibility: hidden;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
}

/* ===== FILE PAGE ===== */
.file-player-card {
    background: var(--bg-card);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: var(--s-8);
}

.file-thumb-container {
    position: relative;
    padding-top: 56.25%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    overflow: hidden;
}

.file-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-code-badge {
    position: absolute;
    top: var(--s-4);
    right: var(--s-4);
    background: var(--primary);
    color: white;
    padding: var(--s-2) var(--s-4);
    border-radius: var(--r-md);
    font-weight: var(--fw-bold);
    font-size: var(--text-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.file-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.file-play-btn {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary);
    border: 5px solid white;
    color: white;
    font-size: var(--text-4xl);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--tr-base);
    box-shadow: var(--shadow-xl);
}

.file-play-btn:hover {
    transform: scale(1.1);
    background: var(--accent);
}

.file-info-container {
    padding: var(--s-8);
}

.file-title {
    font-size: var(--text-3xl);
    font-weight: var(--fw-black);
    color: var(--text-primary);
    margin-bottom: var(--s-4);
}

.file-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-5);
    margin-bottom: var(--s-6);
    padding-bottom: var(--s-4);
    border-bottom: 2px solid var(--border);
}

.file-meta-item {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    color: var(--text-secondary);
}

.file-meta-item i {
    color: var(--primary);
    font-size: var(--text-lg);
}

.file-meta-item strong {
    color: var(--text-primary);
}

.file-meta-link {
    color: var(--primary);
    text-decoration: none;
    transition: var(--tr-fast);
}

.file-meta-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.file-actions {
    display: flex;
    gap: var(--s-3);
    flex-wrap: wrap;
}

.file-actions .btn {
    flex: 1;
    min-width: 150px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* Share Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal-container {
    background: var(--bg-card);
    border-radius: var(--r-xl);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn var(--tr-base);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--s-5);
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--s-2);
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-hover);
    border: none;
    font-size: var(--text-2xl);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--tr-fast);
}

.modal-close:hover {
    background: var(--danger);
    color: white;
}

.modal-body {
    padding: var(--s-6);
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-3);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    padding: var(--s-4);
    border-radius: var(--r-lg);
    border: 2px solid var(--border);
    background: var(--bg-body);
    color: var(--text-primary);
    font-weight: var(--fw-semibold);
    cursor: pointer;
    transition: var(--tr-fast);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.share-btn.facebook {
    border-color: #1877f2;
    color: #1877f2;
}

.share-btn.facebook:hover {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    border-color: #1da1f2;
    color: #1da1f2;
}

.share-btn.twitter:hover {
    background: #1da1f2;
    color: white;
}

.share-btn.whatsapp {
    border-color: #25d366;
    color: #25d366;
}

.share-btn.whatsapp:hover {
    background: #25d366;
    color: white;
}

.share-btn.copy {
    border-color: var(--primary);
    color: var(--primary);
}

.share-btn.copy:hover {
    background: var(--primary);
    color: white;
}

/* ===== CATEGORY PAGE ===== */
.category-header-section {
    margin-bottom: var(--s-8);
}

.category-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    background-size: cover;
    background-position: center;
    border-radius: var(--r-xl);
    padding: var(--s-8);
    color: white;
}

.category-title {
    font-size: var(--text-4xl);
    font-weight: var(--fw-black);
    margin-bottom: var(--s-3);
    display: flex;
    align-items: center;
    gap: var(--s-3);
    color: white !important;
}

.category-title i {
    color: white !important;
}

.category-description {
    font-size: var(--text-lg);
    opacity: 0.95;
    margin-bottom: var(--s-4);
    line-height: 1.6;
}

.category-stats {
    display: flex;
    gap: var(--s-5);
    flex-wrap: wrap;
    font-size: var(--text-base);
}

.category-stats span {
    display: flex;
    align-items: center;
    gap: var(--s-2);
}

.category-header-img {
    width: 150px;
    height: 150px;
    border-radius: var(--r-lg);
    object-fit: cover;
    box-shadow: var(--shadow-xl);
    border: 4px solid white;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--s-4);
}

.subcat-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: var(--tr-base);
    text-decoration: none;
}

.subcat-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.subcat-thumb {
    position: relative;
    padding-top: 100%;
    background: var(--bg-secondary);
    overflow: hidden;
}

.subcat-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subcat-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-4xl);
    font-weight: var(--fw-black);
    color: var(--primary);
    background: linear-gradient(135deg, var(--bg-body), var(--bg-secondary));
}

.subcat-info {
    padding: var(--s-4);
    text-align: center;
}

.subcat-name {
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--s-2);
}

.subcat-count {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-1);
}

/* ===== ALPHABET FILTER ===== */
.alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    margin-bottom: var(--s-6);
    padding: var(--s-4);
    background: var(--bg-card);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
}

.alphabet-filter a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--s-3);
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: var(--fw-semibold);
    transition: var(--tr-fast);
}

.alphabet-filter a:hover {
    background: var(--bg-hover);
    border-color: var(--primary);
}

.alphabet-filter a.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ===== ARTISTS GRID ===== */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--s-4);
}

.artist-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s-5);
    transition: var(--tr-base);
    text-decoration: none;
}

.artist-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.artist-card-thumb {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--s-3);
    border: 3px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

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

.artist-card-info {
    text-align: center;
    width: 100%;
}

.artist-card-name {
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin: 0;
}

/* ===== ARTIST PAGE ===== */
.artist-header-section {
    margin-bottom: var(--s-8);
}

.artist-header {
    background: var(--bg-card);
    border-radius: var(--r-xl);
    padding: var(--s-8);
    box-shadow: var(--shadow-md);
}

.artist-avatar {
    width: 140px;
    height: 140px;
    object-fit: cover;
    box-shadow: var(--shadow-xl);
}

.artist-name {
    font-size: var(--text-4xl);
    font-weight: var(--fw-black);
    color: var(--text-primary);
    margin-bottom: var(--s-3);
    display: flex;
    align-items: center;
    gap: var(--s-3);
}

.artist-bio {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--s-4);
    line-height: 1.6;
}

.artist-stats {
    display: flex;
    gap: var(--s-5);
    flex-wrap: wrap;
    font-size: var(--text-base);
    color: var(--text-secondary);
}

.artist-stats span {
    display: flex;
    align-items: center;
    gap: var(--s-2);
}

/* ===== ERROR PAGE ===== */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--s-8);
}

.error-content {
    text-align: center;
    max-width: 600px;
}

.error-icon {
    font-size: 120px;
    color: var(--primary);
    margin-bottom: var(--s-4);
    opacity: 0.8;
}

.error-title {
    font-size: 120px;
    font-weight: var(--fw-black);
    color: var(--text-primary);
    margin-bottom: var(--s-2);
    line-height: 1;
}

.error-subtitle {
    font-size: var(--text-3xl);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--s-3);
}

.error-message {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--s-6);
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: var(--s-3);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    padding: var(--s-16) 0;
    background: var(--hero-bg);
    overflow: hidden;
    margin-bottom: var(--s-12);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(480px 240px at 85% 20%, rgba(102, 126, 234, 0.18), transparent 65%),
        radial-gradient(420px 260px at 10% 80%, rgba(118, 75, 162, 0.16), transparent 70%);
    pointer-events: none;
}

.hero-section .container { position: relative; z-index: 1; }
.hero-section h1 { word-wrap: break-word; overflow-wrap: break-word; }
.hero-section .badge, .hero-section p { max-width: 100%; word-wrap: break-word; }

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
}

.hero-badge {
    background: var(--hero-badge-bg);
    color: var(--hero-badge-text);
    width: fit-content;
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: var(--fw-black);
    color: var(--hero-text);
    margin-bottom: var(--s-3);
}

.hero-description {
    font-size: var(--text-xl);
    color: var(--hero-muted);
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    gap: var(--s-4);
    flex-wrap: wrap;
}

.hero-media {
    display: flex;
    flex-direction: column;
    gap: var(--s-6);
}

.hero-slider {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--hero-card-border);
    box-shadow: var(--shadow-lg);
}

.hero-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.22), transparent 55%);
    pointer-events: none;
}

.hero-slides {
    position: relative;
    aspect-ratio: 16 / 10;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 600ms ease, transform 800ms ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

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

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: #1F2937;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--tr-fast), background var(--tr-fast), box-shadow var(--tr-fast);
}

.hero-slider-btn:hover {
    transform: translateY(-50%) scale(1.05);
    background: white;
    box-shadow: var(--shadow-sm);
}

.hero-slider-btn.prev { right: var(--s-4); }
.hero-slider-btn.next { left: var(--s-4); }

.hero-slider-dots {
    position: absolute;
    bottom: var(--s-4);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--s-2);
    background: rgba(0, 0, 0, 0.25);
    padding: 6px 10px;
    border-radius: var(--r-full);
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all var(--tr-fast);
}

.hero-dot.is-active {
    width: 18px;
    border-radius: var(--r-full);
    background: white;
}

.hero-slider.is-single .hero-slider-btn,
.hero-slider.is-single .hero-slider-dots {
    display: none;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
    margin-top: var(--s-2);
}

.stat-card {
    position: relative;
    background: var(--hero-card-bg);
    border: 1px solid var(--hero-card-border);
    padding: var(--s-6);
    border-radius: var(--r-lg);
    text-align: center;
    transition: transform var(--tr-fast), box-shadow var(--tr-fast), border-color var(--tr-fast);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}

.stat-number {
    font-size: var(--text-4xl);
    font-weight: var(--fw-black);
    margin-bottom: var(--s-2);
    color: var(--hero-text);
}

.stat-label {
    color: var(--hero-muted);
    font-size: var(--text-base);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .nav { display: none !important; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-info-item:not(:first-child) { display: none; }
    .hero-section { padding: 20px 0; }
    .hero-title { font-size: var(--text-3xl) !important; }
    .hero-description { font-size: var(--text-base) !important; }
    .hero-slider-btn { width: 36px; height: 36px; }
    .hero-slider-dots { bottom: var(--s-3); }
    .hero-section .row.align-items-center {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: var(--s-6);
    }
    .hero-media { width: 100%; }
    .hero-slider {
        width: 100vw;
        margin-inline: calc(50% - 50vw);
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .hero-slider::after { border-radius: 0; }
    .hero-slides { aspect-ratio: 16 / 9; }
    
    /* Stats Grid Slider */
    .stats-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: var(--s-3);
        padding: var(--s-4) 0;
        margin-top: var(--s-6);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .stats-grid::-webkit-scrollbar {
        display: none;
    }
    
    .stat-card {
        flex: 0 0 70%;
        scroll-snap-align: center;
        padding: var(--s-5);
    }
    
    .stat-number {
        font-size: var(--text-3xl);
    }
    
    .stat-label {
        font-size: var(--text-sm);
    }
    
    /* Music Card Mobile */
    .music-card { 
        flex-direction: column; 
        text-align: center; 
        cursor: pointer; 
        padding: var(--s-3);
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .music-thumb { 
        width: 100%; 
        height: auto;
        aspect-ratio: 1 / 1;
        max-height: 250px;
        border-radius: var(--r-lg);
    }
    
    /* Show badges in mobile */
    .music-code {
        display: block;
        padding: var(--s-2) var(--s-3);
        font-size: var(--text-sm);
        top: var(--s-3);
        right: var(--s-3);
    }
    
    .whatsapp-badge {
        display: flex;
        opacity: 1;
        width: 36px;
        height: 36px;
        font-size: var(--text-lg);
        top: var(--s-3);
        left: var(--s-3);
    }
    
    .music-play-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.3);
    }
    
    .play-btn {
        width: 50px;
        height: 50px;
        font-size: var(--text-lg);
    }
    
    .music-info { 
        width: 100%;
        padding: var(--s-3) 0;
        text-align: center;
    }
    
    .music-title {
        font-size: var(--text-base);
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.4;
        margin-bottom: var(--s-2);
    }
    
    .music-artist {
        font-size: var(--text-sm);
        margin-bottom: var(--s-3);
    }
    
    /* Desktop code - hide in mobile */
    .music-code-text {
        display: none;
    }
    
    .music-meta {
        justify-content: center;
        font-size: var(--text-sm);
        gap: var(--s-4);
        flex-wrap: wrap;
        margin-bottom: var(--s-3);
    }
    
    .music-artist-inline,
    .music-downloads {
        font-size: var(--text-sm);
    }
    
    /* Show downloads inline in mobile */
    .music-downloads-inline {
        display: flex;
        font-size: var(--text-sm);
    }
    
    /* Hide desktop whatsapp button in mobile */
    .music-actions {
        display: none;
    }
    
    /* Player Mobile */
    .player {
        left: 0;
        bottom: 0;
        width: 100%;
        border-radius: 0;
        transform: translateY(100%);
        box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.18);
        padding-bottom: calc(var(--s-4) + env(safe-area-inset-bottom));
    }

    .player::before {
        border-radius: 0;
    }
    
    .player.active {
        transform: translateY(0);
    }

    .player-content {
        flex-direction: column;
        align-items: stretch;
        gap: var(--s-3);
    }

    .player-artwork { display: none; }

    .player-info {
        order: 1;
        text-align: center;
        overflow: hidden;
        padding-inline: 40px;
        margin-left: 24px;
    }

    .player-title {
        display: inline-block;
        white-space: nowrap;
        animation: player-marquee 12s linear infinite;
        will-change: transform;
    }

    .player-title-sep,
    .player-title-category {
        display: inline;
    }

    .player-artist { display: none; }

    .player-actions {
        width: 100%;
        justify-content: center;
        order: 3;
        gap: var(--s-4);
        flex-wrap: wrap;
        position: relative;
    }

    .player-controls {
        width: 100%;
        order: 2;
    }

    .player-progress-wrapper {
        width: 100%;
    }

    .player #player-close-btn {
        position: fixed;
        top: var(--s-3);
        left: var(--s-3);
        right: auto;
        z-index: 2;
    }

    .player #player-volume-btn {
        display: inline-flex !important;
        order: 1;
    }

    .player #player-play-btn { order: 2; }
    .player #player-share-btn { order: 3; }

    .share-modal-content .share-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .share-modal-content .share-link {
        flex-direction: column;
        align-items: stretch;
    }

    
    /* Video Cards Mobile */
    .video-card {
        width: 100%;
        max-width: 100%;
    }
    
    /* File Page Mobile */
    .file-code-badge {
        font-size: var(--text-base);
        padding: var(--s-2) var(--s-3);
    }
    
    .file-play-btn {
        width: 70px;
        height: 70px;
        font-size: var(--text-2xl);
    }
    
    .file-info-container {
        padding: var(--s-5);
    }
    
    .file-title {
        font-size: var(--text-2xl);
    }
    
    .file-meta-grid {
        gap: var(--s-3);
    }
    
    .file-actions {
        flex-direction: column;
    }
    
    .file-actions .btn {
        width: 100%;
    }
    
    .share-buttons {
        grid-template-columns: 1fr;
    }
    
    /* Category Page Mobile */
    .category-header {
        padding: var(--s-5);
    }
    
    .category-title {
        font-size: var(--text-2xl);
    }
    
    .category-description {
        font-size: var(--text-base);
    }
    
    .subcategories-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: var(--s-3);
    }
    
    /* Alphabet Filter Mobile */
    .alphabet-filter {
        padding: var(--s-3);
        gap: var(--s-1);
        justify-content: center;
    }
    
    .alphabet-filter a {
        min-width: 35px;
        height: 35px;
        padding: 0 var(--s-2);
        font-size: var(--text-sm);
    }
    
    /* Artists Grid Mobile */
    .artists-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: var(--s-3);
    }
    
    .artist-card {
        padding: var(--s-4);
    }
    
    .artist-card-thumb {
        width: 100px;
        height: 100px;
    }
    
    .artist-card-name {
        font-size: var(--text-sm);
    }
    
    /* Artist Page Mobile */
    .artist-header {
        padding: var(--s-5);
    }
    
    .artist-avatar {
        display: none;
    }
    
    .artist-name {
        font-size: var(--text-2xl);
        flex-direction: column;
        text-align: center;
    }
    
    .artist-bio {
        font-size: var(--text-base);
        text-align: center;
    }
    
    .artist-stats {
        justify-content: center;
    }
    
    /* Breadcrumb Mobile */
    .breadcrumb {
        padding: var(--s-2) var(--s-3);
        font-size: var(--text-xs);
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 var(--s-1);
    }
    
    /* Pagination Mobile */
    .pagination a,
    .pagination span {
        min-width: 36px;
        height: 36px;
        padding: 0 var(--s-2);
        font-size: var(--text-sm);
    }
    
    /* Error Page Mobile */
    .error-title {
        font-size: 80px;
    }
    
    .error-subtitle {
        font-size: var(--text-2xl);
    }
    
    .error-actions {
        flex-direction: column;
    }
    
    .error-actions .btn {
        width: 100%;
    }
    
    /* Other Mobile */
    .footer-grid { grid-template-columns: 1fr; }
    .whatsapp-float, .scroll-top { width: 48px; height: 48px; bottom: var(--s-4); }
    .whatsapp-float { left: var(--s-4); }
    .scroll-top { right: var(--s-4); }
    .row { margin: 0 !important; }
    .row > [class*="col-"] { padding: 0 var(--s-3); }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .music-card {
        padding: var(--s-2);
    }
    
    .music-thumb {
        max-height: 180px;
    }
    
    .music-title {
        font-size: var(--text-sm);
    }
    
    .music-artist,
    .music-meta {
        font-size: var(--text-xs);
    }
    
    .music-artist-inline,
    .music-downloads,
    .music-downloads-inline {
        font-size: var(--text-xs);
    }
    
    .play-btn {
        width: 42px;
        height: 42px;
    }
    
    .music-code {
        padding: var(--s-1) var(--s-2);
        font-size: var(--text-xs);
    }
    
    .whatsapp-badge {
        width: 32px;
        height: 32px;
        font-size: var(--text-base);
    }
    
    .stat-card {
        flex: 0 0 75%;
        padding: var(--s-4);
    }
    
    .stat-number {
        font-size: var(--text-2xl);
    }
}

/* ==================== PAGINATION ==================== */
.pagination-wrapper {
    margin-top: var(--s-8);
    padding: var(--s-6) 0;
}

.custom-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.custom-pagination .page-item {
    display: flex;
}

.custom-pagination .page-link {
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--s-3);
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: var(--r-md);
    color: var(--text-primary);
    font-weight: var(--fw-semibold);
    font-size: var(--text-base);
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.custom-pagination .page-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
    z-index: 0;
}

.custom-pagination .page-link > * {
    position: relative;
    z-index: 1;
}

.custom-pagination .page-link:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.custom-pagination .page-link:hover::before {
    opacity: 0.1;
}

.custom-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    font-weight: var(--fw-bold);
}

.custom-pagination .page-item.active .page-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.custom-pagination .page-link.prev-next {
    gap: var(--s-2);
    padding: 0 var(--s-4);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 133, 82, 0.1));
    border-color: rgba(255, 107, 53, 0.3);
}

.custom-pagination .page-link.prev-next:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: var(--primary);
}

.custom-pagination .page-link.prev-next span {
    font-weight: var(--fw-semibold);
}

.custom-pagination .page-link.dots {
    background: transparent;
    border: none;
    cursor: default;
    color: var(--text-tertiary);
    font-weight: var(--fw-bold);
}

.custom-pagination .page-link.dots:hover {
    transform: none;
    box-shadow: none;
}

.custom-pagination .page-item.disabled .page-link {
    pointer-events: none;
}

/* Responsive Pagination */
@media (max-width: 576px) {
    .custom-pagination {
        gap: var(--s-1);
    }
    
    .custom-pagination .page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 var(--s-2);
        font-size: var(--text-sm);
    }
    
    .custom-pagination .page-link.prev-next {
        padding: 0 var(--s-3);
    }
    
    .custom-pagination .page-link.prev-next span {
        display: none;
    }
    
    .custom-pagination .page-link.prev-next i {
        margin: 0;
    }
}
