
.analog-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Digital Display */
.digital-display {
    margin-bottom: 2rem;
}

.digital-time {
    font-size: 2.5rem;
    font-weight: 300;
    color: #1f2937;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.digital-date {
    font-size: 1.125rem;
    color: #6b7280;
    font-weight: 300;
}

/* Clock Container */
.clock-container {
    position: relative;
    width: 20rem;
    height: 20rem;
    margin-bottom: 2rem;
}

.clock-face {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 8px solid #f3f4f6;
}

/* Clock Numbers */
.clock-number {
    position: absolute;
    font-size: 1.25rem;
    font-weight: 400;
    color: #1f2937;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    top: 50%;
    left: 50%;
    transform-origin: 50% 50%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Clock Hands */
.hand {
    position: absolute;
    background-color: #374151;
    top: 50%;
    left: 50%;
    transform-origin: 50% 100%;
    border-radius: 4px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hour-hand {
    width: 8px;
    background-color: #1f2937;
    z-index: 3;
}

.minute-hand {
    width: 6px;
    background-color: #6b7280;
    z-index: 2;
}

.second-hand {
  width: 2px;
  background-color: #ef4444;
  z-index: 4;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotate(0deg);
  border-radius: 4px;
  transition: transform 0.075s linear;
}

/* Center Dot */
.center-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #111827;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffffff;
    z-index: 5;
}

.center-dot-inner {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Footer */
.footer {
    margin-top: 2rem;
}

.brand {
    font-size: 1rem;
    color: #9ca3af;
    font-weight: 300;
}

/* Responsive Design */
@media (min-width: 768px) {
    .digital-time {
        font-size: 3.75rem;
    }
    
    .digital-date {
        font-size: 1.25rem;
    }
    
    .clock-container {
        width: 24rem;
        height: 24rem;
    }
    
    .clock-number {
        font-size: 1.5rem;
        width: 36px;
        height: 36px;
    }
}

@media (min-width: 1024px) {
    .digital-time {
        font-size: 4rem;
    }
    
    .digital-date {
        font-size: 1.5rem;
    }
    
    .clock-container {
        width: 28rem;
        height: 28rem;
    }
    
    .clock-number {
        font-size: 1.875rem;
        width: 40px;
        height: 40px;
    }
}