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

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #ffffff;
  background-color: #0f172a;
}

/* Background wallpaper */
.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 2;
}

/* Main Container Layout */
.container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 1.5rem 1.75rem;
  z-index: 3;
}

/* Weather Strip */
.weather-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.85);
  height: 24px;
}

.weather-city {
  color: rgba(255, 255, 255, 0.65);
}

.weather-temp {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.weather-desc {
  color: rgba(255, 255, 255, 0.55);
}

.weather-icon {
  font-size: 1.1rem;
}

/* Skeleton loader */
.weather-skeleton {
  width: 140px;
  height: 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* Center Clock & Date Section */
.clock-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: -3rem;
}

.time {
  font-size: clamp(4.5rem, 12vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.75rem;
}

.date {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.03em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* Glassmorphism Bottom Dock */
.dock-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.dock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 2px 10px rgba(0, 0, 0, 0.2);
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-item:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateY(-2px);
}

.dock-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dock-icon svg {
  width: 100%;
  height: 100%;
}

.dock-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.85;
}
