* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 载入本地字体 */
@font-face {
    font-family: 'AlibabaPuHuiTi';
    src: url('fonts/Alibaba-PuHuiTi-Heavy.subset.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'AlibabaPuHuiTi', 'Courier New', monospace;
    background-color: #333333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
}

.countdown-container {
    background-color: #333333;
    padding: 20px 10px;
    position: relative;
}

.countdown-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #666666;
}

.countdown-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #666666;
}

/* 跳转按钮样式 */
.jump-button {
    display: none;
    position: absolute;
    bottom: 10%;
    padding: 12px 30px;
    background-color: #444444;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.jump-button:hover {
    background-color: #555555;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.countdown-display {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* 响应式设计 - 缩放显示 */
@media (max-width: 1024px) {
    .countdown-container {
        transform: scale(0.9);
        transform-origin: center center;
        width: max-content;
    }
}

@media (max-width: 768px) {
    .countdown-container {
        transform: scale(0.7);
        transform-origin: center center;
        width: max-content;
    }
}

@media (max-width: 480px) {
    .countdown-container {
        transform: scale(0.5);
        transform-origin: center center;
        width: max-content;
    }
}



.time-segment {
    display: flex;
    align-items: baseline;
    margin: 0 3px;
}

.unit {
    font-size: 20px;
    margin-left: 1px;
    margin-right: 8px;
}

.time-separator {
    margin: 0 3px;
    color: #ffffff;
}

.space-separator {
    margin: 0 10px;
}

#years, #hours, #days, #hours-24, #minutes, #seconds {
    min-width: 50px;
    text-align: right;
}