:root {
    --primary-color: #1db954;
    --secondary-color: #191414;
    --background: #121212;
    --surface: #282828;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --error: #e22134;
    --success: #1db954;
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #191414 0%, #282828 100%);
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(29, 185, 84, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 36px;
    height: 36px;
}

header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1db954, #1ed760);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.nav-link.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* User Info */
.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.username {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.logout-link {
    color: var(--text-secondary) !important;
    padding: 0.5rem 1rem !important;
}

.logout-link:hover {
    background-color: rgba(255, 99, 71, 0.1) !important;
    color: #ff6347 !important;
}

/* Main Layout */
.main-layout {
    max-width: 100%;
    margin: 0;
    padding: 0;
    min-height: calc(100vh - 200px);
}

/* Sidebar */
.sidebar {
    background: var(--surface);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h3 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.sort-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sort-btn,
.genre-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-btn:hover,
.genre-btn:hover {
    background: rgba(29, 185, 84, 0.1);
    border-color: var(--primary-color);
}

.sort-btn.active,
.genre-btn.active {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.sort-btn .icon {
    font-size: 0.85rem;
}

.genre-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.genre-list::-webkit-scrollbar {
    width: 6px;
}

.genre-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.genre-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.content-wrapper {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

/* Search Section */
.search-section {
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 2rem 0;
}

#searchInput {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--surface);
    border: 2px solid transparent;
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    transition: var(--transition);
}

#searchInput:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(40, 40, 40, 0.8);
}

#searchInput::placeholder {
    color: var(--text-secondary);
}

/* Filter Section */
.filter-section {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--surface);
    border: 2px solid transparent;
    border-radius: 25px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.filter-btn:hover {
    background: rgba(29, 185, 84, 0.2);
    border-color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--surface);
    border: none;
    border-radius: 20px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 120px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.card {
    background-color: var(--surface);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.card:hover {
    background-color: #3e3e3e;
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image img.card-icon {
    width: 60%;
    height: 60%;
    object-fit: contain;
    display: block;
}

.card-image img.card-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.artist-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.artist-link:hover {
    text-decoration: underline;
    color: #1ed760;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Player */
/* Player Bar */
.player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(30, 30, 30, 0.98), rgba(20, 20, 20, 0.98));
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    height: 72px;
}

.player.hidden {
    display: none;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    min-width: 220px;
    max-width: 220px;
}

.player-cover {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: block;
}

.player-text {
    overflow: hidden;
    min-width: 0;
    flex: 1;
}

.player-track {
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.player-artist {
    color: var(--text-secondary);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.play-btn {
    background: var(--primary-color);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    flex-shrink: 0;
}

.play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.6);
}

.progress-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    max-width: 600px;
    min-width: 0;
}

.progress-container {
    height: 6px;
    background-color: rgba(179, 179, 179, 0.3);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex: 1;
}

.progress-container:hover {
    height: 8px;
}

.progress-container:hover .progress-bar {
    background: linear-gradient(90deg, var(--primary-color), #1ed760);
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-container:hover .progress-bar::after {
    opacity: 1;
}

.time-display {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    min-width: 90px;
    text-align: right;
    flex-shrink: 0;
}

.volume-wrapper {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 140px;
}

.volume-icon {
    color: var(--text-secondary);
    flex-shrink: 0;
    opacity: 0.8;
}

.volume-slider {
    width: 100px;
    height: 4px;
    border-radius: 2px;
    background: rgba(179, 179, 179, 0.3);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
    position: relative;
}

.volume-slider::-webkit-slider-runnable-track {
    height: 4px;
    background: rgba(179, 179, 179, 0.3);
    border-radius: 2px;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    margin-top: -5px;
    transition: all 0.2s;
}

.volume-slider:hover::-webkit-slider-thumb {
    background: var(--primary-color);
    transform: scale(1.1);
}

.volume-slider::-moz-range-track {
    height: 4px;
    background: rgba(179, 179, 179, 0.3);
    border-radius: 2px;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
}

.volume-slider:hover::-moz-range-thumb {
    background: var(--primary-color);
    transform: scale(1.1);
}

.player-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.player-actions .action-icon-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 36px;
    height: 36px;
    position: relative;
}

.player-actions .action-icon-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.player-actions .action-icon-btn svg {
    width: 20px;
    height: 20px;
}

#qualityInfo::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 0.625rem 0.875rem;
    border-radius: 6px;
    font-size: 0.7rem;
    white-space: pre-line;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    min-width: 120px;
    text-align: left;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

#qualityInfo:hover::after {
    opacity: 1;
}

.player-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-end;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-icon {
    font-size: 1.2rem;
}

.volume-slider {
    width: 100px;
    height: 6px;
    border-radius: 3px;
    background: rgba(179, 179, 179, 0.3);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.player-actions {
    display: flex;
    gap: 0.75rem;
}

.download-btn {
    padding: 0.6rem 1.2rem;
    border: 2px solid;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flac-btn {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.flac-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.4);
}

.mp3-btn {
    background-color: transparent;
    border-color: var(--text-secondary);
    color: var(--text-secondary);
}

.mp3-btn:hover {
    background-color: var(--text-secondary);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(179, 179, 179, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal:not(.hidden) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: linear-gradient(135deg, var(--surface), var(--secondary-color));
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s;
    text-align: center;
}

.modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.modal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.modal-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-btn {
    background: var(--primary-color);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.modal-btn:hover {
    background: #1ed760;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.4);
}

/* Download Modal Styles */
.download-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.download-modal-btn {
    flex: 1;
    background: var(--surface);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.download-modal-btn svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0.25rem;
}

.download-modal-btn span {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-modal-btn small {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.download-modal-btn.flac-btn {
    border-color: var(--primary-color);
}

.download-modal-btn.flac-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.download-modal-btn.flac-btn:hover small {
    color: rgba(255, 255, 255, 0.9);
}

.download-modal-btn.mp3-btn {
    border-color: rgba(179, 179, 179, 0.3);
}

.download-modal-btn.mp3-btn:hover {
    background: rgba(179, 179, 179, 0.2);
    border-color: rgba(179, 179, 179, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(179, 179, 179, 0.15);
}

/* Recent Activity Modal */
.modal-content-wide {
    max-width: 1000px;
    padding: 1.25rem;
}

.recent-modal-list {
    margin-top: 1rem;
    max-height: 600px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.recent-modal-list::-webkit-scrollbar {
    width: 8px;
}

.recent-modal-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.recent-modal-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.recent-modal-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Album Detail View */
.album-detail {
    grid-column: 1 / -1;
    max-width: 100%;
    width: 100%;
}

.album-detail-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: var(--border-radius);
}

.album-detail-cover-container {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.album-detail-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.album-detail-cover.clickable {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.album-detail-cover.clickable:hover {
    opacity: 0.85;
}

.album-detail-cover-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.album-detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.album-detail-type {
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.album-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.02em;
}

.album-detail-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.album-detail-meta .separator {
    margin: 0 0.25rem;
}

/* Album detail action icons */
.album-detail-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
}

.action-icon-btn {
    background: var(--surface-lighter);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.action-icon-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.action-icon-btn svg {
    width: 24px;
    height: 24px;
}

/* Track List */
.track-list-container {
    padding: 0;
    background: var(--surface);
    border-radius: var(--border-radius);
}

.track-list-header {
    display: grid;
    grid-template-columns: 40px 1fr 80px;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.track-list {
    display: flex;
    flex-direction: column;
}

.track-list-item {
    display: grid;
    grid-template-columns: 40px 1fr 80px;
    gap: 1rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    align-items: center;
}

.track-list-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.track-list-item.active {
    background: rgba(29, 185, 84, 0.15);
}

.track-list-item.active .track-list-number,
.track-list-item.active .track-title-text,
.track-list-item.active .track-list-duration {
    color: var(--primary-color);
}

.track-list-number {
    color: var(--text-secondary);
    text-align: right;
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
}

.track-list-title {
    overflow: hidden;
}

.track-title-text {
    font-weight: 400;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-list-duration {
    color: var(--text-secondary);
    text-align: right;
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
}

/* Catalog sections */
.catalog-section {
    margin-bottom: 1rem;
}

.catalog-letter {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--surface);
}

.genre-card {
    background: linear-gradient(135deg, var(--surface), var(--secondary-color));
    border: 2px solid transparent;
    transition: all 0.3s;
}

.genre-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

/* Login Page */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-box {
    background-color: var(--surface);
    padding: 3rem;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
}

.login-box h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--background);
    border: 1px solid var(--surface);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    border: none;
    border-radius: 25px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #1ed760;
    transform: scale(1.02);
}

.btn-secondary {
    padding: 1rem;
    background-color: var(--surface);
    border: 1px solid var(--text-secondary);
    border-radius: 25px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
}

.error-message {
    background-color: rgba(226, 33, 52, 0.2);
    color: var(--error);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--error);
}

.success-message {
    background-color: rgba(29, 185, 84, 0.2);
    color: var(--success);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--success);
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
}

/* Admin Panel */
.admin-panel {
    max-width: 1200px;
    margin: 1rem auto;
    background-color: var(--surface);
    padding: 1.25rem;
    border-radius: var(--border-radius);
}

.admin-panel h2 {
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.5rem;
}

/* Upload Type Selector */
.upload-type-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.type-btn {
    background: var(--background);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.type-btn:hover {
    border-color: var(--primary-color);
    background: rgba(29, 185, 84, 0.05);
}

.type-btn.active {
    border-color: var(--primary-color);
    background: rgba(29, 185, 84, 0.1);
    color: var(--text-primary);
}

.type-btn .icon {
    font-size: 2rem;
}

.type-btn .label {
    font-weight: 600;
    font-size: 1rem;
}

.type-btn .desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* File Upload Section */
.file-upload-section {
    margin-bottom: 2rem;
}

.upload-area {
    border: 2px dashed var(--text-secondary);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--background);
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(29, 185, 84, 0.05);
}

.upload-area.drag-over {
    border-color: var(--primary-color);
    background: rgba(29, 185, 84, 0.1);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.upload-area h3 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 1.25rem;
}

.upload-area p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.file-limit {
    margin-top: 1rem;
    font-size: 0.85rem !important;
    color: var(--primary-color) !important;
}

/* Upload Progress */
.upload-progress {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--background);
    border-radius: var(--border-radius);
}

.upload-progress.hidden {
    display: none;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: var(--surface);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #1ed760);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

/* File List */
.file-list {
    margin-bottom: 2rem;
}

.file-list.hidden {
    display: none;
}

.file-item {
    background: var(--background);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.file-icon {
    font-size: 1.5rem;
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.file-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.file-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.file-status.success {
    color: var(--success);
}

.file-status.error {
    color: var(--error);
}

.file-status.loading {
    color: var(--text-secondary);
}

.remove-file {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.5rem;
    transition: var(--transition);
}

.remove-file:hover {
    color: var(--error);
}

/* Upload Form */
.upload-form {
    margin-top: 2rem;
}

.upload-form.hidden {
    display: none;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Cover Art Section */
.cover-art-upload-area {
    width: 100%;
}

.cover-preview-large {
    width: 100%;
    height: 250px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.cover-preview-large:hover {
    border-color: var(--primary-color);
    background: rgba(29, 185, 84, 0.05);
}

.cover-preview-large.has-image {
    border-style: solid;
    cursor: default;
}

.cover-preview-large.has-image:hover {
    background: var(--background);
}

.cover-preview-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cover-placeholder {
    text-align: center;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cover-placeholder .upload-icon {
    font-size: 3rem;
}

.cover-placeholder p {
    margin: 0;
    font-size: 0.9rem;
}

/* Old cover art styles for compatibility */
.cover-art-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.cover-preview {
    width: 200px;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--surface);
}

.cover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-placeholder {
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.9rem;
}

.cover-upload {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cover-status {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.cover-status.success {
    color: var(--success);
}

/* Track List */
.track-list {
    background: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.track-item {
    padding: 1rem;
    border-bottom: 1px solid var(--surface);
    display: grid;
    grid-template-columns: 40px 1fr 2fr 80px;
    gap: 1rem;
    align-items: center;
}

.track-item:last-child {
    border-bottom: none;
}

.track-number {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

.track-title {
    font-weight: 500;
}

.track-artist {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.track-duration {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: right;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions button {
    flex: 1;
}

.status-message {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.status-message.success {
    background-color: rgba(29, 185, 84, 0.2);
    color: var(--success);
    border-left: 4px solid var(--success);
}

.status-message.error {
    background-color: rgba(226, 33, 52, 0.2);
    color: var(--error);
    border-left: 4px solid var(--error);
}

.status-message.hidden {
    display: none;
}

.metadata-preview {
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--background);
    border-radius: var(--border-radius);
}

.metadata-preview pre {
    color: var(--text-secondary);
    overflow-x: auto;
}

small {
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .main-layout {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .sidebar {
        position: static;
        margin-bottom: 1.5rem;
    }

    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    /* Mobile-optimized player */
    .player {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .player-main {
        flex-direction: column;
        width: 100%;
    }

    .player-info {
        width: 100%;
        min-width: 0;
    }

    .player-controls {
        width: 100%;
    }

    .progress-wrapper {
        width: 100%;
    }

    .progress-container {
        height: 8px;
        touch-action: none;
    }

    .player-controls .play-btn {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }

    .volume-wrapper {
        justify-content: center;
    }

    .volume-slider {
        width: 120px;
    }

    .player-actions {
        width: 100%;
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .nav-link span {
        display: none;
    }

    /* Admin panel mobile */
    .upload-type-selector {
        grid-template-columns: 1fr;
    }

    .cover-art-container {
        flex-direction: column;
    }

    .cover-preview {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .track-item {
        grid-template-columns: 30px 1fr 60px;
        gap: 0.5rem;
    }

    .track-artist {
        display: none;
    }
}

/* Admin Dashboard */
.admin-dashboard {
    margin: 2rem 0;
}

.dashboard-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--surface);
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.table-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1rem;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.sort-select,
.limit-select {
    padding: 0.75rem 1rem;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 0.95rem;
    cursor: pointer;
}

.admin-table {
    width: 100%;
    background: var(--surface);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.admin-table thead {
    background: rgba(255, 255, 255, 0.05);
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table td {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.table-cover {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0.7;
    transition: var(--transition);
}

.btn-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-single {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.no-data {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

/* Modal */
/* Removed duplicate modal styles - using definition at line 770 */

/* Removed duplicate - see line 749 for modal-content styles */

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    background: var(--background);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn-primary,
.btn-secondary,
.btn-danger {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background: #1ed760;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-danger {
    background: var(--error);
    color: white;
}

.btn-danger:hover {
    background: #c41d2e;
}

/* Recent Section - Bottom Changelog */
/* Removed - Recent section now in modal */

.recent-item {
    display: grid;
    grid-template-columns: 80px 1fr 200px 200px;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    transition: var(--transition);
    align-items: center;
    font-size: 0.9rem;
}

.recent-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.recent-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.recent-title {
    color: var(--text-primary);
    font-weight: 500;
}

.recent-artist {
    color: var(--text-secondary);
}

.recent-album {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .recent-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    
    .recent-date {
        order: -1;
        font-size: 0.75rem;
    }
}

/* Artist Page Styling */
.artist-page-header {
    position: relative;
    padding: 4rem 0 2rem;
    margin-bottom: 3rem;
    background: linear-gradient(180deg, rgba(29, 185, 84, 0.15) 0%, transparent 100%);
    border-radius: var(--border-radius);
}

.artist-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.artist-name {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, #b3b3b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.artist-type {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.artist-section {
    margin-top: 3rem;
}

.artist-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(29, 185, 84, 0.3);
    grid-column: 1 / -1;
}

.artist-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.artist-section-count {
    background: rgba(29, 185, 84, 0.2);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.artist-section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(29, 185, 84, 0.3), transparent);
}

.no-content-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.no-content-message::before {
    content: '🎵';
    display: block;
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .artist-name {
        font-size: 2.5rem;
    }
    
    .artist-section-header {
        flex-wrap: wrap;
    }
    
    .artist-section-line {
        display: none;
    }
}

/* Admin Dashboard: Artist Detail View */
.artist-detail-view {
    background: var(--surface);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.artist-detail-view.hidden {
    display: none;
}

.artist-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.artist-detail-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.btn-back {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.1);
}

.artist-discography {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.discography-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.discography-header {
    margin-bottom: 1rem;
}

.discography-header h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.discography-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.discography-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.discography-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    cursor: pointer;
    user-select: none;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.item-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.btn-expand {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-expand:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.item-tracks {
    padding: 0 1rem 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.item-tracks.hidden {
    display: none;
}

.tracks-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.tracks-table thead {
    background: rgba(255, 255, 255, 0.03);
}

.tracks-table th {
    text-align: left;
    padding: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tracks-table td {
    padding: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tracks-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.tracks-table .actions {
    display: flex;
    gap: 0.5rem;
}

.no-tracks {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-style: italic;
}

.no-content {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-style: italic;
}

.loading {
    text-align: center;
    padding: 1rem;
    color: var(--text-secondary);
}

.error {
    text-align: center;
    padding: 1rem;
    color: #ff4444;
}

.artist-link {
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.artist-link:hover {
    text-decoration: underline;
}

.modal-wide {
    max-width: 600px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .artist-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .tracks-table {
        font-size: 0.8rem;
    }
    
    .tracks-table th,
    .tracks-table td {
        padding: 0.5rem;
    }
}

/* Utility class for hiding elements */
.hidden {
    display: none !important;
}

/* Homepage Styles */
.homepage {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    grid-column: 1 / -1;
}

.homepage-hero {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 0;
    margin-bottom: 2rem;
    color: white;
}

.homepage-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.homepage-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin: 0;
    opacity: 0.95;
}

.homepage-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

.homepage-description {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.homepage-description p {
    margin: 1rem 0;
}

.homepage-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin: 0.5rem 0;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.feature-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.homepage-cta {
    text-align: center;
    margin: 2rem 0;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(147, 51, 234, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .homepage {
        padding: 0;
    }
    
    .homepage-hero {
        padding: 3rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .homepage-title {
        font-size: 2.5rem;
    }
    
    .homepage-subtitle {
        font-size: 1.2rem;
    }
    
    .homepage-content {
        padding: 0 1rem 3rem;
        gap: 2.5rem;
    }
    
    .homepage-description {
        font-size: 1rem;
    }
    
    .homepage-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }
}




