/* ===================================
   TOPMISIK - Global Styles
   =================================== */

.logo-group {
    animation: logoFade 60s infinite;
}

@keyframes logoFade {
    0%,
    93% {
        opacity: 1;
    }
    95%,
    97% {
        opacity: 0;
    }
    98%,
    100% {
        opacity: 1;
    }
}

:root {
    --bg-deep: #080b10;
    --bg-card: #0f1420;
    --bg-sidebar: #0b0e18;
    --bg-player: #0d1119;
    --accent: #f97316;
    --accent-glow: #fb923c;
    --accent-soft: rgba(249, 115, 22, 0.18);
    --accent-line: rgba(251, 146, 60, 0.35);
    --gold: #f59e0b;
    --text-main: #e8eaf0;
    --text-muted: #6b7590;
    --text-sub: #9ba3bf;
    --border: rgba(255, 255, 255, 0.06);
    --radius: 14px;
    --sidebar-w: 240px;
    --player-h: 82px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html,
body {
    height: 100%;
    background: var(--bg-deep);
    color: var(--text-main);
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    overflow: hidden;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

h1 {
    font-size: 2rem;
    font-weight: 800;
}
h2 {
    font-size: 1.5rem;
    font-weight: 700;
}
h3 {
    font-size: 1.25rem;
    font-weight: 600;
}
h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.section-title {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.card-title-text,
.track-name,
.player-track-name {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

.logo-text {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
}

.btn-hero,
.btn-upload,
.btn-save {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--accent-line);
    border-radius: 4px;
}

/* Layout */
.app-shell {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    grid-template-rows: 1fr var(--player-h);
    height: 100vh;
}

.main-content {
    overflow-y: auto;
    background: var(--bg-deep);
}
.page-body {
    padding: 0 32px 32px;
}

/* Sidebar */
.sidebar {
    grid-row: 1 / 3;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    overflow-y: auto;
    position: relative;
    z-index: 10;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px 28px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
    text-decoration: none;
    position: relative;
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1;
}
.logo-text span {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Page Loader */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}
.loader-icon {
    width: 60px;
    height: 60px;
    position: relative;
    margin-bottom: 20px;
}
.loader-icon svg {
    width: 100%;
    height: 100%;
}
.loader-bar {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}
.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-glow));
    animation: loaderSlide 1s ease-in-out infinite;
}
@keyframes loaderSlide {
    0% { left: -100%; }
    100% { left: 100%; }
}
.loader-text {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-main);
    margin-top: 16px;
}
.loader-text span {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0 22px 10px;
    margin-top: 16px;
    font-family: "Inter", sans-serif;
}

.nav-link-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 22px;
    color: var(--text-sub);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.nav-link-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-link-item:hover,
.nav-link-item.active {
    color: var(--text-main);
    background: var(--accent-soft);
}

.nav-link-item.active {
    color: var(--accent-glow);
}

.nav-link-item.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: var(--accent-glow);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 10px var(--accent-glow);
}

.sidebar-playlists {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.playlist-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    cursor: pointer;
    transition: var(--transition);
}
.playlist-mini:hover {
    background: var(--accent-soft);
}

.playlist-mini-cover {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--accent-glow);
}

.playlist-mini-name {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.playlist-mini-count {
    font-size: 11px;
    color: var(--text-muted);
}

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: linear-gradient(to bottom, var(--bg-deep) 80%, transparent);
    gap: 16px;
}

.search-wrap {
    position: relative;
    flex: 1;
    max-width: 380px;
}
.search-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 15px;
    pointer-events: none;
}

.search-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 10px 18px 10px 40px;
    color: var(--text-main);
    font-family: "DM Sans", sans-serif;
    font-size: 13.5px;
    outline: none;
    transition: var(--transition);
}
.search-input::placeholder {
    color: var(--text-muted);
}
.search-input:focus {
    border-color: var(--accent-line);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-sub);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
    text-decoration: none;
}
.btn-icon:hover {
    border-color: var(--accent-line);
    color: var(--accent-glow);
    box-shadow: 0 0 12px var(--accent-soft);
}

.btn-upload {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    border: none;
    border-radius: 50px;
    color: #fff;
    font-family: "Syne", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
.btn-upload:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(124, 58, 237, 0.55);
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

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

.btn-login {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
}
.btn-login:hover {
    border-color: var(--accent-line);
    color: var(--accent-glow);
}
.btn-login i {
    font-size: 16px;
}

.btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}
.btn-logout:hover {
    border-color: #ef4444;
    color: #ef4444;
}
.btn-account {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--accent);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-account:hover {
    background: var(--accent-glow);
}
.btn-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.2s;
}
.btn-admin:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.user-name {
    font-size: 14px;
    color: var(--text-main);
    font-weight: 500;
}

.topbar-logo {
    display: block;
    flex-shrink: 0;
}

.topbar-logo img {
    height: auto;
    width: 150px;
    max-width: none;
}

.desktop-only {
    display: flex;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: flex;
    }
    .btn-login.mobile-only {
        padding: 8px 16px;
        width: auto;
    }
    .topbar {
        justify-content: space-between;
    }
    .topbar-logo {
        display: block;
    }
    .topbar-logo img {
        width: 80px;
    }
}

.desktop-only {
    display: flex;
}
.mobile-only {
    display: none;
}
.btn-search-mobile {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: flex;
    }
    .btn-login.mobile-only {
        padding: 8px 16px;
        width: auto;
    }
    .btn-search-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        color: var(--text-main);
        text-decoration: none;
        border-radius: 8px;
    }
    .btn-search-mobile:hover {
        background: var(--bg-card);
    }
    .btn-search-mobile i {
        font-size: 20px;
    }
    .topbar {
        justify-content: space-between;
    }
    .topbar-logo {
        display: block;
    }
}

/* Modal */
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-main);
}
.modal-header {
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
}
.modal-title {
    font-family: "Syne", sans-serif;
    font-weight: 700;
}
.btn-close-modal {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-close-modal:hover {
    color: var(--text-main);
}

.upload-zone {
    border: 2px dashed var(--accent-line);
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    background: var(--accent-soft);
    cursor: pointer;
    transition: var(--transition);
}
.upload-zone:hover {
    background: rgba(124, 58, 237, 0.22);
    border-color: var(--accent-glow);
}
.upload-zone i {
    font-size: 40px;
    color: var(--accent-glow);
    margin-bottom: 10px;
    display: block;
}
.upload-zone p {
    color: var(--text-sub);
    font-size: 13px;
    margin: 0;
}
.upload-zone strong {
    color: var(--accent-glow);
}

.form-label-custom {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-sub);
    margin-bottom: 6px;
    display: block;
}
.input-custom {
    width: 100%;
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--text-main);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    outline: none;
    transition: var(--transition);
}
.input-custom::placeholder {
    color: var(--text-muted);
}
.input-custom:focus {
    border-color: var(--accent-line);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.btn-save {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
    margin-top: 4px;
}
.btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(124, 58, 237, 0.55);
}

/* Player extras */
.player-track-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.player-thumb {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), #1e1b4b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(124, 58, 237, 0.4);
}
.player-track-name {
    font-family: "Syne", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.player-track-artist {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 2px;
}
.player-heart {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}
.player-heart:hover {
    color: #f43f5e;
}

.player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.player-btns {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ctrl-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ctrl-btn:hover {
    color: var(--text-main);
    background: var(--border);
}
.ctrl-btn.play-pause {
    width: 44px;
    height: 44px;
    background: #fff;
    color: var(--bg-deep);
    font-size: 17px;
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.15);
}
.ctrl-btn.play-pause:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.25);
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 340px;
}
.progress-time {
    font-size: 11px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.progress-bar-track {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}
.progress-bar-fill {
    height: 100%;
    width: 38%;
    background: linear-gradient(90deg, var(--accent), var(--accent-glow));
    border-radius: 3px;
    position: relative;
}

.player-volume {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.vol-icon {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}
.vol-icon:hover {
    color: var(--text-main);
}
.vol-bar {
    width: 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
}
.vol-fill {
    height: 100%;
    width: 70%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
}

/* Cover gradients */
.grad-1 {
    background: linear-gradient(135deg, #1e1b4b, #4c1d95);
}
.grad-2 {
    background: linear-gradient(135deg, #1c1917, #78350f);
}
.grad-3 {
    background: linear-gradient(135deg, #0c4a6e, #0e7490);
}
.grad-4 {
    background: linear-gradient(135deg, #4a044e, #86198f);
}
.grad-5 {
    background: linear-gradient(135deg, #052e16, #166534);
}
.grad-6 {
    background: linear-gradient(135deg, #450a0a, #991b1b);
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.section-title {
    font-family: "Syne", sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
}
.section-link {
    font-size: 12.5px;
    color: var(--accent-glow);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.8;
    transition: var(--transition);
}
.section-link:hover {
    opacity: 1;
}

/* Genre Pills */
.genre-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.genre-pill {
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-sub);
    font-size: 12.5px;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}
.genre-pill:hover,
.genre-pill.active {
    background: var(--accent-soft);
    border-color: var(--accent-line);
    color: var(--accent-glow);
}

/* Music Cards */
.cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

.music-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    display: block;
    text-decoration: none;
}
.music-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-line);
    box-shadow:
        0 12px 36px rgba(0, 0, 0, 0.5),
        0 0 0 1px var(--accent-line);
}
.music-card:hover .card-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.music-card .card-title-text,
.music-card .card-artist {
    color: #fff;
}

.cover-placeholder {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    position: relative;
    overflow: hidden;
}

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

.cover-placeholder .cover-img[src*="favicon"] {
    width: 60%;
    height: 60%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.cover-emoji {
    font-size: 48px;
    z-index: 1;
}

.card-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 18px;
    opacity: 0;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.card-body-inner {
    padding: 12px 14px 14px;
}
.card-title-text {
    font-family: "Syne", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}
.card-artist {
    font-size: 11.5px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}
.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-downloads {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-muted);
}
.card-downloads i {
    color: var(--accent-glow);
    font-size: 12px;
}
.card-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 50px;
    background: var(--accent-soft);
    color: var(--accent-glow);
    font-weight: 600;
}

/* Track List */
.track-list {
    margin-bottom: 36px;
}
.track-item {
    display: grid;
    grid-template-columns: 32px 46px 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}
.track-item:hover {
    background: var(--bg-card);
}
.track-item.playing {
    background: var(--accent-soft);
}

.track-num {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    font-weight: 500;
}
.track-item.playing .track-num {
    color: var(--accent-glow);
}

.track-thumb {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    position: relative;
}
.track-thumb img[src*="favicon"] {
    width: 70%;
    height: 70%;
    object-fit: contain;
}
.track-info {
    min-width: 0;
}
.track-name {
    font-family: "Syne", sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.track-item.playing .track-name {
    color: var(--accent-glow);
}
.track-artist {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}
.track-duration {
    font-size: 12px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.track-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: var(--transition);
}
.track-item:hover .track-actions {
    opacity: 1;
}

.track-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
}
.track-btn:hover {
    background: var(--accent-soft);
    border-color: var(--accent-line);
    color: var(--accent-glow);
}
.track-btn.dl:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
}

/* Now Playing Animation */
.now-playing-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 16px;
}
.now-playing-bars span {
    width: 3px;
    border-radius: 2px;
    background: var(--accent-glow);
    animation: npbar 0.9s ease-in-out infinite alternate;
}
.now-playing-bars span:nth-child(1) {
    height: 30%;
    animation-delay: 0s;
}
.now-playing-bars span:nth-child(2) {
    height: 80%;
    animation-delay: 0.2s;
}
.now-playing-bars span:nth-child(3) {
    height: 50%;
    animation-delay: 0.4s;
}
.now-playing-bars span:nth-child(4) {
    height: 100%;
    animation-delay: 0.1s;
}
@keyframes npbar {
    from {
        transform: scaleY(0.3);
    }
    to {
        transform: scaleY(1);
    }
}

/* Hero Banner */
.hero-banner {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    margin-bottom: 36px;
    height: 220px;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    background:
        linear-gradient(
            120deg,
            rgba(124, 58, 237, 0.8) 0%,
            rgba(8, 11, 16, 0.6) 60%
        ),
        radial-gradient(
            ellipse 80% 100% at 80% 50%,
            #1e0a3c 0%,
            var(--bg-deep) 100%
        );
}

.hero-wave {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 40px;
    opacity: 0.35;
}

.wave-bar {
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(to top, var(--accent), var(--accent-glow));
    animation: wave-anim 1.2s ease-in-out infinite alternate;
}
@keyframes wave-anim {
    from {
        transform: scaleY(0.2);
    }
    to {
        transform: scaleY(1);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-title {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 8px;
}
.hero-sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-bottom: 18px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    background: #fff;
    border: none;
    border-radius: 50px;
    color: var(--accent);
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Stat Cards */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
}
.stat-card:hover {
    border-color: var(--accent-line);
}
.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.stat-icon.purple {
    background: var(--accent-soft);
    color: var(--accent-glow);
}
.stat-icon.gold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--gold);
}
.stat-icon.green {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}
.stat-val {
    font-family: "Syne", sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 2px;
}
.stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Player Bar */
.player-bar {
    grid-column: 2;
    background: var(--bg-player);
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
    position: relative;
    z-index: 20;
}
.player-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 38%;
    background: linear-gradient(90deg, var(--accent), var(--accent-glow));
    border-radius: 2px;
}

.player-track-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.player-thumb {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), #1e1b4b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(124, 58, 237, 0.4);
}
.player-track-name {
    font-family: "Syne", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.player-track-artist {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 2px;
}
.player-heart {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}
.player-heart:hover {
    color: #f43f5e;
}

.player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.player-btns {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ctrl-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ctrl-btn:hover {
    color: var(--text-main);
    background: var(--border);
}
.ctrl-btn.play-pause {
    width: 44px;
    height: 44px;
    background: #fff;
    color: var(--bg-deep);
    font-size: 17px;
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.15);
}
.ctrl-btn.play-pause:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.25);
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 340px;
}
.progress-time {
    font-size: 11px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.progress-bar-track {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}
.progress-bar-fill {
    height: 100%;
    width: 38%;
    background: linear-gradient(90deg, var(--accent), var(--accent-glow));
    border-radius: 3px;
    position: relative;
}
.progress-bar-fill::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}
.progress-bar-track:hover .progress-bar-fill::after {
    opacity: 1;
}

.player-volume {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.vol-icon {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}
.vol-icon:hover {
    color: var(--text-main);
}
.vol-bar {
    width: 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
}
.vol-fill {
    height: 100%;
    width: 70%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
}
.player-extra-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
}
.player-extra-btn:hover {
    color: var(--text-main);
}

/* Hero Carousel */
.hero-carousel {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 36px;
    position: relative;
    background: var(--bg-card);
}

.hero-carousel .carousel-inner {
    border-radius: var(--radius);
}

.hero-carousel .carousel-item {
    min-height: 480px;
}

.hero-carousel .carousel-item > .hero-slide {
    height: 480px;
}

.hero-slide {
    height: 480px;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 60px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.hero-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 11, 16, 0.95) 0%,
        rgba(8, 11, 16, 0.7) 40%,
        rgba(8, 11, 16, 0.3) 100%
    );
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a0533 0%, #0f172a 50%, #1e1b4b 100%);
    z-index: 0;
}

.hero-slide-bg::before {
    content: "";
    position: absolute;
    right: -100px;
    top: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(124, 58, 237, 0.4) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

.hero-carousel .carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

.hero-carousel .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    margin: 0 4px;
}

.hero-carousel .carousel-indicators button.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.hero-slide-content .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.5);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 12px;
}

.hero-slide .hero-title {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 8px;
}

.hero-slide .hero-artist {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
}

.hero-slide .hero-genre {
    font-size: 13px;
    color: var(--accent-glow);
    margin-bottom: 20px;
}

.hero-slide .btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    border: none;
    border-radius: 50px;
    color: #fff;
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.5);
}

.hero-slide .btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.7);
}

.hero-slide-stats {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-slide-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-slide-stats i {
    color: var(--accent-glow);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    opacity: 1;
    transition: var(--transition);
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .sidebar,
    .player-bar {
        display: none;
    }
    .app-shell {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 70px;
    }
    .stat-cards {
        grid-template-columns: 1fr;
    }
    .topbar {
        padding: 12px 16px;
    }
    .page-body {
        padding: 0 16px 24px;
    }
    .cards-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .hero-slide {
        height: 320px;
        padding: 30px;
        flex-direction: column;
        justify-content: flex-end;
    }
    .hero-slide-content {
        max-width: 100%;
        position: relative;
        z-index: 2;
    }
    .hero-slide .hero-title {
        font-size: 24px;
    }
    .hero-slide-stats {
        display: none;
    }
    .hero-slide-img {
        object-position: center top;
    }

    .mobile-bottom-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2px;
        background: linear-gradient(
            180deg,
            rgba(30, 30, 40, 0.98) 0%,
            rgba(20, 20, 28, 0.99) 100%
        );
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(249, 115, 22, 0.15);
        padding: 10px 6px 14px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 8px;
        padding: 4px 4px;
        border-radius: 12px;
        transition: all 0.2s ease;
        flex: 1;
        text-align: center;
    }
    .nav-item:hover {
        color: var(--text);
    }
    .nav-item.active {
        color: #fff;
        background: linear-gradient(
            135deg,
            var(--accent) 0%,
            var(--accent-glow) 100%
        );
        box-shadow: 0 2px 12px rgba(249, 115, 22, 0.35);
    }
    .nav-item i {
        font-size: 16px;
    }

    .center-btn {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        background: linear-gradient(
            135deg,
            var(--accent) 0%,
            var(--accent-glow) 100%
        );
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 16px rgba(249, 115, 22, 0.45);
        transition: all 0.2s ease;
        color: #fff;
        text-decoration: none;
    }
    .center-btn i {
        font-size: 18px;
    }
    .center-btn.active {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
    }
    .center-btn:hover {
        transform: scale(1.05);
    }

    .main-content {
        padding-bottom: 70px;
        overflow-x: hidden;
    }
    .page-body {
        padding: 0 16px 32px;
    }
}

@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* Detail Page Banner */
.detail-banner {
    position: relative;
    margin: -20px -20px 30px;
    min-height: 320px;
    overflow: hidden;
}

.detail-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.banner-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(30px) saturate(1.5);
    transform: scale(1.1);
}

.banner-bg-grad {
    width: 100%;
    height: 100%;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(20, 20, 28, 0.3) 0%,
        rgba(20, 20, 28, 0.95) 100%
    );
}

.detail-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 32px;
    padding: 40px;
    align-items: flex-end;
}

.detail-cover {
    width: 220px;
    height: 220px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.detail-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.detail-cover .detail-cover-img[style*="opacity"] {
    width: 60%;
    height: 60%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.detail-cover-emoji {
    position: relative;
    z-index: 1;
}

.detail-cover-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}

.detail-cover:hover .detail-cover-play {
    opacity: 1;
}

.detail-cover-play i {
    font-size: 56px;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

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

.detail-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.detail-badge {
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 50px;
    background: linear-gradient(
        135deg,
        var(--accent) 0%,
        var(--accent-glow) 100%
    );
    color: #fff;
    font-weight: 600;
}

.detail-badge.pays {
    background: var(--accent-soft);
    color: var(--accent-glow);
}

.detail-duration {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.detail-title {
    font-family: "Syne", sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.detail-artist {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.detail-artist-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.artist-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--accent) 0%,
        var(--accent-glow) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

.artist-info {
    display: flex;
    flex-direction: column;
}

.artist-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2px;
}

.detail-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
}

.detail-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.detail-stat i {
    font-size: 20px;
    color: var(--accent-glow);
    margin-bottom: 4px;
}

.detail-stat span {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.detail-stat label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-actions {
    display: flex;
    gap: 12px;
}

.btn-play {
    background: linear-gradient(
        135deg,
        var(--accent) 0%,
        var(--accent-glow) 100%
    );
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
    transition: all 0.2s ease;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5);
}

.btn-dl {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.2s ease;
}

.btn-dl:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
}

.btn-share {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-share:hover {
    background: var(--accent-soft);
    border-color: var(--accent-line);
    color: var(--accent-glow);
}

@media (max-width: 768px) {
    .detail-banner {
        min-height: 280px;
        margin: -16px -16px 24px;
    }

    .detail-banner-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
        gap: 20px;
    }

    .detail-cover {
        width: 160px;
        height: 160px;
        font-size: 56px;
    }

    .detail-info {
        width: 100%;
    }

    .detail-meta {
        justify-content: center;
    }

    .detail-title {
        font-size: 24px;
    }

    .detail-artist {
        font-size: 16px;
    }

    .detail-stats {
        justify-content: center;
        gap: 24px;
    }

    .detail-stat span {
        font-size: 18px;
    }

    .detail-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.pagination-btn {
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}
.pagination-btn:hover {
    border-color: var(--accent);
}
.pagination-btn.active {
    background: var(--accent);
    border-color: var(--accent);
}
