*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:#0b0816;
color:white;
overflow-x:hidden;
}

#login{
height:100vh;
background:
linear-gradient(
rgba(0,0,0,.5),
rgba(0,0,0,.8)
),
url("img/fondo-login.jpg");

background-size:cover;
background-position:center;

display:flex;
justify-content:center;
align-items:center;
}

.login-box{
backdrop-filter:blur(15px);
background:rgba(255,255,255,.08);
padding:40px;
border-radius:25px;
text-align:center;
width:90%;
max-width:400px;
}

#clock{
font-size:50px;
margin-bottom:20px;
}

input{
width:100%;
padding:15px;
border:none;
border-radius:15px;
margin-top:20px;
font-size:20px;
text-align:center;
}

button{
margin-top:20px;
padding:15px 25px;
border:none;
border-radius:20px;
cursor:pointer;
font-size:18px;
background:#c76dff;
color:white;
}

#mensaje{
margin-top:15px;
}

#mainContent{
display:none;
}

.hero{
height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
padding:20px;
}

.hero h1{
font-size:4rem;
}

.subtitle{
margin-top:20px;
font-size:1.3rem;
max-width:600px;
}

#contador{
margin-top:40px;
font-size:2rem;
font-weight:bold;
color:#ffb3ff;
}

.timeline{
padding:100px 30px;
max-width:900px;
margin:auto;
}

.timeline h2{
text-align:center;
margin-bottom:60px;
}

.card{
background:#171126;
padding:30px;
margin-bottom:30px;
border-radius:20px;
transition:.4s;
}

.card:hover{
transform:translateY(-10px);
}

.letter{
text-align:center;
padding:100px 20px;
}

.envelope{
font-size:80px;
cursor:pointer;
}

#letterContent{
display:none;
max-width:700px;
margin:auto;
margin-top:40px;
}

.gallery{
padding:100px 20px;
}

.gallery h2{
text-align:center;
margin-bottom:40px;
}

.photos{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:20px;
}

.photos img{
width:300px;
height:400px;
object-fit:cover;
border-radius:20px;
}

.surprise{
padding:100px 20px;
text-align:center;
}

#finalMessage{
display:none;
margin-top:40px;
font-size:1.2rem;
line-height:2;
}

#stars{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
z-index:-1;
}
.shake{
    animation: shake .4s;
}

@keyframes shake{
    0%,100%{transform:translateX(0);}
    25%{transform:translateX(-8px);}
    75%{transform:translateX(8px);}
}