@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #000;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1rem;
  color: #ccc;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.input-section {
  width: 100%;
  max-width: 600px;
  background-color: #111;
  border: 1px solid #333;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: block;
  color: #fff;
}

input[type="text"],
select,
input[type="range"] {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #444;
  border-radius: 0.5rem;
  background-color: #000;
  color: #fff;
}

input:focus,
select:focus,
input[type="range"]:focus {
  border-color: #fff;
  outline: none;
  box-shadow: 0 0 5px #fff;
}

#speed-value {
  text-align: right;
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 0.3rem;
}

.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button-group button {
  flex: 1;
  padding: 0.8rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  color: #000;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button-group button:hover {
  background-color: #e5e5e5;
  transform: translateY(-2px);
}

.button-group button:disabled {
  background-color: #666;
  color: #999;
  cursor: not-allowed;
  transform: none;
}

footer {
  background-color: #000;
  color: #888;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

/* 📱 Mobile Responsive */
@media (max-width: 480px) {
  header h1 {
    font-size: 1.6rem;
  }

  .input-section {
    padding: 1.5rem 1rem;
  }

  .button-group {
    flex-direction: column;
  }

  .button-group button {
    width: 100%;
  }
}
