* {
    box-sizing: border-box;
}

body {
    margin: 0;
    height: calc(var(--vh, 1vh) * 100);
    background: radial-gradient(circle at top, #3b0a2e, #0e0e0e);
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: white;
    overflow: hidden;
}

/* Subtle glowing background */
.bg-glow {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,80,120,0.25), transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(255,140,180,0.18), transparent 45%);
    animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Centered intro */
.intro-screen {
    position: relative;
    z-index: 2;
    height: calc(var(--vh, 1vh) * 100);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Heart / Logo */
.logo {
    font-size: 48px;
    margin-bottom: 18px;
    animation: heartbeat 1.6s infinite;
    color: #ff8fab;
}

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

/* Typewriter text */
#typewriter {
    font-size: 18px;
    line-height: 1.7;
    min-height: 120px;
    letter-spacing: 0.3px;
    text-shadow: 0 0 12px rgba(255,120,160,0.4);
    text-align: center;
}

/* Tap hint */
.hint {
    margin-top: 28px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hint.show {
    opacity: 0.6;
}

/* Mobile optimization */
@media (max-width: 480px) {
    #typewriter {
        font-size: 16px;
    }
}

