* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Prompt', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #0c192c, #060e1b);
    color: white;
    margin: 0;
}

h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-align: center;
    animation: fade-in 1s ease-in-out forwards;
}

p {
    font-size: 2rem;
    text-align: center;
    animation: fade-in 1s ease-in-out forwards;
    animation-delay: 0.5s;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cake-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 100px;
}

.plate {
    width: 210px;
    height: 55px;
    border-radius:50%;
    background-color:white;
    position:relative;
    top:65px;
    left: -17px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.cake {
    position: relative;
    width: 180px;
}

.layer1 {
    width:185px;
    height:55px;
    background-color:#261B09;
    border-radius:50% 50% 100% 100%;
    position:absolute;
    left:-5px;
    top:50px;
}

.top1{
    width:185px;
    height:55px;
    border-radius:50%;
    background-color:#514015;
    position:absolute;
    border-radius:50%;
    left: -5px;
    top: 35px;
}

.layer2 {
    width:165px;
    height:55px;
    background-color:#261B09;
    border-radius:50% 50% 100% 100%;
    position:absolute;
    left:5px;
    top:20px;
}

.top2{
    width:165px;
    height:55px;
    border-radius:50%;
    background-color:#514015;
    position:absolute;
    border-radius:50%;
    left: 5px;
    top: 0px;
}

.layer3 {
    width: 145px;
    height: 55px;
    background-color: #261B09;
    border-radius: 50% 50% 100% 100%;
    position: absolute;
    left: 15px;
    top: -10px;
}

.top3{
    width:145px;
    height:55px;
    border-radius:50%;
    background-color:#ff3a9c;
    position: absolute;
    border-radius: 50%;
    left: 15px;
    top:-25px;
}

.candle {
    position: absolute;
    width: 12px;
    height: 50px;
    background-color: red;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

.fire {
    position: absolute;
    width: 20px;
    height: 30px;
    background: radial-gradient(circle, gold, orange);
    border-radius: 100% 100% 70% 70%;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    animation: flicker 0.5s infinite alternate;
}

@keyframes flicker {
    0% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.1);
    }
    100% {
        transform: translateX(-50%) scale(1);
    }
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--color, yellow);
    border-radius: 50%;
    animation: fall 3s linear infinite;
    top: -20px;
}

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