* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background:
      radial-gradient(circle at top, #ffeb3b, transparent 40%),
      radial-gradient(circle at bottom, #00e5ff, transparent 40%),
      linear-gradient(270deg, #ff512f, #dd2476, #24c6dc, #514a9d);
    background-size: 400% 400%;
    animation: bgMove 12s infinite;
    color: white;
}

@keyframes bgMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
}

.screen {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 25px;
}

.hidden {
    display: none;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    text-shadow: 0 0 25px gold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    50% { transform: scale(1.08); }
}

/* BIG WISH */
.big-wish {
    max-width: 1100px;
    margin-top: 30px;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    line-height: 1.5;
}

.from {
    margin-top: 25px;
    font-size: 1.6rem;
    color: #ffd700;
}

.instruction {
    margin-top: 25px;
    font-size: 1.4rem;
    color: #fffacd;
}

button {
    margin-top: 30px;
    padding: 18px 45px;
    font-size: 2rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(45deg, #ffeb3b, #ff9800);
    box-shadow: 0 0 30px rgba(255,200,0,1);
}

/* Gift screen */
.gift-box {
    font-size: 8rem;
    animation: shake 0.8s infinite;
}

@keyframes shake {
    0% { transform: rotate(0); }
    50% { transform: rotate(12deg); }
    100% { transform: rotate(0); }
}

.big-smile {
    font-size: 9rem;
    margin-top: 20px;
    animation: smilePop 1.5s infinite;
}

@keyframes smilePop {
    50% { transform: scale(1.2); }
}

.floating img {
    width: 75px;
    position: absolute;
    animation: floatUp 3s infinite;
}

.floating img:nth-child(1) { left: 15%; }
.floating img:nth-child(2) { left: 30%; animation-delay: .4s; }
.floating img:nth-child(3) { left: 50%; animation-delay: .8s; }
.floating img:nth-child(4) { left: 65%; animation-delay: 1.2s; }
.floating img:nth-child(5) { left: 80%; animation-delay: 1.6s; }

@keyframes floatUp {
    0% { bottom: 10%; opacity: 0; transform: scale(0.6); }
    50% { opacity: 1; }
    100% { bottom: 85%; opacity: 0; transform: scale(1.4); }
}

.gift-text {
    margin-top: 35px;
    font-size: 1.8rem;
    color: #fffacd;
    max-width: 1000px;
}
