/* ===== RESET E VARIÁVEIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #000000;
    --surface: #0a0a0a;
    --card-bg: #111111;
    --text: #ffffff;
    --text-secondary: #aaaaaa;
    --text-muted: #666666;
    --border: #222222;
    --border-hover: #555555;
    --accent: #ffffff;
    --accent-dim: #cccccc;
    --transition: 0.3s ease;
    --radius: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== PRÉ-LOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader-logo {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 8px;
    color: #fff;
    animation: preloaderPulse 2s infinite alternate;
}
@keyframes preloaderPulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* ===== BOTÃO VOLTAR AO TOPO ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: none;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}
.back-to-top:hover {
    animation: rocketFly 0.6s ease-in-out;
    background: #ddd;
}
@keyframes rocketFly {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* ===== NAVEGAÇÃO ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s;
}
nav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
}
.nav-links { display: flex; gap: 1.5rem; }
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

/* Menu mobile */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #000;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem;
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
}

/* ===== HEADER / HERO ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
    overflow: hidden;
}
.hero-content { text-align: center; z-index: 2; }
.logo {
    font-size: clamp(4rem, 15vw, 8rem);
    font-weight: 900;
    letter-spacing: 10px;
    color: #fff;
    margin-bottom: 1rem;
    animation: pulseLogo 3s infinite alternate;
}
@keyframes pulseLogo {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.05); opacity: 0.9; }
}
.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.7;
    min-height: 2em;
    color: var(--text-secondary);
}
.tagline::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: #fff;
}
@keyframes blink { 50% { opacity: 0; } }

/* Partículas */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
}

/* ===== SEÇÕES GERAIS ===== */
.section {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 1.5rem;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    color: #fff;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: #fff;
    margin: 0.5rem auto 0;
}

/* ===== LANÇAMENTO RECENTE ===== */
.release-card {
    display: flex;
    gap: 2rem;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: transform 0.3s, border-color 0.3s;
    flex-wrap: wrap;
}
.release-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
}
.release-cover {
    flex: 1 1 300px;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}
.release-cover iframe {
    width: 100%;
    height: 352px;
    border-radius: var(--radius);
}
.release-info {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.release-title { font-size: 2rem; margin-bottom: 0.5rem; }
.release-date { color: var(--text-secondary); margin-bottom: 1rem; }
.release-desc { margin-bottom: 1.5rem; color: var(--text-secondary); }
.release-links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: #fff;
    color: #000;
}
.btn-primary:hover {
    background: #ddd;
    transform: translateY(-2px);
}
.btn-outline {
    border: 1px solid #fff;
    color: #fff;
}
.btn-outline:hover {
    background: #fff;
    color: #000;
}
.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
}
.btn-small:hover {
    background: #fff;
    color: #000;
}

/* ===== DISCOGRAFIA / TIMELINE ===== */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #333;
}
.timeline-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.timeline-year {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    min-width: 80px;
    text-align: right;
}
.timeline-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    gap: 1rem;
    padding: 1rem;
    transition: transform 0.1s ease-out, box-shadow 0.3s, border-color 0.3s;
    flex: 1;
    cursor: default;
}
.timeline-card:hover {
    border-color: #555;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.timeline-card img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
}
.timeline-card-info h4 { margin-bottom: 0.3rem; }
.timeline-card-info p { color: var(--text-secondary); margin-bottom: 0.8rem; font-size: 0.9rem; }

/* ===== SOBRE ===== */
.about-container {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    overflow: hidden;
}
.about-photo img {
    width: 250px;
    border-radius: 50%;
    border: 2px solid #333;
}
.about-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}
.about-text p { 
    margin-bottom: 1rem; color: var(--text-secondary); 
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    text-align: center;
}
.about-stats span {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

/* ===== CONTATO ===== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
    color: #fff;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #333;
    background: #0a0a0a;
    color: #fff;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #fff;
    outline: none;
}

/* ===== FOOTER ===== */
.footer {
    background: #050505;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
    border-top: 1px solid #222;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer-col { flex: 1 1 250px; }
.footer-col h3, .footer-col h4 { margin-bottom: 1rem; color: #fff; }
.footer-col p { color: var(--text-secondary); }
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.3s;
}
.social-links a:hover { color: #fff; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover { color: #fff; }
.newsletter-form {
    display: flex;
    margin-top: 0.5rem;
}
.newsletter-form input {
    flex: 1;
    padding: 0.6rem;
    border-radius: 8px 0 0 8px;
    border: 1px solid #333;
    background: #0a0a0a;
    color: #fff;
}
.newsletter-form button {
    background: #fff;
    border: none;
    padding: 0 1rem;
    border-radius: 0 8px 8px 0;
    color: #000;
    cursor: pointer;
    transition: background 0.3s;
}
.newsletter-form button:hover { background: #ddd; }
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #222;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-bottom a { color: var(--text-secondary); }

/* ===== UTILITÁRIOS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsivo */
@media (max-width: 768px) {
    .timeline-item { flex-direction: column; }
    .timeline-year { text-align: left; }
    .about-container { flex-direction: column; }
    .release-cover iframe { height: 250px; }
}

/* Seletor de idioma */
.lang-switcher {
    position: fixed;
    top: 3.5rem;
    right: 2rem;
    z-index: 1001;
    display: flex;
    gap: 0.5rem;
}
.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
}
.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: #fff;
}
.lang-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Badge padrão (Mais recente) */
.badge-latest {
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 0.8rem;
    vertical-align: middle;
}

/* Badge "Em breve" (borda tracejada + animação de pulsar) */
.badge-latest.coming-soon {
    background: transparent;
    border: 1px dashed #aaa;
    color: #aaa;
    animation: softPulse 2s infinite;
}

@keyframes softPulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.release-date-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.countdown-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #ddd;
    font-weight: 700;
    font-size: 0.9rem;
}
.countdown-icon {
    font-size: 0.9rem;
    color: #aaa;
    animation: softPulse 2s infinite;
}