

/* Базовая сетка */
.clock-grids {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 300px;
  margin: auto;
  background-color: #f9f9f9;
  transition: background 0.5s, color 0.5s;
}

/* Аналоговая часть */
.clock-face {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Квадрат через aspect ratio */
  border: 8px solid #ccc;
  border-radius: 50%;
  background: white;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}

.hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  transform: rotate(90deg);
  background: black;
  border-radius: 4px;
}

.hour {
  width: 5px;
  height: 25%;
  background: #333;
}

.minute {
  width: 3px;
  height: 35%;
  background: #666;
}

.second {
  width: 2px;
  height: 40%;
  background: red;
}

.center-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: black;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Цифровое время и дата */
.digital-time, .date {
  font-family: monospace;
  text-align: center;
  font-size: 1rem;
}

/* Темы */
.morning-theme {
  background: #fff4e6;
  color: #a65b00;
}

.day-theme {
  background: #e0f7fa;
  color: #006064;
}

.evening-theme {
  background: #ffe0b2;
  color: #5d4037;
}

.night-theme {
  background: #263238;
  color: #ffffff;
}

/* Карусель */
