* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  height: 100vh;
  overflow: hidden;
  background: rgb(198, 12, 86); /* ✅ modifié */
}

/* ❌ SUPPRIMÉ : ancien .background */

/* ✅ AJOUT : canvas plein écran */
canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* 📦 Container */
.container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* ✨ Titre dégradé */
.title {
  font-size: 2.5rem;
  background: linear-gradient(90deg, #fff, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ⌨️ Input */
input {
  padding: 10px;
  font-size: 1.2rem;
  border-radius: 10px;
  border: none;
  text-align: center;
  width: 120px;
}

/* ⏱ Affichage */
#display {
  font-size: 3rem;
  font-weight: bold;
  color: rgb(250, 7, 7);
}

/* 🔘 Boutons */
.buttons {
  display: flex;
  gap: 15px;
}

button {
  padding: 15px 20px;
  font-size: 1.2rem;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.2);
}

button:active {
  transform: scale(0.9);
}

#start { background: #4CAF50; color: rgb(9, 9, 9); }
#pause { background: #FFC107; }
#reset { background: #F44336; color: rgb(10, 10, 10); }

.settings {
  color: rgb(253, 250, 250);
  font-size: 1rem;
}

/* 📱 Responsive */
@media (max-width: 600px) {
  #display {
    font-size: 2.2rem;
  }

  button {
    padding: 12px 16px;
  }
}