.clock-container {
    position: relative;
    width: 60%;
    aspect-ratio: 16 / 9;
    margin: 50px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.background-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease-in-out;
}

.top-image {
    z-index: 2;
    opacity: 1;
}

.bottom-image {
    z-index: 1;
    opacity: 0;
}

.clock-face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    z-index: 10;
    pointer-events: none;
    border-radius: 50%;
    border: none;
    background: transparent;
}

/* 时针 */
.hour-hand {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 60px;
    background: #333;
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(0deg);
    border-radius: 3px;
    z-index: 9;
    transition: none;
}

/* 分针 */
.minute-hand {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 90px;
    background: #666;
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(0deg);
    border-radius: 2px;
    z-index: 10;
    transition: none;
}

/* 秒针 */
.second-hand {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 100px;
    background: #ff4444;
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(0deg);
    border-radius: 1px;
    z-index: 11;
    transition: none;
}

.clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 13;
    cursor: pointer;
    transition: background-color 0.2s;
    pointer-events: auto;
}

.clock-center.paused {
    background-color: #a30b0b;
}

.clock-center:hover {
    background-color: #f0f0f0;
}

.time-display {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    z-index: 15;
}

.hour-marks {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
}

.hour-mark {
    display: none;
    position: absolute;
    width: 4px;
    height: 12px;
    background: rgba(255, 255, 255, 0.9);
    left: 50%;
    top: 8px;
    transform-origin: bottom center;
    transform: translateX(-50%);
}

.minute-marks {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
}

.minute-mark {
    position: absolute;
    width: 2px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    left: 50%;
    top: 12px;
    transform-origin: bottom center;
    transform: translateX(-50%);
}

.status-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0e57bd;
    z-index: 20;
    transition: background-color 0.2s;
}

.status-indicator.paused {
    background: #a30b0b;
}