/* Base styles */
:root {
    --background: 240, 240, 245;
    --foreground: 51, 51, 51;
    --card: 255, 255, 255;
    --card-foreground: 51, 51, 51;
    --popover: 255, 255, 255;
    --popover-foreground: 51, 51, 51;
    --primary: 41, 98, 155;
    --primary-foreground: 255, 255, 255;
    --secondary: 240, 240, 245;
    --secondary-foreground: 51, 51, 51;
    --muted: 240, 240, 245;
    --muted-foreground: 102, 102, 102;
    --accent: 245, 245, 250;
    --accent-foreground: 51, 51, 51;
    --destructive: 255, 86, 86;
    --destructive-foreground: 255, 255, 255;
    --border: 0, 0, 0, 0.08;
    --input: 0, 0, 0, 0.08;
    --ring: 41, 98, 155;

    /* Additional colors */
    --orange: 255, 153, 51;
    --orange-light: 255, 179, 102;
    --blue-light: 92, 142, 190;
}

html.dark {
    --background: 15, 15, 23;
    --foreground: 255, 255, 255;
    --card: 27, 27, 41;
    --card-foreground: 255, 255, 255;
    --popover: 27, 27, 41;
    --popover-foreground: 255, 255, 255;
    --primary: 41, 98, 155;
    --primary-foreground: 255, 255, 255;
    --secondary: 36, 36, 53;
    --secondary-foreground: 255, 255, 255;
    --muted: 36, 36, 53;
    --muted-foreground: 160, 160, 178;
    --accent: 36, 36, 53;
    --accent-foreground: 255, 255, 255;
    --destructive: 255, 86, 86;
    --destructive-foreground: 255, 255, 255;
    --border: 255, 255, 255, 0.08;
    --input: 255, 255, 255, 0.08;
    --ring: 41, 98, 155;

    /* Additional colors */
    --orange: 255, 153, 51;
    --orange-light: 255, 179, 102;
    --blue-light: 92, 142, 190;
}

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

body {
    font-family: "Inter", sans-serif;
    background-color: rgb(var(--background));
    color: rgb(var(--foreground));
    line-height: 1.5;
}

.hidden {
    display: none !important;
}

.min-h-screen {
    min-height: 100vh;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.dark-bg {
    background-color: rgb(var(--background));
    color: rgb(var(--foreground));
    transition: background-color 0.3s, color 0.3s;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    background-color: rgb(var(--card));
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    background-color: rgb(var(--card));
}

/* Header */
header {
    background-color: rgb(var(--card));
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
}

.header-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    color: rgb(var(--foreground));
    margin-right: 1rem;
}

.logo-primary {
    color: #007bff;
}

.logo-secondary {
    color: #6c757d;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 24rem;
    margin-right: 1rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
}

.search-input {
    width: 100%;
    height: 2.5rem;
    padding-left: 2.5rem;
    padding-right: 1rem;
    border-radius: 0.25rem;
    background-color: rgb(var(--card));
    border: 1px solid rgba(var(--border));
    color: rgb(var(--foreground));
    font-size: 0.875rem;
    outline: none;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    color: rgb(var(--muted-foreground));
}

.theme-toggle {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgb(var(--muted-foreground));
    transition: background-color 0.3s;
    margin-right: 1rem;
}

.theme-toggle:hover {
    background-color: rgba(var(--foreground), 0.05);
}

.dark .theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.main-nav {
    display: flex;
    align-items: center;
    background-color: #2962a0;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
    width: 100%;
}

.nav-link {
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    color: white;
    padding: 0.75rem 1.25rem;
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: #3a7bc8;
    text-decoration: none;
}

.nav-link.active {
    background-color: #3a7bc8;
    position: relative;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 1.5rem 0 6rem;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: rgb(var(--card));
}

.main-content > .content-container {
    width: 100%;
}

@media (min-width: 768px) {
    .main-content {
        padding-bottom: 5rem;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 0.25rem;
    overflow: hidden;
    background-color: rgb(var(--accent));
    border: 1px solid rgba(var(--border));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: rgb(var(--primary));
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
    }
}

.hero-subtitle {
    font-size: 0.875rem;
    color: rgb(var(--muted-foreground));
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1rem;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.25rem;
    background-color: rgb(var(--primary));
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: rgb(var(--blue-light));
}

.btn-secondary {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.25rem;
    background-color: rgb(var(--secondary));
    color: rgb(var(--secondary-foreground));
    text-decoration: none;
    border: 1px solid rgba(var(--border));
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: rgb(var(--accent));
}

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

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(var(--border));
    padding-bottom: 0.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgb(var(--foreground));
}

.section-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgb(var(--primary));
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    background-color: rgb(var(--accent));
    border-radius: 0.25rem;
}

.section-link:hover {
    background-color: rgb(var(--secondary));
}

/* Tracks Container */
.track-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: rgb(var(--card));
    border-radius: 0.25rem;
    transition: background-color 0.3s;
    border: 1px solid rgba(var(--border));
}

.track-item:hover {
    background-color: rgb(var(--accent));
}

.track-item.playing {
    background-color: rgba(var(--primary), 0.1);
}

.track-item__rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background-color: rgb(var(--orange));
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.track-item__artwork {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    overflow: hidden;
    flex-shrink: 0;
}

.track-item__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.track-item:hover .track-item__play {
    opacity: 1;
}

.track-item__play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background-color: rgb(var(--orange));
    border-radius: 50%;
    color: white;
    font-size: 14px;
    line-height: 1;
}

.track-item.playing .track-item__play-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.track-item__info {
    flex: 1;
    min-width: 0;
    margin-left: 0.25rem;
}

.track-item__title {
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    color: rgb(var(--foreground));
    text-decoration: none;
    transition: color 0.3s;
}

.track-item__title:hover {
    color: rgb(var(--primary));
}

.track-item__artist {
    font-size: 0.75rem;
    color: rgb(var(--muted-foreground));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    transition: color 0.3s;
}

.track-item__artist:hover {
    color: rgb(var(--primary));
}

.track-item__actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.track-item__action {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.25rem;
    background-color: rgba(var(--foreground), 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: rgb(var(--muted-foreground));
    transition: color 0.3s;
    text-decoration: none;
}

.track-item__action:hover {
    color: rgb(var(--primary));
}

.track-item__action .icon {
    width: 1rem;
    height: 1rem;
}

/* Playlists Section */
.playlists-wrapper {
    position: relative;
}

.playlists-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

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

@media (min-width: 768px) {
    .playlists-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.playlist-item {
    transition: transform 0.3s;
    text-decoration: none;
}

.playlist-item:hover {
    transform: translateY(-0.25rem);
}

.playlist-artwork {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 0.25rem;
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(var(--border));
}

.playlist-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.playlist-item:hover .playlist-artwork img {
    transform: scale(1.05);
}

.playlist-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.playlist-item:hover .playlist-overlay {
    opacity: 1;
}

.playlist-play-button {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgb(var(--orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.playlist-play-button svg {
    width: 1rem;
    height: 1rem;
    color: white;
}

.playlist-title {
    font-weight: 500;
    font-size: 0.75rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgb(var(--foreground));
    transition: color 0.3s;
}

.playlist-item:hover .playlist-title {
    color: rgb(var(--primary));
}

.carousel-next,
.carousel-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgb(var(--orange));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.carousel-next:hover,
.carousel-prev:hover {
    background-color: rgb(var(--orange-light));
}

.carousel-next {
    right: -0.75rem;
}

.carousel-prev {
    left: -0.75rem;
}

/* Artists Section */
.artists-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.artist-item {
    text-align: center;
    width: 4rem;
    transition: transform 0.3s;
    text-decoration: none;
}

@media (min-width: 640px) {
    .artist-item {
        width: 5rem;
    }
}

@media (min-width: 768px) {
    .artist-item {
        width: 6rem;
    }
}

.artist-item:hover {
    transform: translateY(-0.25rem);
}

.artist-avatar {
    position: relative;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 0.5rem;
    border: 1px solid rgba(var(--border));
}

@media (min-width: 640px) {
    .artist-avatar {
        width: 5rem;
        height: 5rem;
    }
}

@media (min-width: 768px) {
    .artist-avatar {
        width: 6rem;
        height: 6rem;
    }
}

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

.artist-item:hover .artist-avatar img {
    transform: scale(1.05);
}

.artist-name {
    font-weight: 500;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgb(var(--foreground));
    transition: color 0.3s;
}

.artist-item:hover .artist-name {
    color: rgb(var(--primary));
}

/* Music Player */
.music-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(var(--card));
    border-top: 1px solid rgba(var(--border));
    z-index: 50;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
}

.player-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.player-track-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    max-width: 30%;
}

@media (min-width: 768px) {
    .player-track-info {
        max-width: 200px;
    }
}

.player-artwork {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(var(--border));
}

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

.player-track-details {
    min-width: 0;
    display: none;
}

@media (min-width: 475px) {
    .player-track-details {
        display: block;
    }
}

.player-track-title {
    font-weight: 500;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-track-artist {
    font-size: 0.625rem;
    color: rgb(var(--muted-foreground));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
}

.player-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.player-skip-back,
.player-skip-forward {
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgb(var(--muted-foreground));
    transition: color 0.3s;
}

.player-skip-back:hover,
.player-skip-forward:hover {
    color: rgb(var(--foreground));
}

.player-play-pause {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgb(var(--orange));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.player-play-pause:hover {
    background-color: rgb(var(--orange-light));
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
}

.player-time {
    font-size: 0.625rem;
    color: rgb(var(--muted-foreground));
    width: 1.75rem;
    text-align: center;
}

.progress-bar {
    flex: 1;
    height: 0.25rem;
    background-color: rgba(var(--foreground), 0.1);
    border-radius: 0.125rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: rgb(var(--orange));
    border-radius: 0.125rem;
    width: 0%;
}

.player-volume {
    display: none;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .player-volume {
        display: flex;
    }
}

.player-volume svg {
    width: 0.875rem;
    height: 0.875rem;
    color: rgb(var(--muted-foreground));
}

.volume-bar {
    width: 4rem;
    height: 0.25rem;
    background-color: rgba(var(--foreground), 0.1);
    border-radius: 0.125rem;
    overflow: hidden;
}

.volume-fill {
    height: 100%;
    background-color: rgb(var(--orange));
    border-radius: 0.125rem;
    width: 70%;
}

/* Sidebar */
.sidebar {
    background-color: rgb(var(--card));
    border-radius: 0.25rem;
    border: 1px solid rgba(var(--border));
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.sidebar-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(var(--border));
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
    text-decoration: none;
    color: rgb(var(--foreground));
}

.sidebar-item:hover {
    background-color: rgb(var(--accent));
}

.sidebar-item-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: rgb(var(--primary));
}

/* Footer */
.mini-footer {
    background-color: rgb(var(--card));
    border-top: 1px solid rgba(var(--border));
    padding: 0.75rem 0;
    margin-top: 2rem;
}

.mini-footer-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.mini-footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mini-footer-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    color: rgb(var(--foreground));
}

.mini-footer-copyright {
    color: rgb(var(--muted-foreground));
    font-size: 0.75rem;
}

.mini-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.mini-footer-link {
    color: rgb(var(--muted-foreground));
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s;
}

.mini-footer-link:hover {
    color: rgb(var(--primary));
}

.mini-footer-social {
    display: flex;
    gap: 0.5rem;
}

.mini-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.25rem;
    background-color: rgba(var(--foreground), 0.05);
    color: rgb(var(--foreground));
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    font-size: 0.875rem;
}

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

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: rgb(var(--foreground));
    font-size: 1.5rem;
    transition: background-color 0.3s;
}

.mobile-menu-toggle:hover {
    background-color: rgba(var(--foreground), 0.05);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(var(--card));
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    transform: translateX(0);
}

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

.mobile-menu-close {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: rgb(var(--foreground));
    font-size: 1.5rem;
    transition: background-color 0.3s;
}

.mobile-menu-close:hover {
    background-color: rgba(var(--foreground), 0.05);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    color: rgb(var(--foreground));
    font-weight: 500;
    transition: background-color 0.3s;
}

.mobile-menu-link:hover {
    background-color: rgba(var(--foreground), 0.05);
}

.mobile-menu-link.active {
    color: rgb(var(--primary));
    background-color: rgba(var(--primary), 0.1);
}

.mobile-menu-link .icon {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.mobile-menu-categories {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(var(--border));
}

.mobile-menu-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgb(var(--muted-foreground));
    margin-bottom: 0.75rem;
    padding-left: 1rem;
}

@media (max-width: 767px) {
    .header-content {
        flex-wrap: wrap;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .theme-toggle {
        margin-left: 0.5rem;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    margin-bottom: 5rem;
}

@media (min-width: 640px) {
    .pagination {
        gap: 0.5rem;
    }
}

.pagination__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;
    background-color: rgb(var(--card));
    color: rgb(var(--foreground));
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid rgba(var(--border));
    transition: background-color 0.3s, color 0.3s;
}

@media (min-width: 640px) {
    .pagination__item {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 0.25rem;
        font-size: 1rem;
    }
}

.pagination__item:hover {
    background-color: rgb(var(--accent));
}

.pagination__item--active {
    background-color: rgb(var(--primary));
    color: white;
    border-color: rgb(var(--primary));
}

.pagination__item--next {
    font-size: 1rem;
}

@media (min-width: 640px) {
    .pagination__item--next {
        font-size: 1.25rem;
    }
}

.track-item__duration {
    font-size: 0.75rem;
    color: rgb(var(--muted-foreground));
    margin-right: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .track-item__duration {
        display: none;
    }
}

/* Category list */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    background-color: rgb(var(--card));
    border: 1px solid rgba(var(--border));
    text-decoration: none;
    color: rgb(var(--foreground));
    transition: background-color 0.3s;
}

.category-item:hover {
    background-color: rgb(var(--accent));
}

.category-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: rgb(var(--primary));
}

.category-name {
    font-size: 0.875rem;
    font-weight: 500;
}
