* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 24px;
}

.container {
  width: 100%;
  max-width: 400px;
}

.weather-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  text-align: center;
}

.time-display {
  margin-bottom: 32px;
}

.time {
  font-size: 48px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.date {
  font-size: 16px;
  color: #718096;
  font-weight: 500;
}

.weather-icon {
  margin: 32px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 160px;
}

.sun {
  position: relative;
  width: 120px;
  height: 120px;
  animation: sunPulse 3s ease-in-out infinite;
}

.sun-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
  animation: sunGlow 2s ease-in-out infinite alternate;
}

.sun-ray {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 24px;
  background: linear-gradient(to bottom, #ffd700, transparent);
  border-radius: 2px;
  transform-origin: center -36px;
  animation: rayRotate 8s linear infinite;
}

.sun-ray-1 { transform: translate(-50%, -50%) rotate(0deg); }
.sun-ray-2 { transform: translate(-50%, -50%) rotate(45deg); }
.sun-ray-3 { transform: translate(-50%, -50%) rotate(90deg); }
.sun-ray-4 { transform: translate(-50%, -50%) rotate(135deg); }
.sun-ray-5 { transform: translate(-50%, -50%) rotate(180deg); }
.sun-ray-6 { transform: translate(-50%, -50%) rotate(225deg); }
.sun-ray-7 { transform: translate(-50%, -50%) rotate(270deg); }
.sun-ray-8 { transform: translate(-50%, -50%) rotate(315deg); }

@keyframes sunPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes sunGlow {
  0% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
  }
  100% {
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.8);
  }
}

@keyframes rayRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.sun-ray-1 { animation-delay: 0s; }
.sun-ray-2 { animation-delay: -1s; }
.sun-ray-3 { animation-delay: -2s; }
.sun-ray-4 { animation-delay: -3s; }
.sun-ray-5 { animation-delay: -4s; }
.sun-ray-6 { animation-delay: -5s; }
.sun-ray-7 { animation-delay: -6s; }
.sun-ray-8 { animation-delay: -7s; }

.weather-info {
  margin-top: 32px;
}

.temperature {
  font-size: 56px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.description {
  font-size: 18px;
  color: #718096;
  font-weight: 500;
}

@media (max-width: 480px) {
  .weather-card {
    padding: 32px 24px;
  }
  
  .time {
    font-size: 40px;
  }
  
  .temperature {
    font-size: 48px;
  }
  
  .sun {
    width: 100px;
    height: 100px;
  }
  
  .sun-core {
    width: 70px;
    height: 70px;
  }
}
