/* Clocks styles */
.clocksGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.6s both;
  }
  
  .clockCard {
    background: var(--panel);
    border-radius: var(--radius);
    padding: 20px;
    position: relative;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
  }
  
  .clockCard:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  }
  
  .clockCard::before {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transition: top 1s, left 1s;
  }
  
  .clockCard.day {
    background: linear-gradient(135deg, rgba(135,206,235,0.9) 0%, rgba(179,217,242,0.9) 100%);
    color: #000;
  }
  
  .clockCard.day::before {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #ffeb3b 0%, #ffc107 100%);
    box-shadow: 0 0 20px rgba(255, 235, 59, 0.6);
    top: var(--celestial-top, 20%);
    left: var(--celestial-left, 50%);
  }
  
  .clockCard.sunrise {
    background: linear-gradient(135deg, rgba(255,154,86,0.9) 0%, rgba(255,179,128,0.9) 100%);
    color: #000;
  }
  
  .clockCard.sunrise::before {
    width: 35px;
    height: 35px;
    background: radial-gradient(circle, #ffeb3b 0%, #ff9800 100%);
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.6);
    top: var(--celestial-top, 70%);
    left: var(--celestial-left, 20%);
  }
  
  .clockCard.sunset {
    background: linear-gradient(135deg, rgba(255,107,157,0.9) 0%, rgba(255,143,179,0.9) 100%);
    color: #000;
  }
  
  .clockCard.sunset::before {
    width: 35px;
    height: 35px;
    background: radial-gradient(circle, #ff9800 0%, #ff6b4a 100%);
    box-shadow: 0 0 20px rgba(255, 107, 74, 0.6);
    top: var(--celestial-top, 70%);
    left: var(--celestial-left, 80%);
  }
  
  .clockCard.night {
    background: linear-gradient(135deg, rgba(26,31,58,0.95) 0%, rgba(42,48,80,0.95) 100%);
  }
  
  .clockCard.night::before {
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 30%, #f0f0f0 0%, #c0c0c0 100%);
    box-shadow: 0 0 15px rgba(240, 240, 240, 0.5), inset -5px -5px 10px rgba(0,0,0,0.2);
    top: var(--celestial-top, 20%);
    left: var(--celestial-left, 80%);
  }
  
  .clockTitle {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  
  .clockCard.day .clockTitle,
  .clockCard.sunrise .clockTitle,
  .clockCard.sunset .clockTitle {
    color: #000;
  }
  
  .analogClock {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.4);
    background: rgba(0,0,0,0.2);
    box-shadow: inset 0 0 30px rgba(0,0,0,0.3), 0 4px 20px rgba(0,0,0,0.3);
  }
  
  .clockCenter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
    pointer-events: none;
  }
  
  .digitalTime {
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
  }
  
  .digitalDate {
    font-size: 10px;
    margin-top: 3px;
    opacity: 0.85;
  }
  
  .hand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: 50% 100%;
    border-radius: 999px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .hand.hour {
    width: 6px;
    height: 40px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  }
  
  .hand.min {
    width: 4px;
    height: 55px;
    background: rgba(108,156,255,0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  }
  
  .hand.sec {
    width: 2px;
    height: 60px;
    background: rgba(255,209,102,0.98);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  }
  
  .pivot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.95);
    border: 2px solid rgba(0,0,0,0.4);
    z-index: 6;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  }
  
  .clockMeta {
    text-align: center;
    margin-top: 12px;
    font-size: 12px;
    font-family: var(--mono);
    font-weight: 600;
    position: relative;
    z-index: 1;
  }
  
  .clockCard.day .clockMeta,
  .clockCard.sunrise .clockMeta,
  .clockCard.sunset .clockMeta {
    color: rgba(0,0,0,0.75);
  }
  
  .clockActions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    position: relative;
    z-index: 1;
  }
  
  .clockActions button {
    padding: 8px 10px;
    font-size: 11px;
  }
  
  .stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 2s;
  }
  
  body.night .stars {
    opacity: 1;
  }
  
  .star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
  }
  
  .moon {
    position: fixed;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f0f0f0 0%, #c0c0c0 70%);
    box-shadow: 0 0 40px rgba(240, 240, 240, 0.6), inset -10px -10px 20px rgba(0,0,0,0.2);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 2s, top 1s, left 1s;
  }
  
  body.night .moon {
    opacity: 1;
  }
  
  .sun {
    position: fixed;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffeb3b 0%, #ffc107 70%, transparent 100%);
    box-shadow: 0 0 60px rgba(255, 235, 59, 0.8), 0 0 120px rgba(255, 193, 7, 0.5);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 2s, top 1s, left 1s;
  }
  
  body.day .sun,
  body.sunrise .sun,
  body.sunset .sun {
    opacity: 1;
  }
  