body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background-image: url('1.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.danmu-container {
    position: relative;
    width: 100%;
    height: 80vh;
}

.danmu {
    position: absolute;
    white-space: nowrap;
    font-family: 'Microsoft Yahei', sans-serif;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
    animation: danmuMove 8s linear forwards;
    background: linear-gradient(to right, #ff6b6b, #ffcc00, #7bed9f, #70a1ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
}

@keyframes gradientMove {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes danmuMove {
    from { left: 100%; }
    to { left: -100%; }
}

@-ms-keyframes danmuMove {
    from { left: 100%; }
    to { left: -100%; }
}

@-ms-keyframes danmuMove {
    from { left: 100%; }
    to { left: -100%; }
}

.input-controls {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.input-controls select, 
.input-controls input[type="color"] {
    padding: 5px;
    border-radius: 5px;
    border: none;
}

@keyframes gradient {
    0% { 
        background-position: 0% center;
    }
    100% { 
        background-position: 200% center;
    }
}

@-webkit-keyframes danmuMove {
    0% { -webkit-transform: translateX(100vw); }
    100% { -webkit-transform: translateX(-100%); }
}

@-webkit-keyframes gradient {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@-ms-keyframes danmuMove {
    0% { -ms-transform: translateX(100vw); }
    100% { -ms-transform: translateX(-100%); }
}

@-ms-keyframes gradient {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* 删除这些不需要的样式 */
/* 删除这个样式 */
.footer-message {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 0;
    text-align: center;
    z-index: 1000;
}

.input-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    z-index: 1000;
}

.thank-you-text {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    font-family: "Microsoft YaHei", sans-serif;
    margin: 15px 0;
    line-height: 1.5;
    text-shadow: 
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 30px #fff;
    position: relative;
    z-index: 1001;
}

/* 删除其他重复的样式定义 */
input[type="text"] {
    padding: 10px;
    width: 200px;
    border: none;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}