@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;900&display=swap");

body {
  margin: 0;
  background: linear-gradient(135deg, #1b2a49, #314675);
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

.container {
  background: #edf2f7;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  padding: 0;
  width: 380px;
  max-width: 95vw;
  text-align: center;
  overflow: hidden;
}

h1 {
  font-size: 3rem;
  font-weight: 900;
  margin: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #1b2a49, #314675);
  padding: 25px 0;
  line-height: 1.2;
}

.content {
  padding: 30px;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 10px;
}

.stats > div {
  flex: 1;
  text-align: center;
}

.stats .number {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 5px;
  color: #1a202c;
  line-height: 1;
}

.stats .label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a5568;
}

input[type="number"] {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 1px 3px rgba(66, 66, 66, 0.12);
  padding: 18px 25px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #1a202c;
  font-size: 1.1rem;
  border: none;
  width: 100%;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

input[type="number"]:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(255, 108, 81, 0.3);
}

input[type="number"]::placeholder {
  color: #4a5568;
  font-weight: 600;
}

.btn {
  width: 100%;
  padding: 18px;
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(90deg, #ff6c51 0%, #ff835e 100%);
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
  font-family: "Poppins", sans-serif;
}

.btn:hover {
  background: linear-gradient(90deg, #ff835e 0%, #ff6c51 100%);
  transform: translateY(-1px);
}

/* Responsive Design */


@media (max-width: 768px) {
  .container {
    width: 90vw;
    max-width: 500px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .stats .number {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 15px;
  }

  .container {
    width: 95vw;
  }

  .content {
    padding: 25px;
  }

  h1 {
    font-size: 2.2rem;
    padding: 20px 0;
  }

  .stats {
    gap: 15px;
    margin-bottom: 25px;
  }

  .stats .number {
    font-size: 2.2rem;
  }

  .stats .label {
    font-size: 0.85rem;
  }

  input[type="number"] {
    font-size: 1rem;
    padding: 16px 20px;
    margin-bottom: 12px;
  }

  .btn {
    font-size: 1.2rem;
    padding: 16px;
  }
}


@media (max-width: 375px) {
  body {
    padding: 10px;
  }

  .container {
    width: 98vw;
  }

  .content {
    padding: 20px;
  }

  h1 {
    font-size: 1.8rem;
    padding: 18px 0;
  }

  .stats {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
  }

  .stats > div {
    flex: none;
  }

  .stats .number {
    font-size: 2rem;
  }

  .stats .label {
    font-size: 0.9rem;
    margin-top: 5px;
  }

  input[type="number"] {
    font-size: 0.95rem;
    padding: 14px 18px;
    margin-bottom: 10px;
  }

  .btn {
    font-size: 1.1rem;
    padding: 14px;
    margin-top: 12px;
  }
}

@media (max-width: 320px) {
  h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .content {
    padding: 15px;
  }

  .stats .number {
    font-size: 1.8rem;
  }

  input[type="number"] {
    font-size: 0.9rem;
    padding: 12px 16px;
  }

  .btn {
    font-size: 1rem;
    padding: 12px;
  }
}


@media (max-width: 768px) and (orientation: landscape) {
  body {
    min-height: auto;
    padding: 10px;
  }

  .container {
    margin: 20px auto;
  }

  h1 {
    font-size: 2rem;
    padding: 15px 0;
  }

  .content {
    padding: 20px;
  }

  .stats {
    margin-bottom: 20px;
  }

  .stats .number {
    font-size: 2rem;
  }
}
