body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(to bottom, #8B0000, #B22222, #CD5C5C);
    font-family: "Microsoft YaHei", sans-serif;
    color: #FFD700;
    text-align: center;
}

.container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    padding-top: 10vh;
}

h1 {
    font-size: 3.5rem;
    text-shadow: 0 0 10px #FF0000, 0 0 20px #FF4500;
    margin-bottom: 20px;
    animation: glow 2s infinite alternate;
}

h2 {
    font-size: 2rem;
    text-shadow: 0 0 5px #FF8C00;
    margin-bottom: 30px;
}

.flag-container {
    width: 300px;
    height: 200px;
    margin: 20px auto;
    position: relative;
    perspective: 1000px;
}

.flag {
    width: 100%;
    height: 100%;
    background-color: #DE2910;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
    transform-style: preserve-3d;
    animation: wave 8s infinite ease-in-out;
    border-radius: 2px;
}

.flag::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.1) 100%);
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    color: #FFDE00;
    font-size: 24px;
    text-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.large-star {
    font-size: 48px;
    top: 10px;
    left: 20px;
}

.small-star {
    font-size: 16px;
}

.firework {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    box-shadow: 0 0 10px 5px;
    animation: explode 1s ease-out forwards;
    opacity: 0;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #FF0000, 0 0 20px #FF4500;
    }
    to {
        text-shadow: 0 0 15px #FF0000, 0 0 30px #FF4500, 0 0 40px #FF8C00;
    }
}

@keyframes wave {
    0%, 100% {
        transform: rotateY(0deg) rotateX(0deg);
    }
    25% {
        transform: rotateY(5deg) rotateX(2deg);
    }
    50% {
        transform: rotateY(0deg) rotateX(5deg);
    }
    75% {
        transform: rotateY(-5deg) rotateX(2deg);
    }
}

@keyframes explode {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(20);
        opacity: 0;
    }
}

.date {
    font-size: 2.5rem;
    margin-top: 30px;
    color: #FFFFFF;
    text-shadow: 0 0 10px #FF0000;
    animation: pulse 1.5s infinite;
}

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