* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    background: #000;
    min-height: 100vh;
}

.hero {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    background: linear-gradient(135deg, #1a0000 0%, #4d0000 15%, #660033 30%, #8b0043 50%, #4d0000 70%, #330000 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Luminous lights effect */
.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 50, 0.5) 0%, rgba(139, 0, 50, 0.3) 50%, transparent 80%);
    border-radius: 50%;
    top: -150px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
    filter: blur(60px);
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 0, 80, 0.4) 0%, rgba(100, 0, 40, 0.2) 50%, transparent 80%);
    border-radius: 50%;
    bottom: -200px;
    right: -150px;
    animation: float 12s ease-in-out infinite reverse;
    filter: blur(80px);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, 30px);
    }
}

.text-container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 16px;
}

.tilipop-text {
    font-size: clamp(12px, 3vw, 18px);
    font-weight: 900;
    letter-spacing: clamp(2px, 1.8vw, 8px);
    text-transform: uppercase;
    line-height: 0.9;
    background: linear-gradient(90deg, 
        #ff0040, 
        #cc0033,
        #ff1a6e,
        #8b0043,
        #ff0040,
        #cc0033
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradientShift 3s ease infinite, textGlow 2s ease-in-out infinite, textPulse 2.6s ease-in-out infinite;
    filter: drop-shadow(0 0 40px #ff0040) 
            drop-shadow(0 0 70px #cc0033) 
            drop-shadow(0 0 100px #8b0043)
            drop-shadow(0 0 140px #660033);
    text-shadow: 
        0 0 30px rgba(255, 0, 64, 1),
        0 0 50px rgba(204, 0, 51, 0.9),
        0 0 80px rgba(139, 0, 67, 0.8),
        0 0 120px rgba(102, 0, 51, 0.6);
}

@keyframes textGradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes textGlow {
    0%, 100% {
        filter: drop-shadow(0 0 40px #ff0040) 
                drop-shadow(0 0 70px #cc0033) 
                drop-shadow(0 0 100px #8b0043)
                drop-shadow(0 0 140px #660033);
    }
    50% {
        filter: drop-shadow(0 0 60px #ff0040) 
                drop-shadow(0 0 100px #cc0033) 
                drop-shadow(0 0 140px #8b0043)
                drop-shadow(0 0 180px #660033);
    }
}

@keyframes textPulse {
    0% {
        opacity: 0.25;
        transform: scale(0.98);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0.3;
        transform: scale(0.99);
    }
}

.sparkle-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.start-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-align: center;
    background: radial-gradient(circle at 50% 40%, rgba(30, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
    z-index: 20;
    transition: opacity 0.4s ease;
}

.start-button {
    appearance: none;
    border: 2px solid rgba(255, 0, 64, 0.9);
    background: linear-gradient(135deg, rgba(120, 0, 10, 0.9), rgba(30, 0, 0, 0.9));
    color: #ffd1dc;
    padding: 14px 22px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 0, 64, 0.6);
}

.start-button:active {
    transform: translateY(1px);
}

.start-hint {
    color: rgba(255, 220, 220, 0.8);
    font-size: 14px;
}

.reveal-image-wrap {
    position: absolute;
    z-index: 7;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    transition: opacity 0.5s ease, transform 0.6s ease;
}

.reveal-image {
    width: min(70vw, 420px);
    height: auto;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 30px rgba(255, 0, 64, 0.6), 0 0 60px rgba(80, 0, 0, 0.8);
}

body.is-unlocked .start-overlay {
    opacity: 0;
    pointer-events: none;
}

body.is-unlocked .reveal-image-wrap {
    opacity: 1;
    transform: translateY(0) scale(1);
}

body.is-unlocked .sparkle-container {
    opacity: 1;
}

.sparkle {
    position: absolute;
    opacity: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(0, 0) scale(0.85);
}

@keyframes sparkleAppear {
    0% {
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes sparkleVibe {
    0% {
        transform: translate(-30px, 20px) scale(0.7);
    }
    50% {
        transform: translate(0, 0) scale(1.1);
    }
    100% {
        transform: translate(15px, -10px) scale(0.9);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 16px;
    }

    .tilipop-text {
        line-height: 0.95;
    }

    .reveal-image {
        width: min(78vw, 360px);
    }

    .start-button {
        width: min(80vw, 320px);
        font-size: 14px;
        padding: 12px 18px;
    }
}
