/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    overflow: hidden;
}

/* 毛玻璃容器 */
.glass-container {
    position: relative;
    width: 300px;
    height: 200px;
}

.glass-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: -1;
}

/* 时钟样式 */
.clock {
    padding: 20px;
    text-align: center;
    color: white;
}

.time {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.colon {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.date {
    font-size: 1.2rem;
    font-weight: 300;
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 400px) {
    .time {
        font-size: 2.5rem;
    }
    
    .date {
        font-size: 1rem;
    }
    
    .glass-container {
        width: 250px;
        height: 180px;
    }
}