/* style.css */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    overflow-x: hidden; /* Prevent horizontal scroll from tilted images */
}

/* --- Home Page Specifics --- */
.home-page {
    /* Removed the static background image to show the falling cakes */
    background: linear-gradient(135deg, #2c3e50, #000000); 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Container for falling elements so they stay behind text */
#falling-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through */
    z-index: -1;
    overflow: hidden;
}

.falling-item {
    position: absolute;
    top: -50px;
    font-size: 2rem;
    animation: fall linear forwards;
}

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

/* --- Typography --- */
h1 { font-size: 3.5rem; margin-bottom: 10px; color: #f1c40f; text-shadow: 2px 2px 4px #000; }
.subtitle { font-size: 1.2rem; color: #ddd; margin-bottom: 30px; }

/* --- Collage / Polaroids --- */
.collage-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.polaroid {
    background: white;
    padding: 10px 10px 30px 10px; /* Extra bottom padding for polaroid look */
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.polaroid img {
    max-width: 250px; /* Adjust size of images on home page */
    display: block;
    border: 1px solid #ddd;
}

.polaroid:hover {
    transform: scale(1.1) rotate(0deg) !important; /* Pop up on hover */
    z-index: 10;
}

.rotate-left { transform: rotate(-5deg); }
.rotate-right { transform: rotate(5deg); }

/* --- Buttons --- */
.btn {
    text-decoration: none;
    color: white;
    border: 2px solid white;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 50px;
    transition: 0.3s;
    display: inline-block;
    font-weight: bold;
    background: rgba(0,0,0,0.5);
}
.btn:hover { background-color: white; color: black; }
.btn-primary { background-color: #f1c40f; border-color: #f1c40f; color: black; }

/* --- Video Page Styles (Kept from before) --- */
.video-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
.video-container { position: relative; max-width: 600px; width: 90%; }
video { width: 100%; border-radius: 10px; box-shadow: 0 0 20px rgba(241, 196, 15, 0.5); }
#impact-text {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 8rem; font-weight: bold; color: #fff;
    text-shadow: 0 0 20px #f1c40f, 0 0 40px red;
    pointer-events: none; opacity: 0;
}
.explode { animation: zoomExplode 0.5s ease-out forwards; }
@keyframes zoomExplode {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}