:root {
    --primary: #1A1A1A;
    --accent: #F6A623;
    --text: #FFFFFF;
    --secondary-text: #B3B3B3;
    --dark-bg: #0D0D0D;
    --light-bg: #262626;
    --card-bg: #333333;
}

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

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--primary);
    padding: 20px;
    background: linear-gradient(to bottom, #0D0D0D, #1A1A1A);
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 20px;
}

.logo {
    font-family: 'Rammetto One', cursive;
    color: var(--accent);
    font-size: 2.5rem;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: var(--dark-bg);
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    margin-bottom: 2rem;
}

.back-btn:hover {
    background: #E5941A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(246, 166, 35, 0.3);
}

.back-btn i {
    margin-right: 8px;
}

/* Artist section styling */
.artist-section {
    margin-bottom: 3rem;
}

.artist-section:last-child {
    margin-bottom: 0;
}

.section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    margin: 2.5rem 0;
    border: none;
}

.section-title {
    font-family: 'Josefin Sans', sans-serif;
    color: var(--accent);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 15px;
    background-color: var(--primary);
}

.artist-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    background: rgba(51, 51, 51, 0.6);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.artist-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-info {
    flex-grow: 1;
}

.artist-info h1 {
    font-family: 'Josefin Sans', sans-serif;
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.artist-info p {
    color: var(--secondary-text);
    margin-bottom: 1rem;
    font-style: italic;
}

.album-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-text);
    font-size: 1.1rem;
}

.album-info span {
    background: rgba(246, 166, 35, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
}

.track-list-container {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 3rem;
}

.track-list-header {
    background: var(--accent);
    color: var(--dark-bg);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.track-list-header h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    margin: 0;
}

.track-count {
    background: rgba(26, 26, 26, 0.3);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.track-list {
    list-style: none;
    padding: 0;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--light-bg);
    transition: background 0.3s;
}

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

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

.track-number {
    color: var(--secondary-text);
    width: 30px;
    font-variant-numeric: tabular-nums;
}

.track-info {
    flex-grow: 1;
    margin: 0 1.5rem;
}

.track-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

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

.play-btn {
    background: var(--accent);
    color: var(--dark-bg);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.play-btn:hover {
    transform: scale(1.1);
    background: #E5941A;
}

.play-btn.playing {
    background: #4CAF50;
}

/* Audio player container - initially hidden */
.audio-player-container {
    position: fixed;
    bottom: -200px; /* Hidden off-screen initially */
    left: 0;
    right: 0;
    background: var(--dark-bg);
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    transition: bottom 0.5s ease;
    z-index: 1000;
    width: 100%;
}

.audio-player-container.visible {
    bottom: 0; /* Slide up to show */
}

.now-playing {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.now-playing-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.now-playing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.now-playing-info {
    flex-grow: 1;
}

.now-playing-title {
    font-family: 'Josefin Sans', sans-serif;
    color: var(--accent);
    margin-bottom: 0.2rem;
}

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

/* Timeline scrubber styles */
.timeline-container {
    margin-bottom: 1rem;
}

.time-display {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.8rem;
    color: var(--secondary-text);
}

.timeline {
    width: 100%;
    height: 5px;
    appearance: none;
    background: var(--light-bg);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.timeline::-webkit-slider-thumb {
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
}

.timeline::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: none;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.control-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.control-btn:hover {
    color: #E5941A;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 150px;
}

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

.volume-slider {
    flex-grow: 1;
    height: 5px;
    appearance: none;
    background: var(--light-bg);
    border-radius: 5px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: none;
}

footer {
    text-align: center;
    color: var(--secondary-text);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--light-bg);
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text);
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

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

@media (max-width: 768px) {
    .artist-header {
        flex-direction: column;
        text-align: center;
    }
    
    .artist-image {
        width: 150px;
        height: 150px;
    }
    
    .audio-controls {
        flex-wrap: wrap;
    }
    
    .volume-control {
        width: 100%;
        margin-top: 10px;
    }
    
    .track-info {
        margin: 0 1rem;
    }
    
    .track-item {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .audio-player-container {
        padding: 1rem;
    }
    
    .now-playing-image {
        width: 50px;
        height: 50px;
    }
}