:root {
    --bg-color: #09090b;
    /* Deep black/zinc */
    --card-bg: #18181b;
    --card-hover-bg: #27272a;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --accent-color: #db2777;
    /* Pink-600 */
    --accent-glow: rgba(219, 39, 119, 0.5);
    --border-color: #27272a;
    --container-max-width: 1200px;
    --spacing-md: 3rem;
    /* Increased default for desktop */
    --radius-lg: 32px;
    --radius-md: 20px;
    --anim-ease: cubic-bezier(0.25, 0.4, 0.25, 1);

    /* Font Mastery */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[data-theme="light"] {
    /* Backgrounds: Warmer, cleaner off-white for premium feel */
    --bg-color: #fafafa;
    --card-bg: #ffffff;
    --card-hover-bg: #f4f4f5;

    /* Typography: High contrast for readability */
    --text-primary: #18181b;
    /* Zinc-900 */
    --text-secondary: #52525b;
    /* Zinc-600 */

    /* Borders & Accents */
    --border-color: #e4e4e7;
    /* Zinc-200 */
    --accent-color: #be185d;
    /* Pink-700 (Slightly deeper for light mode contrast) */
    --accent-glow: rgba(190, 24, 93, 0.15);

    /* Shadows for Light Mode depth */
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Light Mode Specific Overrides */
[data-theme="light"] body {
    /* Subtle, elegant gradient mesh for light mode */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(244, 114, 182, 0.08), transparent 40%),
        /* Pink-400 */
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.08), transparent 40%);
    /* Violet-500 */
}

[data-theme="light"] .site-header {
    background-color: rgba(255, 255, 255, 0.85);
    /* More opaque for light mode legibility */
    backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .glass-panel,
[data-theme="light"] .card,
[data-theme="light"] .sidebar-widget {
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    /* Subtle shadow definition */
}

[data-theme="light"] .search-form input,
[data-theme="light"] .song-item,
[data-theme="light"] .social-brand,
[data-theme="light"] .social-link-icon,
[data-theme="light"] .sort-btn,
[data-theme="light"] .metadata-pill,
[data-theme="light"] .tag {
    background: #f4f4f5;
    /* Zinc-100 */
    color: var(--text-primary);
    border: 1px solid transparent;
}

[data-theme="light"] .search-form input:focus {
    background: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

[data-theme="light"] .tag:hover,
[data-theme="light"] .sort-btn:hover,
[data-theme="light"] .social-brand:hover,
[data-theme="light"] .social-link-icon:hover {
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--accent-glow);
}

[data-theme="light"] .song-item:hover {
    background: #ffffff;
    border-color: var(--border-color);
    box-shadow: var(--card-shadow);
    transform: translateY(-2px);
}

[data-theme="light"] .sidebar-title {
    border-bottom-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="light"] .search-form button {
    color: var(--text-secondary);
}

[data-theme="light"] .footer-heading {
    color: var(--text-primary);
}

[data-theme="light"] .site-nav a:hover,
[data-theme="light"] .site-nav a.active {
    color: var(--accent-color);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(219, 39, 119, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(124, 58, 237, 0.08), transparent 25%);
    background-attachment: fixed;
    transition: background-color 0.3s var(--anim-ease), color 0.3s var(--anim-ease);
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-logo,
.section-title {
    font-family: var(--font-heading);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Layout Grid */
.layout-grid {
    display: grid;
    /* Main column takes remaining space, Sidebar fixed width */
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
    padding-top: 1rem;
}

.main-column {
    min-width: 0;
    /* Prevent grid blowout */
}

.sidebar-column {
    position: sticky;
    top: 6rem;
    /* Account for header */
}

@media (max-width: 960px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-column {
        /* On tablet/mobile, we can choose to show or hide. 
           User asked "what happened", implies they want it. 
           Stacking it at bottom is standard. */
        position: static;
        margin-top: 3rem;
    }
}


/* Header */
.site-header {
    background-color: rgba(9, 9, 11, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    gap: 2rem;
}

.site-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
}

.site-nav a:hover,
.site-nav a.active {
    color: #fff;
}

/* Main Content */
.site-content {
    padding: 3rem 0;
    min-height: 80vh;
    animation: fadeIn 0.6s var(--anim-ease);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.site-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Utilities */
.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: var(--accent-color);
    color: white;
    border-radius: 9999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--anim-ease);
    box-shadow: 0 4px 14px 0 rgba(219, 39, 119, 0.39);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(219, 39, 119, 0.23);
    filter: brightness(110%);
}

.glass-panel {
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}

/* Grids */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

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

/* Cards */
.card {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s var(--anim-ease);
    border: 1px solid transparent;
    position: relative;
    /* 'group' property removed as it is not valid CSS. Hover states are handled by parent/child selectors */
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    overflow-x: auto;
    white-space: nowrap;
}

.breadcrumbs a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.breadcrumbs .separator {
    opacity: 0.5;
}

.breadcrumbs .current {
    color: #fff;
    font-weight: 500;
}

/* Footer */
.site-footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    background-color: var(--bg-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    text-align: left;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Header Layout Updates */
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.search-form {
    flex-grow: 1;
    max-width: 400px;
    position: relative;
}

.search-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.6rem 2.5rem 0.6rem 1.25rem;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s;
}

.search-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.search-form button {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.search-form button:hover {
    color: #fff;
}

/* Sorting Controls */
.sorting-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.sort-btn {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s;
}

.sort-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.sort-btn.active {
    background: var(--accent-color);
    color: #fff;
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

/* Social Brand Icons */
.social-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    transition: all 0.3s var(--anim-ease);
}

.social-brand svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-brand:hover {
    transform: translateY(-4px) scale(1.1);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.social-brand.youtube:hover {
    color: #ff0000;
}

.social-brand.spotify:hover {
    color: #1db954;
}

.social-brand.apple:hover {
    color: #fa243c;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

.social-link-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    transition: all 0.2s;
}

.social-link-icon:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.card:hover {
    background-color: var(--card-hover-bg);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-image {
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #27272a;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--anim-ease);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: 1.25rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Play Button Overlay for Cards */
.card-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: all 0.3s var(--anim-ease);
}

.card-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: scale(0.8) translateY(10px);
    transition: all 0.3s var(--anim-ease);
    box-shadow: 0 8px 25px rgba(219, 39, 119, 0.5);
}

.card-play-btn svg {
    margin-left: 3px;
    /* Optical centering for play icon */
}

.card:hover .card-play-overlay,
.carousel-card:hover .card-play-overlay {
    opacity: 1;
}

.card:hover .card-play-btn,
.carousel-card:hover .card-play-btn {
    transform: scale(1) translateY(0);
}

.card-play-btn:hover {
    transform: scale(1.1) translateY(0) !important;
    box-shadow: 0 12px 35px rgba(219, 39, 119, 0.7);
}

/* Carousel card image needs position relative */
.carousel-card-image {
    position: relative;
    overflow: hidden;
}

/* Song List Item */
.song-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: all 0.2s;
}

.song-item:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.song-item-image {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    margin-right: 1.25rem;
    background-color: #27272a;
    flex-shrink: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.song-item-image img {
    border-radius: 12px;
}

.song-item-info {
    flex-grow: 1;
    min-width: 0;
}

.song-item-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.song-item-artist {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.play-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.2s;
}

.song-item:hover .play-icon {
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Player Customization */
audio {
    width: 100%;
    height: 40px;
    margin-top: 1rem;
    filter: invert(1) hue-rotate(180deg);
    /* Trick to make default player dark-ish if browser supports */
    opacity: 0.8;
}

/* Social Links */
.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

/* Overlays */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 9, 11, 0.95);
    /* Deep dark overlay */
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--anim-ease);
}

[data-theme="light"] .overlay {
    background: rgba(248, 250, 252, 0.95);
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.overlay-content {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s var(--anim-ease);
}

.overlay.active .overlay-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
}

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

/* Big Search Form */
.big-search-form input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color);
    font-size: 2rem;
    color: var(--text-primary);
    padding: 1rem 0;
    font-family: var(--font-heading);
    font-weight: 700;
}

.big-search-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.big-search-form button {
    margin-top: 1.5rem;
    width: 100%;
    font-size: 1.25rem;
    padding: 1rem;
}

/* Mobile Nav */
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.mobile-nav a:hover {
    color: var(--accent-color);
}

.mobile-actions {
    display: none;
    /* Hidden on desktop */
    gap: 1rem;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
}

.icon-btn:hover {
    color: #fff;
}

[data-theme="light"] .icon-btn:hover {
    color: var(--text-primary);
}

/* Layout Grid (Main + Sidebar) */
.layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 960px) {
    .layout-grid {
        grid-template-columns: 1fr;
        /* Stack on tablet/mobile */
        gap: 2rem;
    }
}

/* Sidebar Styling */
.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 6rem;
    /* Sticky scroll */
    z-index: 10;
}

.sidebar-widget {
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.75rem;
}

[data-theme="light"] .sidebar-title {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.sidebar-item:hover {
    transform: translateX(4px);
    color: var(--accent-color);
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-number {
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0.3;
    font-family: var(--font-heading);
}

.sidebar-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.sidebar-text-main {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.sidebar-text-sub {
    font-size: 0.8rem;
    opacity: 0.7;
}

.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    transition: all 0.2s;
    font-weight: 500;
}

.tag:hover {
    background: var(--accent-color);
    color: #fff;
}

[data-theme="light"] .tag {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .tag:hover {
    background: var(--accent-color);
    color: #fff;
}

/* --- Mobile & Tablet Refinements --- */
@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --container-max-width: 100%;
    }

    body {
        font-size: 15px;
        /* Slightly smaller body text */
    }

    /* Header: Stack elements? No, standard mobile header now */
    .site-header {
        padding: 0.75rem 0;
    }

    .site-header .container {
        flex-direction: row;
        /* Keep row for Logo + Actions */
        align-items: center;
        justify-content: space-between;
    }

    .brand-logo {
        font-size: 1.25rem;
    }

    /* Hide Desktop Search Form and Nav */
    .search-form,
    .desktop-only,
    .site-nav {
        display: none !important;
    }

    /* Show Mobile Actions */
    .mobile-actions {
        display: flex;
    }

    /* Theme Toggle: Integrate carefully, maybe hide header one and use overlay? 
       For now, keep header one but maybe move it */
    #theme-toggle {
        position: static;
        /* Reset absolute */
    }

    /* Layout Spacing */
    .container {
        padding: 0 1.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    /* Grids: Single Column */
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Footer: Fix spacing */
    .site-footer {
        padding: 3rem 0 6rem;
        /* Extra bottom padding for mobile browsers */
        margin-top: 2rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    /* Sidebar logic (already handled by 960px query but refining) */
    .sidebar-column {
        margin-top: 1rem;
    }

    /* Hero/Banner text adjustments */
    h1 {
        font-size: 2rem !important;
    }
}

/* Song Detail Hero Redesign */
.hero-mosaic-wrapper {
    position: relative;
    width: 100%;
    /* 16:9 Aspect Ratio on Desktop */
    aspect-ratio: 16/9;
    max-height: 400px;
    /* Cap height to ensure VH visibility */
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 0 auto 2rem;
    box-shadow: var(--card-shadow);
    background: #111;
    display: flex;
    align-items: center;
    /* Center vertically */
    padding: 2rem 3rem;
    /* Adjusted padding */
    text-align: left;
    /* Explicit left align */
}

/* Mobile override for aspect ratio if needed */
@media (max-width: 768px) {
    .hero-mosaic-wrapper {
        aspect-ratio: auto;
        min-height: 300px;
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
        justify-content: center;
    }
}

.hero-mosaic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('mosaic_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 0;
}

.hero-mosaic-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from Left to Right for text readability on left align */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

.hero-content-relative {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    /* Side by side on Desktop */
    align-items: center;
    gap: 2.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .hero-content-relative {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.hero-circle-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #222;
    transition: all 0.4s var(--anim-ease);
    /* Premium gradient ring border */
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-color), #7c3aed, #06b6d4, var(--accent-color));
    background-size: 300% 300%;
    animation: gradientShift 6s ease infinite;
    /* Multi-layer glow effect */
    box-shadow:
        0 0 0 4px rgba(9, 9, 11, 0.8),
        0 10px 40px rgba(219, 39, 119, 0.3),
        0 0 60px rgba(124, 58, 237, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Inner image styling */
.hero-circle-img {
    /* Using outline for inner ring effect */
    outline: 3px solid rgba(255, 255, 255, 0.1);
    outline-offset: -8px;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-circle-img:hover {
    transform: scale(1.05) rotate(3deg);
    box-shadow:
        0 0 0 4px rgba(9, 9, 11, 0.8),
        0 15px 50px rgba(219, 39, 119, 0.5),
        0 0 80px rgba(124, 58, 237, 0.4),
        0 25px 80px rgba(0, 0, 0, 0.6);
    animation: gradientShift 2s ease infinite;
}

.hero-info-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title-large {
    font-size: 3rem;
    /* Larger impact */
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* justify-content: flex-start;  inherited from col flex-start but explicit is good */
}

@media (max-width: 768px) {
    .hero-circle-img {
        width: 160px;
        height: 160px;
    }

    .hero-title-large {
        font-size: 2rem;
        text-align: center;
    }

    .hero-subtitle {
        justify-content: center;
    }

    .hero-info-col {
        align-items: center;
    }
}

/* Song Detail Hero Redesign */
.hero-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    /* Square on mobile, can adjust for desktop */
    max-width: 400px;
    margin: 0 auto 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .hero-card {
        aspect-ratio: 16/9;
        /* Widescreen on desktop? Or keep square? 
           User said "Dark Overlayed Image card". 
           Let's go for a nicer landscape or square depending on image. 
           Most song art is square. Let's stick to square or slightly tall 4:5. */
        aspect-ratio: 1;
        max-width: 400px;
    }
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-card:hover .hero-bg-img {
    transform: scale(1.03);
}

.hero-bg-placeholder {
    width: 100%;
    height: 100%;
    background: #27272a;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    text-align: left;
    color: #fff;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-meta-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.hero-artist {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.hero-artist:hover {
    color: var(--accent-color);
}

/* Action Menus */
.action-row {
    display: flex;
    justify-content: flex-start;
    /* Left align to match page flow */
    gap: 1rem;
    margin-bottom: 3rem;
    padding-left: 1rem;
    /* Slight indent to align with content visuals? or plain. Let's keep plain.*/
    padding-left: 0;
}

.action-wrapper {
    position: relative;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .action-btn.secondary {
    background: #fff;
    border-color: #e4e4e7;
    color: var(--text-primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.action-btn:hover {
    transform: translateY(-2px);
    filter: brightness(110%);
}

.action-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 240px;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1rem;
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .action-menu {
    background: #ffffff;
    border-color: #e4e4e7;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.action-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.menu-header {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .menu-header {
    border-bottom-color: #f4f4f5;
}

[data-theme="light"] .play-icon {
    color: var(--accent-color);
    /* Make play icons pop in light mode */
    background: rgba(190, 24, 93, 0.1);
    /* Subtle background */
}

[data-theme="light"] .card-title,
[data-theme="light"] .song-item-title {
    color: #000000;
    /* Pure black for titles in light mode for max contrast */
    font-weight: 700;
}

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

/* Mobile Popup Fix */
@media (max-width: 768px) {
    .action-menu {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.9);
        /* Start slight small */
        width: 90%;
        max-width: 320px;
        z-index: 9999;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: #18181b;
        /* Ensure dark bg even in light mode if intended for hero contrast? Or stick to theme? */
        /* Let's stick to theme but ensure visibility */
    }

    /* Animation state for mobile */
    .action-menu.active {
        transform: translate(-50%, -50%) scale(1);
    }

    [data-theme="light"] .action-menu {
        background: #ffffff;
        border: 1px solid var(--border-color);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 500;
    transition: background 0.2s;
    font-size: 0.95rem;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .menu-item:hover {
    background: #f4f4f5;
}

.menu-item.whatsapp {
    color: #25D366;
}

.menu-item.x-social {
    color: var(--text-primary);
}

.menu-item.facebook {
    color: #1877F2;
}

.menu-item.copy {
    color: var(--text-secondary);
}

/* Custom Fancy Player */
.player-card {
    transition: transform 0.2s, background 0.2s;
}

[data-theme="light"] .player-card {
    background: #ffffff !important;
    border-color: var(--border-color) !important;
    box-shadow: var(--card-shadow);
}

.player-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.player-play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-color);
    border: none;
    color: #fff;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.player-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.player-play-btn:active {
    transform: scale(0.95);
}

/* Waveform Visualization */
.waveform-container {
    flex-grow: 1;
    height: 48px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.waveform-layer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 2px;
}

.bar {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 99px;
    min-width: 3px;
    transition: height 0.2s ease;
}

[data-theme="light"] .bar {
    background: rgba(0, 0, 0, 0.1);
}

/* Specifics for Base (Gray) Layer */
.waveform-layer.base {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Specifics for Active (Colored) Layer */
.waveform-layer.active {
    width: 100%;
    /* Filled inside the mask */
}

.waveform-layer.active .bar {
    background: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-glow);
}

/* The Mask */
.waveform-layer-mask {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    /* Animates */
    overflow: hidden;
    z-index: 2;
    transition: width 0.1s linear;
    /* Smooth fill */
}

.time-display {
    font-variant-numeric: tabular-nums;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    min-width: 50px;
    text-align: right;
}

@media (max-width: 600px) {
    .player-content {
        /* Keep it horizontal on mobile */
        flex-direction: row;
        gap: 0.75rem;
    }

    .player-play-btn {
        width: 48px;
        height: 48px;
    }

    .player-play-btn svg {
        width: 24px;
        height: 24px;
    }

    .time-display {
        font-size: 0.8rem;
        min-width: 40px;
    }
}

/* =================================
   Alphabetical Artist Carousels
   ================================= */

.alphabet-section {
    margin-bottom: 2.5rem;
}

.alphabet-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.alphabet-letter {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    font-family: var(--font-heading);
    min-width: 2.5rem;
}

.alphabet-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.artist-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

.artist-carousel::-webkit-scrollbar {
    height: 6px;
}

.artist-carousel::-webkit-scrollbar-track {
    background: transparent;
}

.artist-carousel::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.carousel-card {
    flex: 0 0 auto;
    width: 160px;
    scroll-snap-align: start;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s var(--anim-ease);
    border: 1px solid transparent;
}

.carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.carousel-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--card-hover-bg);
}

.carousel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--anim-ease);
}

.carousel-card:hover .carousel-card-image img {
    transform: scale(1.05);
}

.carousel-card-body {
    padding: 0.75rem;
    text-align: center;
}

.carousel-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .carousel-card {
        width: 140px;
    }

    .alphabet-letter {
        font-size: 1.5rem;
    }
}

/* Letter Navigation Slider */
.letter-nav-container {
    margin-bottom: 2rem;
    position: sticky;
    top: 4.5rem;
    z-index: 50;
    background: var(--bg-color);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.letter-nav {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.25rem;
}

.letter-nav::-webkit-scrollbar {
    display: none;
}

.letter-nav-item {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: transparent;
    transition: all 0.2s;
    opacity: 0.4;
}

.letter-nav-item.has-artists,
.letter-nav-item.active {
    opacity: 1;
}

.letter-nav-item:hover {
    background: var(--card-bg);
    color: var(--text-primary);
}

.letter-nav-item.active {
    background: var(--accent-color);
    color: #fff;
}

.view-all-link {
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
    transition: opacity 0.2s;
}

.view-all-link:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .letter-nav-item {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .letter-nav-container {
        top: 3.5rem;
    }
}