:root {
    --primary-gold: #D0A010;
    --light-gold: #f0c040;
    --dark-gold: #a07808;
    --wmp-blue: #2159c4; /* Tom de azul clássico do WMP XP para detalhes se necessário, mas usaremos dourado conforme pedido */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url("fundo.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    font-family: 'Tahoma', 'Segoe UI', sans-serif; /* Tahoma era a fonte do XP */
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

/* Logo Centralizado no Topo */
.header-logo {
    text-align: center;
    margin-bottom: 40px;
}

.album-logo {
    max-width: 500px;
    width: 90%;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

/* Janela Estilo Windows Media Player XP */
.wmp-window {
    width: 100%;
    max-width: 800px;
    background: linear-gradient(to bottom, #4b4b4b, #1a1a1a); /* Fundo escuro do WMP */
    border: 3px solid #333;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    overflow: hidden;
    margin-bottom: 40px;
}

.wmp-titlebar {
    background: linear-gradient(to right, var(--dark-gold), var(--primary-gold), var(--dark-gold));
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px black;
    border-bottom: 1px solid #000;
}

.wmp-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: #000;
    min-height: 350px;
}

/* Lado Esquerdo: Tracklist */
.wmp-playlist {
    background: #111;
    border-right: 2px solid #333;
    padding: 20px;
    overflow-y: auto;
}

.wmp-playlist h3 {
    font-size: 14px;
    color: var(--light-gold);
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.track-item {
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 2px;
    color: #ccc;
    transition: background 0.2s;
}

.track-item:hover {
    background: rgba(208, 160, 16, 0.2);
    color: white;
}

.track-item.active {
    background: var(--primary-gold);
    color: white;
    font-weight: bold;
}

/* Lado Direito: Visualizer/CD e Controles */
.wmp-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #222, #000);
    padding: 20px;
    position: relative;
}

.cd-container {
    width: 200px;
    height: 200px;
    margin-bottom: 30px;
    position: relative;
}

.cd-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 30px rgba(208, 160, 16, 0.3);
    animation: girar 10s linear infinite;
    animation-play-state: paused; /* Só gira quando toca */
}

.cd-image.playing {
    animation-play-state: running;
}

/* Barra de Controles na Base do Player */
.wmp-controls-bar {
    grid-column: span 2;
    background: linear-gradient(to bottom, #333, #111);
    padding: 15px;
    border-top: 2px solid #444;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.wmp-progress-container {
    width: 90%;
    height: 8px;
    background: #000;
    border: 1px solid #444;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
}

.wmp-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, var(--dark-gold), var(--light-gold));
}

.wmp-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.wmp-btn {
    background: linear-gradient(to bottom, #666, #333);
    border: 1px solid #111;
    color: var(--light-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.2);
}

.wmp-btn:hover {
    background: linear-gradient(to bottom, #777, #444);
}

.wmp-btn.play-pause {
    width: 50px;
    height: 50px;
    font-size: 20px;
    border: 2px solid var(--primary-gold);
}

/* Seção Sobre o Álbum */
.about-section {
    width: 100%;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    line-height: 1.8;
}

.about-section h2 {
    font-family: 'Tahoma', sans-serif;
    color: var(--primary-gold);
    margin-bottom: 15px;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer {
    margin-top: 40px;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

@keyframes girar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    .wmp-content { grid-template-columns: 1fr; }
    .wmp-playlist { border-right: none; border-bottom: 2px solid #333; }
}