:root {
    --gold: #d4af37;
    --gold-light: #f7ef8a;
    --gold-dark: #c5a059;
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --text-white: #e0e0e0;
    --text-gold: #d4af37;
    --font-serif: 'Noto Serif SC', serif;
    --font-display: 'Playfair Display', serif;
}

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

body {
    background-color: var(--black);
    color: var(--text-white);
    font-family: var(--font-serif);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Subtle background overlay to add texture/depth */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, #1a1a1a 0%, #0a0a0a 100%);
    z-index: -1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Header & Search Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    border-bottom: 2px solid var(--gold-dark);
    padding-bottom: 20px;
}

.music-title {
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--gold);
    line-height: 1;
    text-shadow: 2px 2px 0px var(--gold-dark), 4px 4px 10px rgba(0,0,0,0.8);
    letter-spacing: 10px;
    background: linear-gradient(to bottom, var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--text-white);
    letter-spacing: 3px;
    margin-top: 5px;
}

.search-container {
    position: relative;
    width: 300px;
}

#searchInput {
    width: 100%;
    background: transparent;
    border: 1px solid var(--gold-dark);
    padding: 10px 15px;
    padding-right: 40px;
    color: var(--gold-light);
    font-family: var(--font-serif);
    font-size: 1rem;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s ease;
}

#searchInput:focus {
    border-color: var(--gold-light);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    pointer-events: none;
}

/* Main Layout: Song List + Artist Side */
.main-layout {
    display: flex;
    gap: 40px;
}

.song-sections {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    align-content: flex-start;
}

.category-group {
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease forwards;
}

.category-title {
    display: inline-block;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 2px 10px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 4px;
    font-weight: bold;
    background: rgba(212, 175, 55, 0.1);
}

.song-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    list-style: none;
}

.song-item {
    font-size: 1.1rem;
    color: var(--text-white);
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 1px;
}

.song-item:hover {
    color: var(--gold-light);
    transform: scale(1.05);
    text-shadow: 0 0 8px rgba(247, 239, 138, 0.6);
}

/* Side Artist Area */
.artist-side {
    width: 350px;
    position: sticky;
    top: 40px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    padding-left: 30px;
}

.artist-name-vertical {
    writing-mode: vertical-rl;
    font-size: 7rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 20px;
    margin-right: -10px;
    line-height: 1;
    text-shadow: 5px 5px 15px rgba(0,0,0,0.8);
}

.playlist-label {
    writing-mode: vertical-rl;
    font-size: 5rem;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 15px 5px;
    margin-top: 30px;
    letter-spacing: 15px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    background: rgba(0,0,0,0.4);
}

.status-badge {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gold);
    padding: 8px 5px;
    margin-top: 40px;
    color: var(--gold);
    font-size: 1.5rem;
    line-height: 1.1;
    text-align: center;
    font-weight: bold;
}

.artist-image-container {
    margin-top: 40px;
    width: 100%;
    height: 400px;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0), rgba(10, 10, 10, 0.8)), 
                url('https://images.unsplash.com/photo-1534528741775-53994a69daeb?q=80&w=1000&auto=format&fit=crop'); /* Placeholder image */
    background-size: cover;
    background-position: center;
    border: 1px solid var(--gold-dark);
    position: relative;
    opacity: 0.8;
}

.artist-image-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

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

/* Responsive */
@media (max-width: 1100px) {
    .main-layout {
        flex-direction: column-reverse;
    }
    .artist-side {
        width: 100%;
        position: static;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-left: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        padding-bottom: 30px;
        padding-left: 0;
    }
    .artist-name-vertical, .playlist-label {
        writing-mode: horizontal-tb;
        font-size: 3rem;
        margin: 0;
    }
    .artist-image-container {
        display: none;
    }
}
