:root {
    --bg-dark: #0a1128; 
    --card-dark: rgba(16, 31, 66, 0.65); 
    --amber-glow: #ff9f43;
    --orange-soft: #f39c12;
    --copper: #d35400;
    --text-light: #f5f6fa;
    --text-muted: #8fa0c4; 
    --gold: #d4af37;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Background Global */
.bg-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-overlay.active {
    opacity: 1;
}

.container {
    max-width: 950px;
    margin: 0 auto;
    padding: 70px 20px;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.manifesto-section, .musical-journey {
    text-align: center;
    animation: fadeIn 1.5s ease;
}

.title-enigmatic {
    font-family: 'Cinzel', serif;
    font-size: 2.9rem;
    letter-spacing: 3px;
    background: linear-gradient(45deg, var(--text-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.1rem;
    color: var(--gold);
    margin: 20px 0 30px;
    letter-spacing: 1px;
}

.divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--copper), transparent);
    margin: 35px auto;
    width: 50%;
}

.manifesto-text p {
    font-family: 'Playfair Display', serif;
    font-size: 1.38rem;
    color: #e2e8f0;
    margin-bottom: 25px;
    text-align: justify;
    text-justify: inter-word;
}

.manifesto-text h3 {
    color: var(--gold);
    font-family: 'Cinzel', serif;
    margin: 35px 0 12px;
    font-size: 1.45rem;
}

.manifesto-text strong { color: var(--amber-glow); }

.player-section { display: flex; justify-content: center; }

.player-card {
    background: var(--card-dark);
    backdrop-filter: blur(15px);
    width: 100%;
    max-width: 980px;
    border-radius: 12px;
    padding: 45px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(4, 7, 20, 0.5);
}

.player-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 20px;
}

.playlist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.track-link {
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    padding: 14px 20px;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
}

.track-link:hover, .track-link.active {
    background: rgba(255, 159, 67, 0.15);
    color: var(--amber-glow);
    border-color: var(--amber-glow);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    margin: 0 auto 25px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

#meuVideo, .video-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    object-fit: contain;
}

/* === EFEITO DE TRANSIÇÃO SUAVE NO PLAYER === */
.video-overlay {
    opacity: 0;
    transition: opacity 1.8s ease-in-out; /* Fade mais suave e elegante */
    pointer-events: none;
    mix-blend-mode: screen;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.video-overlay.playing {
    opacity: 0.45; /* Intensidade suave - pode ajustar entre 0.35 e 0.55 */
}

/* Efeito extra de cross-fade (melhor transição) */
.video-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
}

.btn-play {
    background: transparent;
    border: 1.5px solid var(--orange-soft);
    color: var(--text-light);
    padding: 14px 40px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

.btn-play:hover {
    background: rgba(243, 156, 18, 0.1);
    border-color: var(--amber-glow);
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.3);
}

.valores-footer {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 40px;
}

.signature {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--gold);
    letter-spacing: 2px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
    .title-enigmatic { font-size: 2.3rem; }
    .manifesto-text p { font-size: 1.25rem; }
}