* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #fef6f9 0%, #f0f4ff 50%, #fef9f6 100%);
    font-family: 'Courier New', Courier, monospace;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

html {
    height: -webkit-fill-available;
}

.container {
    text-align: center;
    padding: 20px 10px;
    z-index: 10;
    width: 100%;
    max-width: 100vw;
}

pre {
    line-height: 1.1;
    white-space: pre;
    display: inline-block;
    text-align: center;
}

.ascii-heart {
    color: #ffb6c1;
    font-size: clamp(8px, 2.5vw, 14px);
    text-shadow: 0 0 15px #ffc0cb, 0 0 25px #ffb6c1;
    animation: pulse 1.5s ease-in-out infinite;
    margin-bottom: 25px;
}

.love-text {
    color: #b5d8f7;
    font-size: clamp(6px, 1.8vw, 12px);
    text-shadow: 0 0 10px #b5d8f7, 0 0 20px #e6c4f2;
    animation: colorShift 5s ease-in-out infinite;
    line-height: 1.15;
}

#hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.falling-heart {
    position: absolute;
    text-shadow: 0 0 8px currentColor;
    font-family: 'Courier New', Courier, monospace;
    pointer-events: none;
    will-change: transform;
}

@keyframes colorShift {
    0%, 100% {
        color: #b5d8f7;
        text-shadow: 0 0 10px #b5d8f7, 0 0 20px #e6c4f2;
    }
    25% {
        color: #f7c5d8;
        text-shadow: 0 0 10px #f7c5d8, 0 0 20px #c9f7c5;
    }
    50% {
        color: #e6c4f2;
        text-shadow: 0 0 10px #e6c4f2, 0 0 20px #f7e5c5;
    }
    75% {
        color: #c5f0f7;
        text-shadow: 0 0 10px #c5f0f7, 0 0 20px #f7c5d8;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes fall {
    to {
        transform: translateY(110vh);
    }
}

@media screen and (max-width: 600px) {
    .container {
        padding: 15px 5px;
    }
    
    .love-text {
        font-size: 5px;
    }
    
    .ascii-heart {
        font-size: 8px;
    }
}

@media screen and (max-width: 380px) {
    .love-text {
        font-size: 4px;
    }
}