/* ====== Global Styles ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #000; /* pure black background */
  color: #fff;
}

/* ====== Main Container ====== */
.container {
  text-align: center;
  background: #111;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 255, 200, 0.25);
  width: 380px;
}

.title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #00ffc8;
  text-shadow: 0 0 10px #00ffc8;
}

.time {
  font-size: 3rem;
  margin-bottom: 25px;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 0 10px #00ffc8;
}

/* ====== Buttons ====== */
.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.btn {
  background: transparent;
  border: 2px solid #00ffc8;
  color: #00ffc8;
  padding: 12px 25px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #00ffc8;
  color: #111;
  box-shadow: 0 0 15px #00ffc8, 0 0 25px #00ffc8;
}

/* Button Variants */
.start {
  border-color: #00ff6a;
  color: #00ff6a;
}
.start:hover {
  background: #00ff6a;
  box-shadow: 0 0 15px #00ff6a;
}

.reset {
  border-color: #ff3c3c;
  color: #ff3c3c;
}
.reset:hover {
  background: #ff3c3c;
  color: #fff;
  box-shadow: 0 0 15px #ff3c3c;
}

.lap {
  border-color: #ffd700;
  color: #ffd700;
}
.lap:hover {
  background: #ffd700;
  color: #111;
  box-shadow: 0 0 15px #ffd700;
}

/* ====== Laps Section ====== */
.laps {
  margin-top: 20px;
  max-height: 200px;
  overflow-y: auto;
  border-top: 1px solid #333;
  padding-top: 10px;
}

.lap-item {
  font-size: 1rem;
  padding: 6px;
  border-bottom: 1px solid #222;
  color: #ccc;
  display: flex;
  justify-content: space-between;
}

.lap-number {
  color: #ffd700;
  font-weight: bold;
}
