/* --- Global & Background --- */
body {
    margin: 0;
    padding: 30px 15px;
    background-color: #ffe066; 
    background-image: radial-gradient(#ffd633 15%, transparent 16%), radial-gradient(#ffd633 15%, transparent 16%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    font-family: "Trebuchet MS", "Comic Sans MS", sans-serif;
    color: #5c3a21; 
    cursor: crosshair;
}

/* --- Main Pink Container --- */
.main-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ff99cc; 
    border-radius: 15px;
    box-shadow: 0px 10px 25px rgba(0,0,0,0.15);
    position: relative;
    z-index: 10;
}

/* --- Header --- */
.site-header {
    text-align: center;
    padding: 30px 10px 15px 10px;
    color: white;
    font-size: 1.8rem;
    font-family: "Comic Sans MS", sans-serif;
    text-shadow: 3px 3px 0px #ff3399;
    letter-spacing: 3px;
}
.site-header h1 { margin: 0; }

/* --- Central Layout Box --- */
.content-layout {
    background-color: #fff9e6; 
    margin: 0 15px 20px 15px;
    border-radius: 10px;
    border: 3px solid #ff3399;
    padding: 30px;
    position: relative; 
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- Panels (The inner content boxes) --- */
.panel {
    background-color: #ffffff;
    border: 2px dashed #ff99cc;
    border-radius: 8px;
    padding: 20px;
    box-shadow: inset 0px 0px 5px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    z-index: 5;
}
.panel h2, .panel h3 {
    color: #ff3399;
    margin-top: 0;
    font-family: "Comic Sans MS", sans-serif;
}

/* --- Overlapping Stickers --- */
.sticker {
    position: absolute;
    z-index: 20;
}
.sticker img {
    width: 150px; 
    height: 150px;
    object-fit: contain; 
    border: none;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(4px 4px 5px rgba(0,0,0,0.3));
    transition: transform 0.2s;
}
.sticker:hover img { transform: scale(1.1) rotate(0deg); }

.sticker-left { top: -40px; left: -30px; }
.sticker-left img { transform: rotate(-8deg); }

.sticker-right { bottom: -20px; right: -40px; }
.sticker-right img { transform: rotate(12deg); }

/* --- Photo Gallery (Polaroids) --- */
.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}
.polaroid {
    background: white;
    padding: 10px 10px 15px 10px;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
    width: 40%;
    transition: transform 0.2s;
}
.polaroid:nth-child(even) { transform: rotate(4deg); }
.polaroid:nth-child(odd) { transform: rotate(-4deg); }
.polaroid:hover { transform: scale(1.1) rotate(0deg); z-index: 25; position: relative; }

.polaroid img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
}
.polaroid p {
    margin: 10px 0 0 0;
    font-size: 1rem;
    color: #ff3399;
    font-weight: bold;
}

/* --- Falling Flowers Animation --- */
.flower {
    position: fixed;
    top: -10%;
    font-size: 2.5rem;
    user-select: none;
    z-index: 1; 
    animation: fall 10s linear infinite;
}
.flower:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 8s; }
.flower:nth-child(2) { left: 25%; animation-delay: 2s; animation-duration: 12s; }
.flower:nth-child(3) { left: 50%; animation-delay: 4s; animation-duration: 9s; }
.flower:nth-child(4) { left: 75%; animation-delay: 1s; animation-duration: 11s; }
.flower:nth-child(5) { left: 90%; animation-delay: 3s; animation-duration: 10s; }
.flower:nth-child(6) { left: 15%; animation-delay: 5s; animation-duration: 13s; }

@keyframes fall {
    0% { transform: translateY(-10vh) rotate(0deg); }
    100% { transform: translateY(110vh) rotate(360deg); }
}