/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background: #f5f5f7;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    width: 90%;
    max-width: 400px;
}

/* 计时器显示 */
.timer-display {
    font-size: 3.5rem;
    font-weight: 300;
    text-align: center;
    color: #1d1d1f;
    margin-bottom: 2rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
}

.colon {
    color: #86868b;
    margin: 0 0.2rem;
}

/* 控制按钮 */
.controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    background: #0071e3;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 980px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn:hover {
    background: #0077ED;
    transform: scale(1.02);
}

.btn:active {
    transform: scale(0.98);
}

#resetBtn {
    background: #86868b;
}

#resetBtn:hover {
    background: #95959a;
}

/* 图标样式 */
.icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* 暂停状态 */
.paused {
    background: #ff453a !important;
}

.paused:hover {
    background: #ff574f !important;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .timer-display {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
} 