* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif; */
}

body {
    background: linear-gradient(135deg, #0c1b2c 0%, #1a3a5f 50%, #0c1b2c 100%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    z-index: 10;
}

/* ================= Header 样式 ================= */
header { 
    margin-bottom: 60px; 
    perspective: 1000px; /* 为3D效果提供景深 */
}

/* 第一行：2025过去多少天 */
.context-text {
    font-size: 1.2rem;
    color: #a8d0ff;
    margin-bottom: 15px;
    font-weight: 300;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}

.days-highlight {
    color: #fff;
    font-weight: bold;
    font-size: 1.4rem;
    margin: 0 5px;
}

/* 第二行：距离 2026 年还有 */
.hero-wrapper {
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: center;
    gap: 15px; /* 元素间距 */
    flex-wrap: wrap;
}

.connector-text {
    font-size: 2.5rem;
    color: #a8d0ff;
    font-weight: 300;
}

/* 2026 特效容器 */
.year-visual {
    position: relative;
    display: inline-block;
    margin: 0 10px;
}

/* 2026 字体设置 */
.year-text {
    font-family: 'Major Mono Display', monospace; /* 关键字体 */
    font-size: 5rem; /* 放大字体 */
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 5px;
    display: flex; /* 让每个数字独立以便做动画 */
}

/* 单个数字动画基础 */
.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(-100px);
    /* 模拟弹跳效果 */
    animation: bounceIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* 倒影层 */
.year-reflection {
    position: absolute;
    top: 70%; /* 调整倒影位置 */
    left: 0;
    width: 100%;
    transform: rotateX(180deg) scaleY(1.5) translateY(-30%); /* 翻转并稍微拉长 */
    opacity: 0.15;
    pointer-events: none;
    user-select: none;
    /* 倒影渐变消失 */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,1) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,1) 100%);
}

/* 弹跳动画关键帧 */
@keyframes bounceIn {
    0% { opacity: 0; transform: translateY(-80px); }
    60% { opacity: 1; transform: translateY(10px); }
    80% { transform: translateY(-5px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ================= 倒计时 & 进度条样式 ================= */

:root {
    --digit-height: 4.5rem;
    --digit-width: 2.8rem;
}

.countdown-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    min-width: 0;
    gap: 25px;
    margin-bottom: 50px;
    font-family: 'Aldrich', 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

.countdown-box {
    background: rgba(16, 36, 64, 0.7);
    border-radius: 20px;
    padding: 30px 20px;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(79, 172, 254, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.countdown-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #4facfe;
    z-index: 20;
}

.countdown-label {
    font-size: 1.2rem;
    color: #a8d0ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    margin-top: 10px;
    z-index: 20;
}

.ticker-view {
    height: var(--digit-height);
    overflow: hidden;
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: 10px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

.ticker-view::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    pointer-events: none;
    z-index: 5;
}

.ticker-column {
    width: var(--digit-width);
    height: 100%;
    position: relative;
    text-align: center;
}

.ticker-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(1, 0, 1, 0); 
    will-change: transform;
}

.digit {
    height: var(--digit-height);
    line-height: var(--digit-height);
    font-size: 4.5rem;
    font-weight: 100;
    color: #ffffff;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.static-value {
    font-size: 4.5rem;
    font-weight: 100;
    margin-bottom: 10px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    line-height: 1;
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

/* 进度条样式 */
.progress-container {
    width: 100%;
    min-width: 0;
    max-width: 800px;
    margin: 30px auto 20px; /* 底部margin减小，因为删除了message */
    background: rgba(16, 36, 64, 0.7);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(79, 172, 254, 0.2);
}

.progress-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #a8d0ff;
    display: flex;
    justify-content: space-between;
}

.progress-bar {
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 12px;
    width: 0%;
    transition: width 1s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

.year-info {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 1.1rem;
    color: #a8d0ff;
}

footer {
    margin-top: 40px;
    padding: 20px;
    color: #a8d0ff;
    font-size: 1rem;
    text-align: center;
    width: 100%;
}

/* 动画效果 */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn 1s ease forwards; }

/* 背景动画元素 */
.bg-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(79, 172, 254, 0.05);
    animation: float 15s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-1000px) rotate(720deg); }
}

/* 响应式设计 */
@media (max-width: 992px) {
    :root { --digit-height: 3.8rem; --digit-width: 2.4rem; }
    .digit, .static-value { font-size: 3.8rem; }
    .year-text { font-size: 4rem; }
    .countdown-box { min-width: 140px; padding: 25px 15px; }
}

@media (max-width: 768px) {
    :root { --digit-height: 3rem; --digit-width: 1.8rem; }
    .year-text { font-size: 3rem; }
    .connector-text { font-size: 2rem; }
    .countdown-container { gap: 15px; }
    .countdown-box { min-width: 110px; padding: 20px 10px; }
    .digit, .static-value { font-size: 3rem; margin-bottom: 0; }
    .static-value { margin-top: 5px; }
    .countdown-label { font-size: 1rem; }
    .ticker-view { margin-top: 5px; margin-bottom: 0;}
}

@media (max-width: 600px) {
    .countdown-container {
        display: grid;
        grid-template-columns: repeat(2, 0fr);
        gap: 20px;
        justify-items: center;
    }
}
@media (max-width: 576px) {
    :root { --digit-height: 2.5rem; --digit-width: 1.5rem; }
    .year-text { font-size: 3rem; letter-spacing: 2px; }
    .hero-wrapper { gap: 5px; }
    .countdown-box { min-width: 100px; padding: 15px 5px; }
    .digit, .static-value { font-size: 2.5rem; }
    .countdown-label { font-size: 0.9rem; }
    .progress-container { padding: 12px; }
    .context-text { font-size: 1rem; }
    
    .progress-title {
        gap: 8px;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .progress-bar {
        height: 18px;
    }

    .year-info {
        gap: 6px;
        font-size: 0.95rem;
        margin-top: 10px;
    }

    #current-date { display: none; }
}