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

body {
    font-family: Arial, sans-serif;
    background-color: #6a4c93;
    color: white;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* 层结构定义 */
.layer-1 { z-index: 1; }
.layer-2 { z-index: 2; }
.layer-3 { z-index: 3; }
.layer-4 { z-index: 4; }
.layer-5 { z-index: 5; }

/* 时间模块容器 */
.time-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: 500px;
    z-index: 5; /* 时间模块在第5层 */
}

.time-display {
    font-size: 80px;
    font-weight: bold;
    margin-bottom: 10px;
}

.date-module {
    font-size: 20px;
    margin-bottom: 30px;
    color: white;
}

.millisecond {
    color: red;
}

/* 进度条容器 */
.progress-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.progress-container {
    width: 400px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    display: none;
    z-index: 1; /* 进度条容器在第1层 */
}

.progress-bar {
    height: 100%;
    background-color: red;
    border-radius: 5px;
    width: 0%;
    transition: width 0.001s linear;
    position: relative;
    z-index: 2; /* 进度条在第2层 */
}

.progress-markers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 3; /* 标记在第3层 */
}

.marker {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marker-circle {
    width: 10px;
    height: 10px;
    border: 2px solid white;
    border-radius: 50%;
    background-color: transparent;
    margin-top: -5px;
}

.marker-label {
    font-size: 10px;
    margin-top: 15px;
    color: white;
}

/* 备案号 */
.footer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: white;
    z-index: 5; /* 备案号在第5层 */
}

.footer a {
    color: white;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .time-display {
        font-size: 60px;
    }
    
    .weekday {
        font-size: 16px;
    }
    
    .progress-container {
        width: 300px;
    }
}