/* Body */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #0A2C33 0%, #10434B 100%);
  color: #fff;
  min-height: 100vh;
}

/* Container (Card) */
.container {
  max-width: 420px;
  width: 90%;
  margin: 60px auto;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
  border: 2px solid #1FA2FF;
}

/* Title */
.title {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #1FA2FF;
}

/* Mode Switch */
.mode-switch {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.mode-switch button {
  padding: 10px 18px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  background: #1FA2FF;
  color: #fff;
  transition: all 0.3s ease;
}

.mode-switch button.active,
.mode-switch button:hover {
  background: #10434B;
  color: #1FA2FF;
}

/* Display */
#display,
#countdownDisplay {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 25px;
  letter-spacing: 2px;
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

button {
  padding: 12px 22px;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  background: #1FA2FF;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
}

button:hover {
  transform: scale(1.07);
  background: #10434B;
  color: #1FA2FF;
}

button:active {
  transform: scale(0.95);
}

/* Laps */
.laps-container {
  margin-top: 20px;
  text-align: left;
  max-height: 200px;
  overflow-y: auto;
}

.laps-container h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

#laps {
  list-style: none;
  padding: 0;
  margin: 0;
}

#laps li {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 12px;
  margin-bottom: 8px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
}

/* Clear Button */
.clear-btn {
  margin-top: 10px;
  background: #FF6B6B;
  color: #fff;
}

.clear-btn:hover {
  background: #FF4B4B;
}

/* Countdown Inputs */
.inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.inputs input {
  width: 60px;
  padding: 10px;
  font-size: 1rem;
  border: 2px solid #1FA2FF;
  border-radius: 10px;
  text-align: center;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.seo-section {
  max-width: 900px;
  margin: 50px auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 2px solid #1FA2FF;
  color: #fff;
  line-height: 1.7;
}

.seo-section h1 {
  color: #1FA2FF;
  font-size: 2.2rem;
  margin-bottom: 20px;
  text-align: center;
}

.seo-section h2 {
  color: #FFD166;
  font-size: 1.6rem;
  margin-top: 25px;
  margin-bottom: 15px;
}

.seo-section p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.seo-section ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.seo-section ul li {
  margin-bottom: 10px;
  font-weight: 500;
  color: #fff;
}


/* Hidden Sections */
.hidden {
  display: none;
}
