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

/* Base layout */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #1a1a24; /* lighter dark background */
  color: #d5d5e0; /* slightly brighter neutral text */
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

/* Container */
.container {
  text-align: center;
  width: 100%;
  max-width: 920px;
}

/* Headline */
h1 {
  font-size: 2.3rem;
  margin-bottom: 2rem;
  color: #00FF00; /* keep neon green */
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 0 8px rgba(0, 255, 0, 0.45);
}

/* Clock grid layout */
.clocks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.3rem;
}

/* Individual city clock card */
.city-clock {
  background: #23232f; /* lighter than before for more depth */
  padding: 1.4rem;
  border-radius: 12px;
  border: 1px solid #2b2b3c;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.city-clock:hover {
  transform: translateY(-4px);
  border-color: #00ff80;
  box-shadow: 0 0 12px rgba(0, 255, 0, 0.18);
}

/* City name */
.city-name {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  color: #00FF00;
  font-weight: 600;
  text-shadow: 0 0 6px rgba(0, 255, 0, 0.35);
}

/* City time text */
.city-time {
  font-size: 1.55rem;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  letter-spacing: 0.8px;
  color: #ececff; /* brighter to match lighter bg */
}

/* Responsive adjustments */
@media (max-width: 600px) {
  h1 {
    font-size: 1.9rem;
  }

  .city-time {
    font-size: 1.35rem;
  }
}
