* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #fff1f7, #f8d9e8, #f4e8ff);
  color: #333;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 18px;
}

.card {
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 28px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(170, 90, 130, 0.18);
}

.brand-mark {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7eb3, #d68cff);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(214, 140, 255, 0.3);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #c15b91;
  margin-bottom: 8px;
}

h1 {
  font-size: 38px;
  color: #222;
  margin-bottom: 12px;
}

.intro {
  color: #777;
  line-height: 1.6;
  margin-bottom: 30px;
}

form {
  text-align: left;
}

label {
  display: block;
  margin: 16px 0 7px;
  font-weight: 700;
  font-size: 14px;
}

input {
  width: 100%;
  border: 2px solid #f0d9e5;
  background: #fffafd;
  padding: 15px 16px;
  border-radius: 14px;
  font-size: 16px;
  outline: none;
  transition: 0.2s;
}

input:focus {
  border-color: #e884b5;
  box-shadow: 0 0 0 4px rgba(232, 132, 181, 0.12);
}

button {
  width: 100%;
  margin-top: 22px;
  border: none;
  border-radius: 15px;
  padding: 16px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  color: white;
  background: linear-gradient(135deg, #ed6fa9, #ba78e8);
  box-shadow: 0 10px 25px rgba(205, 100, 165, 0.25);
}

button:hover {
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.status {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.status.error {
  color: #b42318;
}

.result {
  margin-top: 28px;
  border-top: 1px solid #f0e0e8;
  padding-top: 25px;
}

.hidden {
  display: none;
}

.welcome {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}

.points-box {
  padding: 25px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff0f7, #f4e7ff);
  margin-bottom: 16px;
}

.points-label {
  display: block;
  color: #8b6077;
  font-weight: 700;
  margin-bottom: 6px;
}

#points-balance {
  display: block;
  font-size: 50px;
  color: #c45b94;
}

#last-purchase {
  color: #777;
  font-size: 14px;
}

@media (max-width: 520px) {
  .card {
    padding: 32px 22px;
  }

  h1 {
    font-size: 32px;
  }
}
