.clock-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    gap: 0.5rem;
}

.clock-date {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.clock-time {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
}

/* Digital style (default) */
.clock-digital .clock-time {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Minimal style */
.clock-minimal {
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    min-height: auto;
}

.clock-minimal .clock-date-top,
.clock-minimal .clock-date-bottom,
.clock-minimal .clock-time {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #555;
    line-height: 1;
}

.clock-minimal .year-value,
.clock-minimal .month-value,
.clock-minimal .day-value,
.clock-minimal .weekday-value,
.clock-minimal .time-value {
    color: #555;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1;
}

.clock-minimal .clock-date {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Analog style */
.clock-analog {
    position: relative;
    padding: 3rem;
}

.clock-analog .clock-face {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: #fff;
    box-shadow:
        0 0 0 8px #333,
        0 0 0 10px #fff,
        0 0 0 12px #333,
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(0, 0, 0, 0.05);
}

.clock-analog .clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background: #222;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.clock-analog .hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    border-radius: 10px;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.clock-analog .hour-hand {
    width: 8px;
    height: 80px;
    background: #222;
    margin-left: -4px;
    border-radius: 4px 4px 0 0;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.clock-analog .minute-hand {
    width: 6px;
    height: 120px;
    background: #333;
    margin-left: -3px;
    border-radius: 3px 3px 0 0;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.clock-analog .second-hand {
    width: 2px;
    height: 130px;
    background: #d32f2f;
    margin-left: -1px;
    border-radius: 1px 1px 0 0;
}

.clock-analog .second-hand::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #d32f2f;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.clock-analog .clock-time {
    display: none;
}

.clock-analog .clock-date-top {
    position: absolute;
    top: 118px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 0px;
    align-items: center;
    flex-direction: column;
}

.clock-analog .clock-date-top .year-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.clock-analog .clock-date-top .month-value {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
}

.clock-analog .clock-date-bottom {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 6px;
    align-items: baseline;
}

.clock-analog .clock-date-bottom .weekday-value {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
}

.clock-analog .clock-date-bottom .day-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.clock-analog .clock-number {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    font-family: 'Arial', sans-serif;
}

.clock-analog .clock-number:nth-child(1) { top: 25px; left: 50%; transform: translateX(-50%); }
.clock-analog .clock-number:nth-child(2) { top: 55px; right: 55px; }
.clock-analog .clock-number:nth-child(3) { top: 50%; right: 25px; transform: translateY(-50%); }
.clock-analog .clock-number:nth-child(4) { bottom: 55px; right: 55px; }
.clock-analog .clock-number:nth-child(5) { bottom: 25px; left: 50%; transform: translateX(-50%); }
.clock-analog .clock-number:nth-child(6) { bottom: 55px; left: 55px; }
.clock-analog .clock-number:nth-child(7) { top: 50%; left: 25px; transform: translateY(-50%); }
.clock-analog .clock-number:nth-child(8) { top: 55px; left: 55px; }

/* 시간 눈금 */
.clock-analog .clock-face::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 280px;
    transform: translate(-50%, -50%);
    background:
        repeating-conic-gradient(
            from 0deg,
            #222 0deg 1deg,
            transparent 1deg 30deg
        );
    border-radius: 50%;
    mask: radial-gradient(circle, transparent 130px, black 130px, black 140px, transparent 140px);
    -webkit-mask: radial-gradient(circle, transparent 130px, black 130px, black 140px, transparent 140px);
}

/* Responsive */
@media (max-width: 768px) {
    .clock-time {
        font-size: 2rem;
    }

    .clock-date {
        font-size: 0.8rem;
    }
}
