* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    overflow: hidden;
    font-family: 'Microsoft YaHei', 'SimHei', Arial, sans-serif;
    position: relative;
}

canvas {
    display: block;
    background: #000;
    width: 100%;
    height: 100%;
}

.flashing-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    font-weight: bold;
    color: #ff0066;
    text-shadow: 
        0 0 10px #ff0066,
        0 0 20px #ff0066,
        0 0 30px #ff0066,
        0 0 40px #ff0066;
    z-index: 1000;
    animation: flash 1.5s ease-in-out infinite;
    pointer-events: none;
    white-space: nowrap;
}

.flashing-heart {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    z-index: 999;
    animation: heartPulse 2s ease-in-out infinite;
    pointer-events: none;
    filter: drop-shadow(0 0 20px rgba(255, 0, 102, 0.8));
}

@keyframes flash {
    0%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes heartPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.9);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .flashing-text {
        font-size: 40px;
    }
    
    .flashing-heart {
        font-size: 60px;
    }
}
