/* ========================================
   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(--bg-hover);
    border-bottom: 1px solid var(--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(--text-secondary);
}

.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(--bg-card);
    color: var(--text-secondary);
    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-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);
}

.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;
}

/* ===== 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-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(0, 0, 0, 0.8);
    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 {
    position: relative;
    margin-bottom: var(--s-4);
}

.search-input {
    width: 100%;
    padding: var(--s-5) var(--s-6);
    border: none;
    border-radius: var(--r-lg);
    font-size: var(--text-xl);
    font-family: var(--font);
}

.search-close {
    position: absolute;
    left: var(--s-4);
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-hover);
    border: none;
    cursor: pointer;
}

.search-results {
    background: var(--bg-card);
    border-radius: var(--r-lg);
    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;
}

/* ===== 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: 0;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: var(--s-4);
    transform: translateY(100%);
    transition: transform var(--tr-base);
    z-index: var(--z-fixed);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.player.active {
    transform: translateY(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;
}

.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;
}

.player-artist {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

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

.player-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;
}

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

.player-time {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    min-width: 40px;
}

.player-progress {
    flex: 1;
    height: 6px;
    background: var(--bg-hover);
    border-radius: var(--r-full);
    cursor: pointer;
    position: relative;
}

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

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

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

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

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

.footer p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: color var(--tr-fast);
}

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

.footer-bottom {
    padding-top: var(--s-6);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
}

/* ===== 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: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--primary);
}

.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 {
    padding: var(--s-16) 0;
    overflow: hidden;
}

.hero-section h1 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-section .badge,
.hero-section p {
    max-width: 100%;
    word-wrap: break-word;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    padding: var(--s-6);
    border-radius: var(--r-lg);
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform var(--tr-fast);
}

.stat-card:hover {
    transform: translateY(-4px);
}

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

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    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: var(--s-12) 0; }
    .hero-section h1 { font-size: var(--text-3xl) !important; }
    .hero-section p { font-size: var(--text-base) !important; }
    
    /* 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-content { flex-wrap: wrap; gap: var(--s-3); }
    .player-controls { width: 100%; order: 3; }
    .player-actions { width: 100%; justify-content: center; order: 4; }
    .player-info { order: 2; }
    .player-artwork { width: 50px; height: 50px; order: 1; }
    
    /* 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 {
        width: 150px;
        height: 150px;
    }
    
    .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;
    }
}
