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

html, body {
    background: linear-gradient(to bottom, #0a0a1a, #1a1a3a, #0a0a1a);
    min-height: 100vh;
    overflow: hidden;
    font-family: 'Microsoft YaHei', sans-serif;
}

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



#countdown-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

#greeting-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    overflow: hidden;
    pointer-events: none;
}

.countdown-number {
    position: absolute;
    font-size: 200px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 20px #ff6b6b, 0 0 40px #ff6b6b, 0 0 60px #ff6b6b;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease-out;
}

.countdown-number.show {
    opacity: 1;
    transform: scale(1);
}

.countdown-number.hide {
    opacity: 0;
    transform: scale(1.5);
}

.greeting-text {
    font-size: 80px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 20px #ffd700, 0 0 40px #ff6b6b, 0 0 60px #ff1493;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s ease-out;
}

.greeting-text.show {
    opacity: 1;
    transform: scale(1);
}

.sub-greeting {
    font-size: 36px;
    color: #fff;
    text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88;
    margin-top: 30px;
    opacity: 0;
    transition: opacity 1s ease-out 0.5s;
}

.sub-greeting.show {
    opacity: 1;
}

/* 横屏提示 */
#landscape-prompt {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a1a;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 100;
}



#landscape-prompt.show {
    display: flex;
}

.rotate-icon {
    font-size: 80px;
    color: #ffd700;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

#landscape-prompt p {
    color: #fff;
    font-size: 24px;
    margin-top: 20px;
}
