:root {
  --bg: #0a0a0a;
  --light-off: #222;
  --red: #ff3333;
  --green: #00ff00;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  padding: 20px;
  font-family: 'Montserrat', sans-serif;
}

.container {
  max-width: 100vw;
  width: 100%;
}

h1 {
  margin-bottom: 20px;
  font-size: 4rem;
}

.lights {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.light {
  width: 70px;
  height: 70px;
  background: var(--light-off);
  border-radius: 50%;
  box-shadow: 0 0 10px #000;
  transition: background 0.2s;
}

button {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  background: #00ccff;
  color: #000;
  cursor: pointer;
}

button:hover {
  background: #00aacc;
}

#status {
  font-size: 1.2rem;
  margin: 15px 0;
}

#bestTime {
  color: #aaa;
  margin-top: 10px;
}
/* Responsive: Tablet */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .light {
    width: 60px;
    height: 60px;
  }

  button {
    font-size: 0.95rem;
    padding: 8px 16px;
  }

  #status {
    font-size: 1.1rem;
  }
}

/* Responsive: Mobile */
@media (max-width: 480px) {
  .lights {
    flex-wrap: wrap;
    gap: 12px;
  }

  .light {
    width: 50px;
    height: 50px;
  }

  h1 {
    font-size: 2rem;
  }

  button {
    width: 100%;
    font-size: 1rem;
  }

  body {
    padding: 10px;
  }
}
