/* Estilos Gerais */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ff0000, #8b0000);
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    animation: luzesCintilantes 15s infinite alternate;
}

@keyframes luzesCintilantes {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Rosa CSS */
.rosa {
    position: absolute;
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    animation: pulsarSuave 2s infinite alternate;
}

@keyframes pulsarSuave {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -50%) scale(1.1); }
}

.centro-rosa {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #5c1a1a;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 0 10px #8b0000,
        0 0 20px #ff4500,
        0 0 30px #ff8c00;
    z-index: 12;
}

.petala {
    position: absolute;
    width: 60px;
    height: 80px;
    background: linear-gradient(45deg, #ff0000, #c70000);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: 
        inset 0 0 10px #ff6b6b,
        0 0 5px rgba(0,0,0,0.3);
    filter: drop-shadow(0 0 5px #ff4500);
    z-index: 11;
    transition: all 0.5s;
}

/* Posicionamento das pétalas */
.p1 { transform: rotate(0deg) translateY(-40px); }
.p2 { transform: rotate(45deg) translateY(-40px); }
.p3 { transform: rotate(90deg) translateY(-40px); }
.p4 { transform: rotate(135deg) translateY(-40px); }
.p5 { transform: rotate(180deg) translateY(-40px); }
.p6 { transform: rotate(225deg) translateY(-40px); }
.p7 { transform: rotate(270deg) translateY(-40px); }
.p8 { transform: rotate(315deg) translateY(-40px); }

/* Pétalas flutuantes */
.flutuante {
    position: absolute;
    width: 30px;
    height: 45px;
    background: linear-gradient(45deg, #ff0000, #ff6b6b);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    filter: drop-shadow(0 0 5px gold);
    z-index: 5;
    animation: cair linear forwards;
}

@keyframes cair {
    to { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

/* Mensagens */
.mensagem {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    text-shadow: 0 0 15px gold, 0 0 25px #ff69b4;
    text-align: center;
    opacity: 0;
    transition: opacity 2s;
    z-index: 20;
    width: 90%;
    line-height: 1.4;
    font-weight: bold;
}

/* Corações CSS */
.coracao {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #ff6b6b;
    transform: rotate(45deg);
    z-index: 15;
    animation: flutuar 5s linear forwards;
}

.coracao:before, .coracao:after {
    content: '';
    width: 30px;
    height: 30px;
    background-color: #ff6b6b;
    border-radius: 50%;
    position: absolute;
}

.coracao:before { top: -15px; left: 0; }
.coracao:after { top: 0; left: -15px; }

@keyframes flutuar {
    0% { transform: rotate(45deg) translateY(0); opacity: 1; }
    100% { transform: rotate(45deg) translateY(-150px); opacity: 0; }
}

/* Botão */
.botao-reiniciar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    background: linear-gradient(45deg, #ff1493, #ff69b4);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    z-index: 30;
    opacity: 0;
    transition: all 0.5s;
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.7);
}
