/* --- CONFIGURAÇÃO VISUAL PREMIUM --- */
:root {
    --gold-accent: #c5a47e;
    --dark-bg: #111;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --sleeve-size: 450px; /* Tamanho base da capa */
}

/* 1. BACKGROUND IMERSIVO */
.vinil-immersive-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(60px) brightness(0.5) saturate(1.2);
    z-index: 0;
    transform: scale(1.1); /* Evita bordas brancas pelo blur */
}

.relative-z {
    position: relative;
    z-index: 10;
}

/* 2. CONTAINER PRINCIPAL (Glassmorphism) */
.single-vinil-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 60px;
    margin-top: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
}

/* 3. A MÁGICA: CAPA + DISCO ANIMADO */
.vinil-visual-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1000px;
}

.album-sleeve-wrapper {
    position: relative;
    width: var(--sleeve-size);
    height: var(--sleeve-size);
    z-index: 2;
}

/* A Capa */
.album-cover-art {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border-radius: 4px;
    background: #000;
    transition: transform 0.4s ease;
}

.album-cover-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.sleeve-shine {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
    border-radius: 4px;
}

/* O Disco de Vinil (CSS Puro) */
.vinyl-record-disc {
    position: absolute;
    top: 2%; 
    left: 2%;
    width: 96%;
    height: 96%;
    background: #111;
    border-radius: 50%;
    z-index: 1; /* Atrás da capa */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); /* Efeito elástico */
    box-shadow: 4px 0 10px rgba(0,0,0,0.5);
    
    /* Textura de sulcos do vinil */
    background: repeating-radial-gradient(
      #111 0, 
      #111 2px, 
      #222 3px, 
      #222 4px
    );
}

/* Efeito Hover: O disco sai da capa */
.album-sleeve-wrapper:hover .vinyl-record-disc {
    transform: translateX(50%) rotate(180deg); /* Sai 50% para a direita e gira */
}

/* Rótulo Central do Disco */
.vinyl-label {
    width: 35%;
    height: 35%;
    background: #ffcc00; /* Cor padrão do selo */
    border-radius: 50%;
    position: relative;
    background: radial-gradient(circle, #f5dba3 0%, #c5a47e 100%);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.8);
}
.label-hole {
    position: absolute;
    top: 50%; left: 50%;
    width: 12px; height: 12px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5);
}

.visual-hint {
    margin-top: 25px;
    color: #666;
    font-size: 0.9rem;
    opacity: 0.7;
    animation: fadePulse 2s infinite;
}

@keyframes fadePulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }


/* 4. COLUNA DE INFORMAÇÕES */
.vinil-header-info {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.vinil-genre-tag {
    display: inline-block;
    background: var(--dark-bg);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.vinil-title-hero {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--dark-bg);
    margin: 0 0 10px 0;
    letter-spacing: -1px;
}

.vinil-artist-hero {
    font-size: 1.8rem;
    color: #555;
    font-weight: 300;
}
.by-text { font-size: 1rem; color: #999; font-style: italic; margin-right: 5px; }


/* Curador/Dono */
.vinil-curator-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0,0,0,0.03);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 30px;
    max-width: 350px;
}
.curator-avatar img { border-radius: 50%; width: 50px; height: 50px; }
.curator-info { display: flex; flex-direction: column; }
.curator-label { font-size: 0.75rem; text-transform: uppercase; color: #888; }
.curator-name { font-weight: 700; color: var(--dark-bg); text-decoration: none; font-size: 1.1rem; }
.curator-name i { color: #2ecc71; font-size: 0.9em; margin-left: 5px; }


/* Descrição */
.vinil-description-body h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 3px solid var(--gold-accent);
    padding-left: 10px;
    margin-bottom: 15px;
    color: var(--dark-bg);
}
.text-content {
    line-height: 1.8;
    color: #444;
    font-size: 1.05rem;
}


/* 5. BARRA DE AÇÃO (BOTÕES) */
.premium-actions-bar {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-premium {
    padding: 18px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

.btn-gold-action {
    background: var(--dark-bg); /* Fundo preto elegante */
    color: var(--gold-accent); /* Texto dourado */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.btn-gold-action:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    color: #fff;
}

.btn-premium-icon {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    border: 2px solid #e5e5e5;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #999;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-premium-icon:hover {
    border-color: #ff4757;
    color: #ff4757;
}
.btn-premium-icon.active {
    background: #ff4757;
    border-color: #ff4757;
    color: #fff;
}


/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
    :root { --sleeve-size: 350px; }
    .single-vinil-premium { grid-template-columns: 1fr; padding: 40px; gap: 40px; }
    .vinil-visual-stage { margin-bottom: 20px; }
    .vinil-title-hero { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    :root { --sleeve-size: 280px; }
    /* No mobile, desativa a animação complexa de hover pois não tem mouse */
    .album-sleeve-wrapper:hover .vinyl-record-disc {
        transform: translateX(20%) rotate(20deg); /* Sai só um pouquinho */
    }
    .premium-actions-bar { flex-direction: column; width: 100%; }
    .btn-premium { width: 100%; justify-content: center; }
}



/* --- CORREÇÃO DO RODAPÉ SOBREPOSTO --- */

/* Força o rodapé a ficar ACIMA do fundo imersivo */
.site-footer, footer, #colophon {
    position: relative; /* Necessário para o z-index funcionar */
    z-index: 50; /* Garante que fique acima do fundo fixo (que é 0) e do conteúdo (que é 10) */
    background-color: #111827; /* Cor escura sólida (ajuste para a cor exata do seu tema) */
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5); /* Sombra suave para separar do conteúdo */
}

/* Garante que o texto do rodapé continue legível */
.site-footer h3, 
.site-footer h4, 
.site-footer a, 
.site-footer p {
    position: relative;
    z-index: 51;
}