body {
    margin: 0;
    height: 100vh;
    background-color: black;

    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

#particle-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: block;
} 

.center-button {
    position: relative;
    z-index: 1;
    padding: 12px 22px;
    font-size: 16px;
    color: white;
    background-color: #222;
    border: 2px solid white;
    cursor: pointer;

    transition: opacity 0.6s ease;
}

.center-button.fade-out{
    opacity: 0;
    pointer-events: none;
}

.center-button:active {
    background-color: white;
    color: black;
} 

#love-message {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 70%;
    color: white;
    font-family: Arial, sans-serif;
    font-size: clamp(18px, 5.2vw, 28px);
    text-align: center;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translate(-50%, 10px) scale(0.98);
    transition: opacity 1.2s ease, transform 1.2s ease;
    pointer-events: none;
}

#love-message::before {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 60, 120, 0.35), transparent 55%),
        radial-gradient(circle at 80% 40%, rgba(255, 120, 180, 0.28), transparent 55%),
        radial-gradient(circle at 50% 80%, rgba(255, 80, 130, 0.25), transparent 60%);
    filter: blur(8px);
    opacity: 0;
    transition: opacity 1.2s ease;
    animation: particle-pulse 3.2s ease-in-out infinite;
    z-index: -1;
}

#love-message.show {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

#love-message.show::before {
    opacity: 1;
}

@keyframes particle-pulse {
    0%, 100% { opacity: 0.35; transform: scale(0.98); }
    50% { opacity: 0.7; transform: scale(1.02); }
}
