/* ========================================
   LyricArt - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    /* Dark Theme (Default) */
    --bg-color: #0f0f11;
    --bg-secondary: #18181b;
    --card-bg: #1c1c1f;
    --border-color: #27272a;
    --accent-color: #f43f5e;
    --accent-hover: #e11d48;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --text-dim: #71717a;
}

[data-theme="light"] {
    --bg-color: #f5f5f5;
    --bg-secondary: #ffffff;
    --card-bg: #ffffff;
    --border-color: #e5e5e5;
    --text-main: #18181b;
    --text-muted: #52525b;
    --text-dim: #a1a1aa;
}

[data-theme="cream"] {
    --bg-color: #faf8f5;
    --bg-secondary: #fcfbf7;
    --card-bg: #ffffff;
    --border-color: #e8e4dc;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --text-dim: #999999;
}

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

/* Base */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.nav {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Show/hide icons based on theme */
[data-theme="dark"] .theme-icon-dark,
[data-theme="cream"] .theme-icon-dark {
    display: none;
}

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

[data-theme="dark"] .theme-icon-light,
[data-theme="cream"] .theme-icon-light,
[data-theme="light"] .theme-icon-dark {
    display: block;
}

/* Main */
.main {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 60px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.accent {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Styles */
.section {
    margin-bottom: 80px;
}

.section-header {
    margin-bottom: 30px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
}

.section-title i {
    width: 24px;
    height: 24px;
}

.section-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: auto;
}

.section-footer {
    margin-top: 30px;
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    text-decoration: none;
}

.view-all-btn:hover {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: white;
}

.view-all-btn i {
    width: 18px;
    height: 18px;
}

/* Song Grid */
.song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.song-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.song-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.song-card-cover {
    height: 150px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #7c3aed 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.song-card-icon {
    font-size: 3rem;
    opacity: 0.8;
}

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

.song-card-info {
    padding: 20px;
}

.song-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.song-card-artist {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.song-card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.song-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Artist Grid */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.artist-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.artist-card:hover {
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.artist-card-avatar,
.artist-avatar-large {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.artist-avatar-large {
    width: 120px;
    height: 120px;
    font-size: 3rem;
}

.artist-card-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.artist-card-genres {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Artist Header */
.artist-header {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.artist-info {
    flex: 1;
}

.artist-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.artist-genres {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.genre-tag {
    background: var(--bg-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
}

.artist-bio {
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 600px;
}

.artist-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s;
}

.social-link:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Song Page */
.song-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.collection-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.song-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 10px;
    color: var(--text-main);
    line-height: 1;
}

.song-artist {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.artist-name {
    color: var(--accent);
    font-weight: 600;
}

.song-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.stat-item {
    background: var(--bg-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Asset Section */
.asset-section {
    margin-bottom: 60px;
}

.category-label {
    color: var(--text-dim);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 30px 0 20px;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Quote Slider (for multi-quote Feed templates) */
.quote-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.quote-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.quote-slide.active {
    display: block;
}

.quote-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slider-nav {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.slider-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.slider-btn:hover {
    opacity: 1;
}

.slider-btn svg {
    width: 16px;
    height: 16px;
}

.slider-dots {
    display: flex;
    gap: 6px;
}

.slider-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s;
}

.slider-dots .dot.active {
    background: white;
    transform: scale(1.2);
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Asset Card */
.asset-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.asset-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-dim);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.preview-box {
    background-image: radial-gradient(var(--border-color) 1px, transparent 0);
    background-size: 16px 16px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.sheet-preview-img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Social Preview Images */
.social-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.preview-feed {
    padding: 20px;
}

.preview-feed .social-preview-img {
    aspect-ratio: 1 / 1;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 180px;
}

.preview-playback {
    padding: 20px;
}

.preview-playback .social-preview-img {
    aspect-ratio: 9 / 16;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 220px;
}

.preview-concert {
    padding: 20px;
}

.preview-concert .social-preview-img {
    aspect-ratio: 3 / 4;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 200px;
}

.preview-player {
    padding: 20px;
}

.preview-player .social-preview-img {
    aspect-ratio: 1.91 / 1;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 140px;
}

.preview-sheet {
    padding: 20px;
}

.preview-sheet .sheet-preview-img {
    aspect-ratio: 1 / 1.414;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 240px;
}

.meta-box {
    padding: 15px 20px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.meta-name {
    font-weight: 700;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 5px;
}

.meta-type {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-actions {
    display: flex;
    gap: 6px;
}

.dl-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-main);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

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

.dl-btn i {
    width: 16px;
    height: 16px;
}

/* Sheet Previews */
.sheet-preview {
    width: 180px;
    height: 250px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;
}

.sheet-magazine {
    background: #fcfbf7;
}

.sheet-notebook {
    background-image: linear-gradient(#e5e5e5 1px, transparent 1px);
    background-size: 100% 20px;
}

.sheet-receipt {
    font-family: 'JetBrains Mono', monospace;
    border-top: 4px solid #000;
}

.preview-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.preview-artist {
    font-size: 0.7rem;
    color: #666;
}

/* Social Previews */
.social-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.sq-preview {
    width: 120px;
    height: 120px;
}

.ver-preview {
    width: 90px;
    height: 160px;
}

.pol-preview {
    width: 100px;
    height: 130px;
}

.play-preview {
    width: 160px;
    height: 80px;
}

.sq-impact {
    background: #000;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.sq-minimal {
    background: #f5f5f5;
    color: #000;
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 0.7rem;
    padding: 10px;
}

.sq-glitch {
    background: #0a0a0a;
    color: #0f0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
}

.ver-blurry {
    background: #000;
    color: #fff;
    position: relative;
}

.ver-blurry::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    filter: blur(25px);
    opacity: 0.6;
}

.ver-frame {
    background: #fff;
    color: #000;
    flex-direction: column;
    padding: 5px;
}

.ver-chat {
    background: #f0f2f5;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.pol-classic {
    background: #fff;
    color: #333;
    flex-direction: column;
    padding: 5px;
}

.pol-film {
    background: #000;
    border-left: 3px dashed #333;
    border-right: 3px dashed #333;
}

.pol-scrapbook {
    background: #fcfbf7;
    border: 1px solid #ddd;
}

.play-glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
}

.play-win95 {
    background: #c0c0c0;
    color: #000;
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 0.6rem;
}

.play-notif {
    background: #fff;
    color: #000;
    border-radius: 10px;
}

.preview-text {
    font-size: 0.6rem;
    padding: 5px;
    z-index: 1;
}

/* Lyrics Section */
.lyrics-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
}

.lyrics-preview {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.lyrics-quote {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-main);
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-left: 3px solid var(--accent-color);
    border-radius: 0 12px 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.lyrics-quote .quote-text {
    flex: 1;
}

.quote-actions {
    display: flex;
    gap: 8px;
}

.quote-action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

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

.quote-action-btn i {
    width: 16px;
    height: 16px;
}

.quote-action-btn.copied {
    background: #22c55e;
    border-color: #22c55e;
    color: white;
}

.quote-action-btn .asset-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-color);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.show-assets-btn {
    position: relative;
}

/* Hidden quotes container */
.hidden-quotes {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.hidden-quotes.show {
    display: flex;
}

.show-all-quotes-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    margin-top: 10px;
    background: transparent;
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.show-all-quotes-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.show-all-quotes-btn.expanded {
    display: none;
}

.show-all-quotes-btn i {
    width: 18px;
    height: 18px;
    transition: transform 0.2s;
}

.quote-mark {
    color: var(--accent-color);
    font-size: 1.5rem;
    opacity: 0.5;
}

.lyrics-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.lyrics-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.read-more-btn:hover {
    background: var(--accent-color);
    color: white;
}

.read-more-btn svg {
    width: 16px;
    height: 16px;
}

.lyrics-content {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-muted);
    white-space: pre-line;
}

/* Practice Mode */
.practice-mode .practice-blank {
    background: var(--accent-color);
    color: transparent;
    border-radius: 4px;
    padding: 0 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.practice-mode .practice-blank.revealed,
.practice-mode .practice-blank:hover {
    color: white;
}

/* Floating Dock */
.floating-dock {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    gap: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.dock-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.dock-btn:hover {
    background: var(--accent-color);
    color: white;
}

.dock-btn.active {
    background: var(--accent-color);
    color: white;
}

/* Theme Picker */
.theme-picker {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    display: none;
    gap: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.theme-picker.show {
    display: flex;
}

.theme-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s;
}

.theme-btn:hover,
.theme-btn.active {
    border-color: var(--accent-color);
    background: var(--accent-color);
}

/* Back Link */
.back-link {
    padding: 20px 0;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.back-link a:hover {
    color: var(--accent-color);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Page Header */
.page-header {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-text {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.footer-copyright {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Visually Hidden (for SEO) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(24, 24, 27, 0.98);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    margin-top: 15px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Lightbox Actions Container */
.lightbox-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.lightbox-download,
.lightbox-actions .lightbox-close {
    position: static;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.lightbox-download:hover,
.lightbox-actions .lightbox-close:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Clickable preview */
.preview-box {
    cursor: pointer;
}

.preview-box:hover {
    opacity: 0.9;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--card-bg);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.pagination-btn:hover:not(.disabled) {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: white;
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btn i {
    width: 18px;
    height: 18px;
}

.pagination-pages {
    display: flex;
    gap: 8px;
}

.pagination-page {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.pagination-page:hover:not(.active) {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.pagination-page.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .artist-header {
        flex-direction: column;
        text-align: center;
    }

    .artist-name {
        font-size: 1.8rem;
    }

    .artist-genres {
        justify-content: center;
        flex-wrap: wrap;
    }

    .song-title {
        font-size: 1.8rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-desc {
        display: none;
    }

    .floating-dock {
        bottom: 20px;
        padding: 8px 15px;
    }

    /* Pagination mobile */
    .pagination {
        flex-wrap: wrap;
        gap: 10px;
    }

    .pagination-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .pagination-pages {
        order: -1;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .pagination-page {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    /* Meta actions on new line for mobile */
    .meta-type {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .meta-actions {
        width: 100%;
        justify-content: flex-start;
    }

    /* Quote actions on new line for mobile */
    .lyrics-quote {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .quote-actions {
        width: 100%;
        justify-content: flex-start;
    }
}
