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

body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    background: linear-gradient(145deg, #1a0a0a 0%, #4b1a1a 50%, #2d1f2a 100%);
    min-height: 100vh;
    color: #ffd7d7;
    position: relative;
}

.elementos-flutuantes {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #ffaaaa, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #ff6b6b, rgba(0,0,0,0)),
        radial-gradient(3px 3px at 100px 150px, #ff8a8a, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 200px 250px, #ff4d4d, rgba(0,0,0,0)),
        radial-gradient(3px 3px at 300px 100px, #ffb3b3, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 400px 400px;
    opacity: 0.5;
    animation: estrelasPisca 4s ease-in-out infinite;
}

@keyframes estrelasPisca {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

header {
    background: rgba(40, 10, 10, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #8b0000;
    padding: 20px 40px 60px;
}

.menu-principal {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
}

.nav-link {
    color: #ffd7d7;
    text-decoration: none;
    padding: 12px 30px;
    background: rgba(139, 0, 0, 0.3);
    border: 1px solid #cd5c5c;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.nav-link:hover {
    background: #cd5c5c;
    color: #1a0a0a;
    box-shadow: 0 0 20px #cd5c5c;
}

.header-conteudo {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

h1 {
    font-size: 3.5em;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #ff6b6b, #8b0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(205, 92, 92, 0.5);
}

.subtitulo {
    font-size: 1.3em;
    color: #ffb3b3;
    margin-bottom: 10px;
}

.frase-celebracao {
    font-size: 1.2em;
    line-height: 1.6;
    color: #ffc0c0;
}

.foto-perfil {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #cd5c5c;
    box-shadow: 0 0 30px #8b0000, 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s;
}

.foto-perfil:hover {
    box-shadow: 0 0 50px #cd5c5c;
    transform: scale(1.05);
}

.bolha {
    background: rgba(205, 92, 92, 0.4);
    border-radius: 50%;
    box-shadow: 0 0 10px #cd5c5c;
    animation: estrelaCadente 5s infinite;
}

@keyframes estrelaCadente {
    0% { transform: translate(0, 0) scale(0); opacity: 0; }
    50% { transform: translate(-50px, -50px) scale(1); opacity: 0.8; }
    100% { transform: translate(-100px, -100px) scale(0); opacity: 0; }
}

main {
    max-width: 1200px;
    margin: -40px auto 40px;
    padding: 0 40px;
}

section {
    background: rgba(40, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid #8b0000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.section-titulo {
    font-size: 2.2em;
    color: #ffb3b3;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 10px;
    margin-bottom: 30px;
    display: inline-block;
    text-shadow: 0 0 10px #cd5c5c;
}

.card-significado {
    background: rgba(139, 0, 0, 0.2);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #8b0000;
    transition: all 0.3s;
}

.card-significado:hover {
    background: rgba(205, 92, 92, 0.2);
    box-shadow: 0 0 30px #cd5c5c;
}

.icone-card {
    font-size: 2.5em;
    display: block;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px #cd5c5c);
}

.ficha-livro {
    background: rgba(30, 10, 10, 0.7);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #8b0000;
    position: relative;
    backdrop-filter: blur(5px);
}

.badge-ano {
    background: linear-gradient(135deg, #8b0000, #cd5c5c);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
}

footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a2632 100%);
    padding: 2rem 1rem;
    margin-top: 3rem;
    border-top: 3px solid #e91e63;
    position: relative;
}

.footer-conteudo {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.5px;
}

.contatos-pessoais {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: inline-block;
    min-width: 250px;
    backdrop-filter: blur(10px);
}

.footer-mensagem {
    color: #ff69b4;
    font-size: 0.85rem;
    font-weight: bold;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.link-instagram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.link-instagram:hover {
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.link-instagram i {
    font-size: 1.1rem;
}

.link-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.link-email:hover {
    background: #e91e63;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
}

.link-email i {
    font-size: 1rem;
}

.simbolos-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #ff69b4;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

footer::before {
    content: "❤️";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: #e91e63;
    font-size: 1.5rem;
    padding: 0 15px;
    border-radius: 50%;
}

@media (max-width: 768px) {
    footer {
        padding: 1.5rem 0.8rem;
    }
    
    .contatos-pessoais {
        min-width: 200px;
        padding: 0.8rem;
    }
    
    .link-instagram,
    .link-email {
        font-size: 0.85rem;
        padding: 4px 10px;
    }
    
    .simbolos-footer {
        font-size: 0.85rem;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .contatos-pessoais {
        width: 90%;
        min-width: auto;
    }
    
    .link-instagram,
    .link-email {
        font-size: 0.75rem;
        word-break: break-all;
    }
    
    .simbolos-footer {
        font-size: 0.75rem;
    }
}

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

footer {
    animation: fadeInUp 0.6s ease-out;
}

.contatos-pessoais {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.simbolos-footer {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}