/*
Arquivo: wp-content/themes/cancao-verdadeira/style.css

Resumo:
Este arquivo define toda a identidade visual do tema "cancao-verdadeira".
Foi reconstruído para garantir consistência, evitar conflitos e suportar
todos os componentes do sistema: cards de música, player fixo, layout dark,
tipografia e responsividade.
Utiliza variáveis CSS para padronização de cores e facilitar manutenção.
Compatível com Astra e preparado para UX estilo Spotify (dark + elegante).
Também inclui estilos completos para player global e interações.
*/


/*
Theme Name: Cancao Verdadeira
Theme URI: https://www.cancaoverdadeira.com
Description: Tema musical estilo Spotify (Sertanejo, Gospel e Romântico)
Author: Cancao Verdadeira
Template: astra
Version: 1.0
*/


/* =========================
   🎨 VARIÁVEIS GLOBAIS
========================= */

:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #181818;
    --bg-card: #1f1f1f;

    --color-gold: #d4af37;
    --color-white: #ffffff;
    --color-gray: #b3b3b3;

    --color-green: #1db954;
    --color-red: #e0245e;

    --border-radius: 12px;
    --transition: 0.3s ease;
}


/* =========================
   🌍 BASE GLOBAL
========================= */

body {
    background-color: var(--bg-primary);
    color: var(--color-white);
    font-family: 'Inter', sans-serif;
    margin: 0;
}

a {
    color: var(--color-white);
    text-decoration: none;
}

a:hover {
    color: var(--color-gold);
}


/* =========================
   📦 CONTAINER
========================= */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}


/* =========================
   🎵 CARD DE MÚSICA
========================= */

.card-musica {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 15px;
    transition: var(--transition);
}

.card-musica:hover {
    transform: translateY(-5px);
    background: #262626;
}


/* CAPA */
.card-thumb {
    position: relative;
}

.card-thumb img {
    width: 100%;
    border-radius: 10px;
}


/* BOTÃO PLAY */
.btn-play {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--color-gold);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: none;
    font-size: 16px;
}

.card-musica:hover .btn-play {
    display: block;
}


/* INFO */
.card-info {
    margin-top: 10px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
}

.card-artist {
    font-size: 13px;
    color: var(--color-gray);
}


/* AÇÕES */
.card-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.btn-favorito {
    cursor: pointer;
    transition: var(--transition);
}

.btn-favorito:hover {
    color: var(--color-red);
}

.btn-favorito.ativo {
    color: var(--color-gold);
}

.card-views {
    font-size: 12px;
    color: var(--color-gray);
}


/* =========================
   🎧 PLAYER GLOBAL
========================= */

.player-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-top: 1px solid #222;
    padding: 10px 20px;
    z-index: 9999;
}

.player-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-content img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
}

.player-content strong {
    font-size: 14px;
}

.player-content small {
    font-size: 12px;
    color: var(--color-gray);
}

.player-content button {
    margin-left: auto;
    background: var(--color-gold);
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
}


/* =========================
   📱 RESPONSIVO
========================= */

@media (max-width: 768px) {

    .container {
        padding: 10px;
    }

    .player-content {
        flex-direction: column;
        align-items: flex-start;
    }

}