/* =========================================
   VAGACRITIC WRAPPED 2025 - STYLES (VERSÃO FINAL OTIMIZADA)
   ========================================= */

/* ARQUIVO: wrapped.css */

/* Removemos o background fixo do body para usar o vídeo */
body {
    background-color: #000; /* Fundo preto caso o vídeo falhe */
    margin: 0;
    overflow-x: hidden;
}

/* Container que segura o vídeo e o filtro */
#video-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -10; /* Fica atrás de tudo */
}

/* O Vídeo do YouTube */
/* Container que segura o vídeo */
#video-frame {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    overflow: hidden; /* Corta o excesso do vídeo */
}

/* O Player do YouTube */
#video-frame iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Impede clicar/pausar */
}

/* --- O PULO DO GATO (Matemática para cobrir a tela) --- */

/* 1. Se a tela for "Horizontal" (PC), ajusta pela LARGURA */
@media (min-aspect-ratio: 16/9) {
    #video-frame iframe {
        width: 200vw;
        height: 76.25vw; /* Mantém a proporção 16:9 */
    }
}

/* 2. Se a tela for "Vertical" (Celular), ajusta pela ALTURA */
@media (max-aspect-ratio: 16/9) {
    #video-frame iframe {
        height: 100vh; /* Ocupa toda a altura */
        width: 177.78vh; /* Calcula a largura necessária para manter 16:9 */
    }
}
/* O Filtro Roxo/Cósmico Semitransparente */
#video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* O gradiente original, mas com opacidade ajustada */
    background: radial-gradient(circle at center, rgba(26, 11, 46, 0.85) 0%, rgba(0, 0, 0, 0.95) 100%);
    z-index: 2; /* Fica acima do vídeo */
}

.wrapped-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 80vh;
}

/* --- HERO SECTION --- */
.wrapped-hero {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
}

.wrapped-logo {
    font-family: "Arial Black", Impact, sans-serif;
    font-size: 3.5rem;
    background: linear-gradient(45deg, #ffd700, #ffecb3, #b8860b, #ffd700);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine-gold 3s linear infinite;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    line-height: 1;
}

.wrapped-hero p {
    color: #aaa;
    font-size: 1rem;
    letter-spacing: 1px;
    margin: 0;
}

@keyframes shine-gold {
    0% { background-position: 0% center; }
    100% { background-position: 300% center; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- SELETOR DE USUÁRIOS --- */
#wrapped-selector-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.wrapped-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
    opacity: 0.6;
}

.wrapped-bubble:hover, .wrapped-bubble.active {
    transform: scale(1.1);
    opacity: 1;
}

.wrapped-bubble img, .wrapped-bubble .general-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #444;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.wrapped-bubble .general-icon {
    background: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    border: none;
}

.wrapped-bubble.active img, .wrapped-bubble.active .general-icon {
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.wrapped-bubble span {
    margin-top: 4px;
    font-size: 0.7rem;
    color: #fff;
}

/* --- LAYOUT DO CONTEÚDO (GRID BENTO) --- */
.wrapped-content-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 15px; /* Gap reduzido para ficar mais compacto */
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

/* --- CARDS GERAIS --- */
.wrapped-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px; /* Padding reduzido para aproveitar espaço */
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    /* Centraliza conteúdo verticalmente se sobrar espaço */
    justify-content: flex-start; 
}

/* Card Destaque (Largo) */
.wrapped-card.wide {
    grid-column: span 2;
}
@media (max-width: 768px) { .wrapped-card.wide { grid-column: span 1; } }

/* Títulos dos Cards */
.card-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 15px;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

/* --- ESTILO DAS NOTAS (BRANCO NO FUNDO COLORIDO) --- */
.wrapped-grade {
    font-weight: 900;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #fff !important; /* Força branco */
    min-width: 35px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

/* --- LISTAS (TOP 10) --- */
.wrapped-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wrapped-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    transition: background 0.2s;
}

.wrapped-list-item:hover {
    background: rgba(255,255,255,0.08);
}

.wrapped-list-item img {
    width: 42px;
    height: 42px;
    object-fit: cover;
}

/* Formas das imagens */
.wrapped-list-item img.artist-img-circle {
    border-radius: 50%;
    border: 1px solid #444;
}
.wrapped-list-item img.album-img-square {
    border-radius: 4px;
}

.wrapped-rank {
    font-weight: bold;
    color: #ffd700;
    width: 18px;
    font-size: 0.85rem;
    text-align: center;
}

.wrapped-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    line-height: 1.2;
}

.wrapped-info a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wrapped-info a:hover { text-decoration: underline; color: #ffd700; }

.wrapped-info span, .wrapped-info a.sub-link {
    color: #aaa;
    font-size: 0.75rem;
    text-decoration: none;
}

/* --- CARD DO #1 (BEST OF) - OTIMIZADO VERTICALMENTE --- */
/* No arquivo wrapped.css */

/* No arquivo wrapped.css */

.number-one-card {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza Horizontalmente */
    justify-content: center; /* Centraliza Verticalmente (O PULO DO GATO) */
    text-align: center;
    padding: 25px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.08) 0%, rgba(0,0,0,0) 100%);
    min-height: 100%; /* Garante altura total */
}

.number-one-display {
    position: relative;
    display: flex;
    flex-direction: column; /* SEMPRE COLUNA PARA FICAR EMBAIXO */
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

/* GLOW/SHINE ANIMADO ATRÁS DA CAPA */
.number-one-display::before {
    content: '';
    position: absolute;
    top: 40%; /* Ajustado para o centro da imagem */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.6) 0%, rgba(255, 215, 0, 0) 70%);
    z-index: 0;
    animation: rotate-glow 2s linear infinite alternate;
    filter: blur(40px);
}

@keyframes rotate-glow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.9; }
}

/* CAPA GIGANTE E RESPONSIVA */
.number-one-display img {
    width: 100%; 
    max-width: 450px; /* Limite máximo para PC */
    height: auto;
    aspect-ratio: 1/1; /* Garante que seja quadrada */
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255,255,255,0.3);
}

.number-one-info {
    position: relative;
    z-index: 1;
    text-align: center; /* Centraliza o texto */
    margin-top: 10px;
}

.number-one-info h3 a {
    font-size: 2rem;
    margin: 0;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    font-weight: 900;
    letter-spacing: 1px;
}

.number-one-info p a {
    color: #ffd700;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}

.number-one-info .wrapped-grade {
    display: inline-block;
    margin-top: 10px;
    font-size: 1.5rem; /* Nota grande */
    padding: 8px 16px;
}

/* --- CARDS DE UNPOPULAR E HATER (CAPA GRANDE) --- */
.highlight-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    gap: 10px;
}

.highlight-card-content img {
    width: 200px; /* CAPA BEM GRANDE */
    height: 200px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    object-fit: cover;
}

.highlight-card-content h4 {
    margin: 5px 0 0 0;
    font-size: 1.1rem;
    color: #fff;
}

.highlight-subtext {
    font-size: 0.85rem;
    color: #aaa;
    margin: 0;
    line-height: 1.3;
}

/* --- STATS GIGANTES (3 COLUNAS) --- */
.stats-grid {
    display: grid;
    /* MUDANÇA AQUI: De 3 colunas para 2. Assim o 3º item desce para a próxima linha */
    grid-template-columns: 1fr 1fr; 
    gap: 10px;
    width: 100%;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.03);
    padding: 15px 5px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.big-stat-number {
    font-size: 2.8rem; /* Aumentado */
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.big-stat-label {
    font-size: 0.7rem;
    color: #888;
    margin-top: 5px;
    text-transform: uppercase;
    font-weight: bold;
}

.progress-container {
    width: 100%;
    background: #333;
    height: 8px;
    border-radius: 4px;
    margin-top: 15px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4ffcba, #1e90ff);
    border-radius: 4px;
}

/* --- AURA / PERSONALIDADE (Atualizado) --- */
.aura-container {
    display: flex;
    flex-direction: column;
    align-items: center;      
    justify-content: center;  
    text-align: center;       
    height: 100%;             
    min-height: 250px;       
    padding: 20px;
    box-sizing: border-box;
}

.aura-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.8;
    color: #fff;
}

/* AQUI ESTÁ A MÁGICA DO DEGRADÊ ANIMADO */
.aura-title {
    font-size: 2.5rem; /* Aumentei um pouco */
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
    
    /* O Degradê Neon */
    background: linear-gradient(
        45deg, 
        #ffffff, /* Verde Neon */
        #ffe2ac, /* Azul Neon */
        #ffdfdf, /* Branco */
        #fff2aa, /* Dourado */
        #ffc6f5  /* Repete o Verde pra fechar o loop */
    );
    background-size: 300% 300%; /* Aumenta o fundo para permitir movimento */
    
    /* Recorta o fundo no formato do texto */
    -webkit-background-clip: text;
    background-clip: text;
    
    /* Deixa o texto transparente para mostrar o fundo */
    color: transparent; 
    
    /* A Animação */
    animation: gradient-text-anim 5s ease infinite;
    
    /* Sombra suave para destacar do fundo */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.aura-desc {
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
    color: #eee; /* Branco levemente cinza para leitura */
    max-width: 90%;
}

/* ADICIONE ESSA ANIMAÇÃO NO FINAL DO ARQUIVO SE NÃO TIVER */
@keyframes gradient-text-anim {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- AFFINITY CLUSTERS (LINKS FUNCIONAIS) --- */
.affinity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.05);
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    text-decoration: none; /* Remove sublinhado do link container */
    transition: background 0.2s;
}

.affinity-item:hover {
    background: rgba(255,255,255,0.1);
}

.affinity-user {
    display: flex;
    align-items: center;
    gap: 12px;
}
.affinity-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #555;
}
.affinity-user span {
    font-weight: bold;
    color: #fff;
    font-size: 0.95rem;
}
.affinity-score {
    font-weight: 900;
    color: #4ffcba; /* Verde neon para o match */
    font-size: 1rem;
}

/* --- BOTÃO YEAR END --- */
.btn-year-end {
    display: block;
    width: 100%;
    padding: 12px;
    background: #ffd700;
    color: #000;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    text-transform: uppercase;
    transition: transform 0.2s;
    margin-top: 15px;
    font-size: 0.9rem;
}
.btn-year-end:hover {
    transform: scale(1.02);
    background: #ffecb3;
}

/* --- NOVO: AJUSTES PARA PC (DESKTOP) --- */
@media (min-width: 768px) {
    /* O Melhor de 2025: Ajustes de tamanho no PC */
    .number-one-display {
        /* MANTÉM COLUMN, mas aumenta os tamanhos */
        flex-direction: column; 
    }

    .number-one-display img {
        max-width: 250px; /* Capa GIGANTE no PC */
    }

    .number-one-info h3 a {
        font-size: 1.5rem; /* Título gigante */
    }

    .number-one-info p a {
        font-size: 1.5rem;
    }

    /* Stats: Texto Maior */
    .big-stat-number {
        font-size: 4rem;
    }
    
    .stat-item {
        padding: 30px 10px; /* Mais altura */
    }

    /* Stats: Layout Horizontal (4 colunas para caber: Reviews, Álbuns, Artistas, Média) */
    .stats-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr; 
    }

}

/* No arquivo wrapped.css */

/* FORÇAR LARGURA TOTAL NOS NÚMEROS DO ANO */

/* Regra Geral (Mobile e PC) */
#numeros-ano-card {
    grid-column: 1 / -1 !important; /* Ocupa da primeira até a última linha de grade */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Garante que o grid interno estique */
#numeros-ano-card .stats-grid {
    width: 100% !important;
    display: grid;
    /* Mobile: 2 colunas */
    grid-template-columns: 1fr 1fr; 
    gap: 10px;
}

/* Regra Específica para PC (Telas grandes) */
@media (min-width: 768px) {
    #numeros-ano-card .stats-grid {
        /* PC: 4 colunas lado a lado */
        grid-template-columns: 1fr 1fr 1fr 1fr !important;
    }
}

/* --- MODAL (JANELAS FLUTUANTES) --- */
.wrapped-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none; /* Oculto por padrão */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wrapped-modal-overlay.open {
    display: flex;
    opacity: 1;
}

.wrapped-modal-content {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.wrapped-modal-header {
    padding: 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #252525;
    border-radius: 16px 16px 0 0;
}

.wrapped-modal-header h3 {
    margin: 0;
    color: #ffd700;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.close-modal-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.wrapped-modal-body {
    padding: 10px;
    overflow-y: auto;
}

/* Lista dentro do Modal */
.modal-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-bottom: 1px solid #333;
}

.modal-list-item img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
}

.modal-item-info {
    flex: 1;
}

.modal-item-info h4 {
    margin: 0;
    font-size: 0.95rem;
    color: #fff;
}

.modal-item-info p {
    margin: 3px 0 0 0;
    font-size: 0.8rem;
    color: #aaa;
}

/* --- CORREÇÃO LINK ARTISTAS --- */
/* Estilo para links gerados pelo helper dentro do wrapped */
.wrapped-info .link-artista {
    color: #aaa;
    font-size: 0.75rem;
    text-decoration: none;
    margin-right: 4px; /* Espaço entre vírgulas geradas se houver */
}

.wrapped-info .link-artista:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* Cursor Pointer para itens clicáveis (os números) */
.clickable-stat {
    cursor: pointer;
    transition: transform 0.2s, text-shadow 0.2s;
}
.clickable-stat:hover {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* --- MODAL (JANELAS FLUTUANTES) --- */
.wrapped-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); z-index: 9999;
    display: none; justify-content: center; align-items: center;
    backdrop-filter: blur(5px); opacity: 0; transition: opacity 0.3s ease;
}
.wrapped-modal-overlay.open { display: flex; opacity: 1; }

.wrapped-modal-content {
    background: #1e1e1e; border: 1px solid #333; border-radius: 16px;
    width: 90%; max-width: 500px; max-height: 80vh;
    display: flex; flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.wrapped-modal-header {
    padding: 20px; border-bottom: 1px solid #333;
    display: flex; justify-content: space-between; align-items: center;
    background: #252525; border-radius: 16px 16px 0 0;
}
.wrapped-modal-header h3 { margin: 0; color: #ffd700; font-size: 1.2rem; text-transform: uppercase; }
.close-modal-btn { background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }
.wrapped-modal-body { padding: 10px; overflow-y: auto; }

/* Lista dentro do Modal */
.modal-list-item { display: flex; align-items: center; gap: 15px; padding: 10px; border-bottom: 1px solid #333; }
.modal-list-item img { width: 50px; height: 50px; border-radius: 4px; object-fit: cover; }
.modal-item-info { flex: 1; }
.modal-item-info h4 { margin: 0; font-size: 0.95rem; color: #fff; }
.modal-item-info p { margin: 3px 0 0 0; font-size: 0.8rem; color: #aaa; }

/* Links de Artistas Separados */
.link-artista { color: #aaa; text-decoration: none; margin-right: 4px; }
.link-artista:hover { color: #ffd700; text-decoration: underline; }

/* Cursor para os números clicáveis */
.clickable-stat { cursor: pointer; transition: transform 0.2s; }
.clickable-stat:hover { transform: scale(1.05); text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }

/* Correção para Artist Links dentro do Card #1 (Melhor do Ano) */
.number-one-info .link-artista {
    color: #ffd700; /* Dourado */
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    margin: 0 5px; /* Espaço entre os nomes se houver mais de um */
}

.number-one-info .link-artista:hover {
    color: #fff;
    text-decoration: underline;
}

/* Cartão de Resumo para Download (Escondido da tela normal) */
#share-card-container {
    position: fixed;
    top: -9999px; /* Joga para fora da tela */
    left: -9999px;
    width: 1080px; /* Tamanho Story Instagram */
    height: 1920px;
    background: #111;
    z-index: 9999;
}

/* =========================================
   CARD DE RESUMO PARA DOWNLOAD (ESTILO V2)
   ========================================= */
#share-card-container {
    position: fixed;
    top: -9999px;
    left: -9999px;
    /* Tamanho Full HD vertical (Story) para caber tudo com qualidade */
    width: 1080px; 
    height: 1920px;
    z-index: 9999;
}

.share-card {
    width: 100%;
    height: 100%;
    padding: 60px;
    box-sizing: border-box;
    /* Fundo Roxo/Amarelo Estético */
    background: linear-gradient(135deg, #2a0e61 0%, #52057b 40%, #3a0ca3 70%, #000 100%);
    color: #fff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 40px;
    border: 5px solid #ffd700; /* Borda amarela */
}

/* Cabeçalho com Foto e Nome */
.share-header {
    display: flex;
    align-items: center;
    gap: 30px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 30px;
}

.share-user-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    object-fit: cover;
}

.share-title h1 {
    color: #ffd700;
    font-size: 3.5rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
}

.share-title h2 {
    font-size: 2rem;
    margin: 10px 0 0;
    color: #4ffcba;
}

/* Área Principal: AOTY e Stats */
.share-hero {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Capa do Álbum do Ano */
.share-aoty-container {
    flex: 1;
    text-align: center;
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 20px;
}
.share-aoty-label { color: #ffd700; text-transform: uppercase; font-weight: bold; letter-spacing: 2px; margin-bottom: 15px; font-size: 1.2rem; }
.share-aoty-img { 
    width: 100%; 
    max-width: 400px; 
    aspect-ratio: 1/1; 
    object-fit: cover; 
    border-radius: 12px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.share-aoty-info h3 { color: #fff; font-size: 1.8rem; margin: 15px 0 5px; }
.share-aoty-info p { color: #4ffcba; font-size: 1.3rem; margin: 0; }
.share-aoty-nota {
    display: inline-block;
    margin-top: 10px;
    background: #ffd700;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.5rem;
    padding: 5px 15px;
    border-radius: 8px;
}

/* Grid de Estatísticas */
.share-stats-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.share-stat-box {
    background: rgba(255,255,255,0.08);
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Caixa de Média Colorida (A cor virá do JS inline) */
.share-stat-box.media-box {
    color: #fff; /* Texto branco para contrastar com o fundo colorido */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    grid-column: span 2; /* Ocupa as duas colunas */
}

.share-stat-num { font-size: 3.5rem; font-weight: 900; line-height: 1; display: block; margin-bottom: 5px;}
.share-stat-label { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.9; }
.share-stat-sub { font-size: 0.9rem; opacity: 0.7; margin-top: 5px; }

/* Listas (Top 10 e Piores) */
.share-lists-container {
    display: flex;
    gap: 40px;
    flex-grow: 1; /* Ocupa o espaço restante */
}

.share-list-col { flex: 1; background: rgba(0,0,0,0.2); padding: 25px; border-radius: 20px; }
.share-list-col h3 { 
    color: #ffd700; 
    font-size: 1.8rem; 
    margin: 0 0 20px 0; 
    padding-bottom: 10px; 
    border-bottom: 2px solid #4ffcba; 
    text-transform: uppercase;
}

.share-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1.3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 8px;
}
.share-rank-num { color: #4ffcba; font-weight: bold; margin-right: 15px; min-width: 35px; }
.share-album-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: 10px;}
.share-album-nota { font-weight: bold; color: #ffd700; background: rgba(0,0,0,0.3); padding: 2px 8px; border-radius: 5px;}

/* Footer */
.share-footer { text-align: center; font-size: 1.1rem; color: #aaa; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); letter-spacing: 2px;}