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

body {
    overflow: hidden;
    font-family: 'Georgia', 'Garamond', serif;
    background: 
        radial-gradient(800px 600px at 50% 80%, rgba(220, 20, 60, 0.06), transparent 50%),
        radial-gradient(1200px 800px at 50% 50%, rgba(220, 20, 60, 0.08), transparent 60%),
        #000000;
    position: relative;
    width: 100vw;
    height: 100vh;
    animation: subtleBackgroundShift 20s ease-in-out infinite;
}

@keyframes subtleBackgroundShift {
    0%, 100% { background-position: 50% 50%; }
    50% { background-position: 52% 48%; }
}

#canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Light Flares */
.light-flare {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: flareGlow 4s ease-in-out infinite;
    opacity: 0;
    pointer-events: none;
}

.flare-1 {
    width: clamp(200px, 40vw, 300px);
    height: clamp(200px, 40vw, 300px);
    top: 55%;
    left: 30%;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.25) 0%, rgba(255, 105, 180, 0.1) 40%, transparent 70%);
    animation-delay: 2s;
}

.flare-2 {
    width: clamp(150px, 35vw, 250px);
    height: clamp(150px, 35vw, 250px);
    top: 50%;
    right: 30%;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.2) 0%, rgba(255, 182, 193, 0.08) 40%, transparent 70%);
    animation-delay: 3s;
}

@keyframes flareGlow {
    0%, 100% {
        opacity: 0;
        transform: scale(0.85);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

/* Sparkles */
.sparkle {
    position: absolute;
    font-size: clamp(15px, 3vw, 20px);
    color: #dc143c;
    animation: sparkleFloat 3s ease-in-out infinite;
    opacity: 0;
    text-shadow: 
        0 0 10px rgba(220, 20, 60, 0.8),
        0 0 20px rgba(255, 105, 180, 0.5),
        0 0 30px rgba(220, 20, 60, 0.3);
    pointer-events: none;
    will-change: transform, opacity;
}

.sparkle-1 {
    top: 65%;
    left: 20%;
    animation-delay: 3s;
}

.sparkle-2 {
    top: 60%;
    right: 20%;
    animation-delay: 4s;
}

.sparkle-3 {
    top: 70%;
    left: 50%;
    animation-delay: 5s;
}

.sparkle-4 {
    top: 55%;
    right: 35%;
    animation-delay: 6s;
}

@keyframes sparkleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
}

/* Message */
.message {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    animation: fadeInMessage 2.5s ease-in forwards;
    animation-delay: 8s;
    width: 90%;
    max-width: 800px;
    z-index: 10;
}

.message h1 {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #dc143c 0%, #ff69b4 25%, #ff6b6b 50%, #ff69b4 75%, #dc143c 100%);
    background-size: 200% 200%;
    animation: gradientShimmer 4s ease-in-out infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 20px;
    line-height: 1.4;
    font-style: italic;
    filter: drop-shadow(0 0 20px rgba(220, 20, 60, 0.4)) drop-shadow(0 0 40px rgba(255, 105, 180, 0.2));
}

@keyframes gradientShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes fadeInMessage {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .message {
        top: 5%;
    }
    
    .message h1 {
        letter-spacing: 0.02em;
    }
}

@media (max-width: 480px) {
    .message {
        top: 5%;
    }
    
    .message h1 {
        letter-spacing: 0.01em;
        padding: 0 10px;
    }
}

@media (min-width: 1920px) {
    .message {
        top: 12%;
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
