*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #fff2d6 0%, ffe8b3 50%, #fff2d6 100%);
    background-size: 200% 200%;
    animation: gradientBG 10s ease infinite;
    min-height: 100vh;
    overflow-x:hidden;
}
@keyframes gradientBG{
    0%{background-position: 0% 50%; }
    50%{background-position: 100% 50%; }
    100%{background-position: 0% 50%; }
}
.title-font{font-family: 'Fredoka One', cursive; }
.handwritten-font{font-family: 'Homemade Apple', cursive; }

body::before, body::after{
    content: '';
    position: fixed;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.15;
}
body::before{
    top: 30px; left: 30px;
    width: 220PX; height: 220px;
    background-color: #d32f2f;
}
body::after{
    bottom: 30px; right: 30px;
    width: 250px; height: 250px;
    background-color: #d32f2f;
}

#lock-screen{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
   background: linear-gradient(135deg, #d32f2f, #b71c1c);
   text-align: center;
   color: white;
}
.lock-container{
   background: rgba(255,255,255,0.25);
   backdrop-filter: blur(5px);
   padding: 40px;
   border-radius: 20px;
   box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.lock-container h1{
    font-size: 2em;
    margin-bottom: 20px;
}

.lock-container input{
    padding: 12px;
    font-size: 1.1em;
    border: none;
    border-radius: 10px;
    width: 250px;
    text-align: center;
    outline: none;
}
.lock-container button{
    margin-top: 15px;
    padding: 12px 28px;
    background-color: #ffd700;
    color: #333;
    font-weight: bold;
    font-size: 1.1em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.lock-container button:hover{
    background-color: #fdd835;
    transform: scale(1.05);
}
#content-wrapper{
    display: none;
    padding: 40px 20px;
    text-align: center;
}
.hero-container{
    margin-bottom: 50px;
}
.hero-card-link{
    text-decoration: none;
    display: inline-block;
}
.hero-card-link{
    display: inline-block;
    padding: 15px;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}
.hero-card:hover{
    transform: scale(1.05);
}
hero-card img{
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}
.birthday-text{
    font-size: 3rem;
    color: #d32f2f;
    margin-top: 15px;
    letter-spacing: 2px;
}

.gallery-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
}
.polaroid{
    background-color: #ffffff;
    padding: 15px 15px 50px 15px;
    width: 240px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}
.polaroid:hover{
    transform: rotate(-0.5deg) translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}
.polaroid .photo-wrapper{
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.polaroid img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.polaroid .caption{
    font-size: 1em;
    color: #333;
    position: absolute;
    bottom: 12px;
    left: 10px;
    right: 10px;
    text-align: center;
}
.polaroid.zoomed{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50% -50%)!important;
    width: 85vw;
    max-width: 500px;
    height: auto;
    padding: 20px 20px 70px 20px;
    z-index: 999;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    cursor: zoom-out;
}
.polaroid.zoomed .photo-wrapper{
    height: 380px;
}
.polaroid.zoomed img{
   object-fit: contain;
}

.polaroid.zoomed .caption{
    font-size: 1.4em;
    bottom: 20px;
}
.music-page-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    text-align: center;
}
.music-title{
    color: #d32f2f;
    font-size: 2.5em;
    margin-bottom: 25px;
}
.player-wrapper{
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    margin-bottom: 30px;
}
.back-btn{
    display: inline-block;
    padding: 10px 25px;
    background-color: #ffd700;
    color: #333;
    text-decoration: none;
    border-radius:12px ;
    font-size: 1.1em;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s, background-color 0.2s;
}
.back-btn:hover{
    background-color: #fdd835;
    transform: scale(1.05);
}