@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(to right, #111827, #1f2937);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  padding: 20px;
}

.timer-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 500px;
}

.title {
  font-size: 2rem;
  margin-bottom: 30px;
}

.timer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.unit {
  flex: 1 1 22%;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.08);
  padding: 20px 10px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.unit span {
  font-size: 2.5rem;
  font-weight: 600;
}

.unit small {
  font-size: 0.875rem;
  margin-top: 5px;
  color: #cbd5e1;
}

@media (max-width: 500px) {
  .unit {
    flex: 1 1 45%;
  }

  .title {
    font-size: 1.5rem;
  }
}
