body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #333; /* Tło awaryjne */
}

/* Canvas jest teraz stałym tłem */
.canvas-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Gradienty tła */
.night { background: linear-gradient(#140d15 0%, #212e3f 100%); }
.day { background: linear-gradient(#90dffe 0%, #38a3d1 100%); }
.sunrise { background: linear-gradient(#82a0bc 0%, #aebebe 50%, #e0ceb0 80%, #ffc19c 100%); }
.sunset { background: linear-gradient(#10070c 0%, #2e4557 40%, #91aba8 80%, #ddd8a1 100%); }

/* Tekst nakładki */
.overlay-content {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  color: #fff;
}

.location-details {
  text-align: center;
  /* Dodanie lekkiego cienia, aby tekst był czytelny na tle chmur/śniegu */
  text-shadow: 0px 2px 4px rgba(0,0,0,0.4);
}

.city {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.temp {
  font-size: 140px;
  font-weight: 700;
  line-height: 1;
  margin: 10px 0;
}

.condition-text {
  font-size: 22px;
  text-transform: capitalize;
  font-weight: 400;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Nowa sekcja statystyk */
.weather-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 5px;
}

.stat-value {
  font-size: 18px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .temp { font-size: 100px; }
  .city { font-size: 20px; }
  .weather-stats { gap: 15px; }
}

/* --- STYL ZEGARA (CLOCK) --- */
.clock-display {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  
  /* Glassmorphism Style (matching nav-back-btn) */
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  padding: 10px 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);

  /* Font styling */
  color: #fff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Mobile adjustment for clock */
@media (max-width: 600px) {
  .clock-display {
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    font-size: 14px;
  }
}