/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #4cc9f0;
    --success-color: #4ade80;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-color: #f8f9fa;
    --dark-color: #1e293b;
    --gray-color: #64748b;
    --card-bg: #ffffff;
    --body-bg: #f1f5f9;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    background-color: var(--body-bg);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* 主页样式 */
.main-content {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 英雄区域 - 包含倒计时和进度卡片 */
.hero-section {
    position: relative;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    text-align: center;
}

/* 倒计时显示修复 - 强制统一 */
.hero-section .countdown-display {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 20px;
    margin: 0 auto 20px;
    max-width: 1000px;
    padding: 0 20px;
}

/* 强制所有时间单位完全相同 */
.hero-section .time-unit,
.hero-section .time-unit.milliseconds-unit {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    text-align: center;
    flex-shrink: 0;
}

/* 强制所有时间值相同 */
.hero-section .time-value,
#hours, #minutes, #seconds, #milliseconds {
    width: 150px !important;
    height: 120px !important;
    font-size: 70px !important;
    font-weight: 700 !important;
    font-family: 'Poppins', monospace !important;
    color: white !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

/* 毫秒特殊处理 */
.hero-section .milliseconds-unit .time-value,
#milliseconds {
    font-size: 60px !important;
    letter-spacing: 2px;
}

/* 分隔符统一 */
.hero-section .time-separator {
    font-size: 60px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    height: 120px !important;
    display: flex !important;
    align-items: center !important;
    padding-top: 10px !important;
    margin: 0 5px !important;
}

/* 标签统一 */
.hero-section .time-label {
    font-size: 18px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    text-align: center !important;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .hero-section .countdown-display {
        gap: 10px;
        padding: 0 10px;
    }
    
    .hero-section .time-unit,
    .hero-section .time-unit.milliseconds-unit {
        width: 80px !important;
        min-width: 80px !important;
        max-width: 80px !important;
    }
    
    .hero-section .time-value,
    #hours, #minutes, #seconds, #milliseconds {
        width: 80px !important;
        height: 70px !important;
        font-size: 40px !important;
    }
    
    .hero-section .milliseconds-unit .time-value,
    #milliseconds {
        font-size: 35px !important;
    }
    
    .hero-section .time-separator {
        font-size: 35px !important;
        height: 70px !important;
    }
    
    .hero-section .time-label {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .hero-section .countdown-display {
        gap: 8px;
        padding: 0 5px;
    }
    
    .hero-section .time-unit,
    .hero-section .time-unit.milliseconds-unit {
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
    }
    
    .hero-section .time-value,
    #hours, #minutes, #seconds, #milliseconds {
        width: 70px !important;
        height: 60px !important;
        font-size: 35px !important;
    }
    
    .hero-section .milliseconds-unit .time-value,
    #milliseconds {
        font-size: 30px !important;
    }
    
    .hero-section .time-separator {
        font-size: 30px !important;
        height: 60px !important;
    }
    
    .hero-section .time-label {
        font-size: 12px !important;
    }
}




/* 确保毫秒显示为3位数字 */
.hero-section .milliseconds-unit {
    width: 160px; /* 毫秒需要稍宽一点 */
    min-width: 160px;
    max-width: 160px;
}

.hero-section .milliseconds-unit .time-value {
    font-size: 4.5rem; /* 稍微小一点 */
    letter-spacing: 1px; /* 增加字间距 */
}

/* 优化倒计时容器 */
.hero-section .main-countdown {
    text-align: center;
    margin: 2rem 0 3rem 0;
    padding: 0 1rem;
}

/* 添加CSS动画确保数字变化平滑 */
@keyframes numberChange {
    0% { opacity: 0.8; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-2px); }
    100% { opacity: 0.8; transform: translateY(0); }
}

.hero-section .time-value span {
    animation: numberChange 0.3s ease-in-out;
}

/* 进度卡片在英雄区域内的样式 */
.hero-section .progress-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 2rem auto 0 auto;
}

.hero-section .progress-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.hero-section .progress-card h3 {
    font-size: 1.2rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.hero-section .progress-percent {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.hero-section .progress-bar {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.hero-section .progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--accent-color), #ffffff);
    border-radius: 5px;
    transition: width 1s ease;
}

.hero-section .progress-detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
}

/* 主要内容区域 */
.countdown-main {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.countdown-container {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 3rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.page-header h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.page-header p {
    color: var(--gray-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.today-date {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--dark-color);
    background-color: rgba(67, 97, 238, 0.05);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-top: 1rem;
}

/* 时间统计卡片 - 紧凑优化版 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem; /* 缩小间隙 */
    margin: 2rem 0; /* 减少上下边距 */
}

.stat-card {
    background-color: #f8fafc;
    border-radius: var(--radius);
    padding: 1rem; /* 减少内边距 */
    display: flex;
    align-items: center;
    gap: 0.8rem; /* 缩小图标和内容的间距 */
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    min-height: 95px; /* 降低高度 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* 更轻的阴影 */
}

.stat-card:hover {
    transform: translateY(-3px); /* 减少悬停移动距离 */
    box-shadow: 0 8px 15px rgba(67, 97, 238, 0.1);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 50px; /* 缩小图标 */
    height: 50px;
    border-radius: 12px;
    background-color: rgba(67, 97, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem; /* 缩小图标字体 */
    color: var(--primary-color);
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
    min-width: 0;
}

.stat-value {
    font-size: 1.8rem; /* 缩小数值字体 */
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.2rem; /* 减少下边距 */
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 0.85rem; /* 稍微缩小标签字体 */
    color: var(--gray-color);
    line-height: 1.3;
    font-weight: 500;
}

/* 进度百分比卡片特殊样式 */
.stat-card:nth-child(3) .stat-value,
.stat-card:nth-child(4) .stat-value {
    font-size: 1.6rem; /* 进一步缩小带%的数值 */
}

/* 桌面端调整：如果感觉还是太大，可以这样微调 */
@media (min-width: 1200px) {
    .stats-grid {
        gap: 0.8rem;
    }
    
    .stat-card {
        padding: 0.9rem;
        min-height: 90px;
    }
    
    .stat-value {
        font-size: 1.7rem;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .stat-card {
        min-height: 85px;
        padding: 0.9rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.7rem;
        margin: 1.5rem 0;
    }
    
    .stat-card {
        min-height: 80px;
        padding: 0.8rem;
        flex-direction: row; /* 保持水平排列 */
        text-align: left;
        gap: 0.6rem;
    }
    
    .stat-icon {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
        border-radius: 10px;
    }
    
    .stat-value {
        font-size: 1.5rem;
        margin-bottom: 0.1rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .stat-card:nth-child(3) .stat-value,
    .stat-card:nth-child(4) .stat-value {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .stat-card {
        min-height: 75px;
        padding: 0.7rem;
        gap: 0.5rem;
    }
    
    .stat-icon {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
    
    .stat-value {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-card:nth-child(3) .stat-value,
    .stat-card:nth-child(4) .stat-value {
        font-size: 1.3rem;
    }
}

/* 超小屏幕优化 */
@media (max-width: 375px) {
    .stats-grid {
        gap: 0.5rem;
    }
    
    .stat-card {
        min-height: 70px;
        padding: 0.6rem;
    }
    
    .stat-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        border-radius: 8px;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

/* 卡片颜色变体 */
.stat-card:nth-child(1) .stat-icon {
    background-color: rgba(67, 97, 238, 0.08); /* 更淡的背景 */
    color: var(--primary-color);
}

.stat-card:nth-child(2) .stat-icon {
    background-color: rgba(76, 201, 240, 0.08);
    color: var(--accent-color);
}

.stat-card:nth-child(3) .stat-icon {
    background-color: rgba(74, 222, 128, 0.08);
    color: var(--success-color);
}

.stat-card:nth-child(4) .stat-icon {
    background-color: rgba(245, 158, 11, 0.08);
    color: var(--warning-color);
}

/* 简洁的悬停效果 */
.stat-card:hover .stat-icon {
    transform: scale(1.05); /* 减少缩放程度 */
    transition: transform 0.2s ease;
}

.stat-card:hover .stat-value {
    color: var(--secondary-color);
}

#remaining-time-text {
    font-size: 1.8rem !important;
}


/* 手机端日期显示优化 */
@media (max-width: 768px) {
    /* 标题区域优化 */
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    /* 主要倒计时区域优化 */
    .hero-section .countdown-subtitle {
        font-size: 1rem;
        margin-top: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* 主要内容区域的日期显示优化 */
    .page-header h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
    }
    
    .page-header h1 i {
        font-size: 1.6rem;
    }
    
    .page-header p {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    /* 今日日期显示优化 */
    .today-date {
        font-size: 0.95rem !important;
        padding: 0.4rem 1rem !important;
        margin-top: 0.5rem !important;
        line-height: 1.4;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        display: inline-block;
    }
    
    /* 如果日期太长，分两行显示 */
    @media (max-width: 400px) {
        .today-date {
            white-space: normal;
            line-height: 1.3;
            padding: 0.5rem !important;
            font-size: 0.9rem !important;
        }
    }
    
    /* 统计卡片区域优化 */
    .stats-grid {
        margin: 1.2rem 0;
    }
    
    /* 名言区域优化 */
    .quote-card {
        padding: 1.5rem !important;
        margin-top: 1.5rem;
    }
    
    .quote-text {
        font-size: 1.1rem !important;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .quote-author {
        font-size: 0.95rem !important;
        margin-bottom: 1rem;
    }
    
    .refresh-btn {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.9rem !important;
        margin-top: 0.5rem;
    }
    
    .refresh-btn i {
        font-size: 0.9rem;
    }
    
    /* 容器内边距优化 */
    .countdown-container {
        padding: 1.5rem !important;
    }
}

/* 更小的手机屏幕 */
@media (max-width: 480px) {
    /* 日期显示进一步优化 */
    .today-date {
        font-size: 0.85rem !important;
        padding: 0.35rem 0.8rem !important;
    }
    
    /* 标题进一步缩小 */
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* 主要内容区域标题 */
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
    
    /* 名言区域进一步优化 */
    .quote-card {
        padding: 1.2rem !important;
    }
    
    .quote-text {
        font-size: 1rem !important;
        line-height: 1.5;
    }
    
    .quote-author {
        font-size: 0.85rem !important;
    }
    
    .refresh-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }
}

/* 超小屏幕（iPhone SE等） */
@media (max-width: 375px) {
    /* 日期显示最小化 */
    .today-date {
        font-size: 1.2rem !important;
        padding: 0.3rem 0.6rem !important;
    }
    
    /* 标题最小化 */
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    /* 主要内容区域 */
    .page-header h1 {
        font-size: 1.3rem;
    }
    
    .page-header p {
        font-size: 0.85rem;
    }
    
    /* 名言区域最小化 */
    .quote-card {
        padding: 1rem !important;
    }
    
    .quote-text {
        font-size: 0.95rem !important;
    }
    
    .quote-author {
        font-size: 0.8rem !important;
    }
}

/* 横向模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .today-date {
        font-size: 0.9rem !important;
        white-space: nowrap;
    }
    
    .quote-text {
        font-size: 1rem !important;
    }
}


/* 倒计时名言 */
.countdown-quote {
    margin-top: 3rem;
    text-align: center;
    position: relative;
}

.quote-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow);
    text-align: center;
    border-left: 5px solid var(--accent-color);
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.quote-author {
    font-size: 1.1rem;
    color: var(--gray-color);
    font-weight: 500;
}

.refresh-btn {
    margin-top: 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.refresh-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}


/* 页脚样式 */
.footer {
    background-color: transparent;
    color: var(--gray-color);
    padding: 2.5rem 0 3rem 0;
    margin-top: 4rem;
    text-align: center;
    position: relative;
}

/* 页脚背景装饰 */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(67, 97, 238, 0.2) 20%, 
        rgba(67, 97, 238, 0.2) 80%, 
        transparent 100%
    );
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--gray-color);
    margin-bottom: 1rem;
    opacity: 0.8;
    letter-spacing: 0.3px;
}

.footer-links {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* 备案链接样式 */
.beian-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius); /* 匹配卡片的圆角 */
    border: 1px solid rgba(67, 97, 238, 0.2);
    background: transparent;
    color: var(--gray-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.beian-link:hover {
    background: rgba(67, 97, 238, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.1);
}

.beian-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.beian-link:hover svg {
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-section .time-value {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .hero-section .progress-stats {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .time-value {
        font-size: 3rem;
    }
    
    .hero-section .time-unit {
        min-width: 100px;
    }
    
    .hero-section .countdown-display {
        gap: 1rem;
    }
    
    .hero-section .time-separator {
        font-size: 3rem;
        padding-bottom: 1rem;
    }
    
    .countdown-container {
        padding: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .footer::before {
        width: 90%;
    }
    
    .beian-link {
        padding: 8px 14px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-section .time-value {
        font-size: 2.5rem;
    }
    
    .hero-section .time-unit {
        min-width: 80px;
    }
    
    .hero-section .time-separator {
        font-size: 2rem;
        padding-bottom: 0.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-card {
        padding: 2rem;
    }
    
    .quote-text {
        font-size: 1.2rem;
    }
}

/* 剩余时间居中 */
#remaining-time-text {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 10px auto 15px auto !important;
    text-align: center !important;
    font-size: 1.4rem !important;
    color: white !important;
    gap: 8px !important;
}

/* 确保进度卡片区域正常 */
.progress-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* 手机端调整 */
@media (max-width: 768px) {
    #remaining-time-text {
        margin: 5px auto 10px auto !important;
        font-size: 1.5rem !important;
        gap: 6px !important;
    }
    
    .progress-stats {
        grid-template-columns: 1fr !important; /* 手机端1列 */
        gap: 1rem !important;
        max-width: 400px !important;
    }
}

/* 修改"剩余时间"字体大小 */
#remaining-time-text,
.countdown-subtitle#remaining-time-text,
.hero-section .countdown-subtitle {
    font-size: 1.8rem !important; /* 修改这个数字 */
}

/* 手机端相应调整 */
@media (max-width: 768px) {
    #remaining-time-text,
    .countdown-subtitle#remaining-time-text,
    .hero-section .countdown-subtitle {
        font-size: 1.4rem !important; /* 手机端大小 */
    }
}

/* 使用transform缩放 */
@media (max-width: 768px) {
    .hero-section .main-countdown {
        transform: scale(0.85);
        transform-origin: top center;
        width: 117%; /* 补偿缩放 */
        margin-left: -8.5%;
    }
}

@media (max-width: 480px) {
    .hero-section .main-countdown {
        transform: scale(0.75);
        width: 133%; /* 补偿缩放 */
        margin-left: -16.5%;
    }
}


