* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  border: none;
  background: none;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
h1 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#wrapper {
  all: unset;
  display: none;
  width: 100%;
  height: 100%;
}

.new-div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  min-width: 300px;
}

.new-div p {
  margin: 0;
  font-size: 24px;
  color: #222;
  font-weight: 600;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 1, "wght" 800, "GRAD" 0, "opsz" 100;
  font-size: 69px;
  color: #222;
  display: block;
  margin-bottom: 10px;
  margin: 0 auto;
}

.wheel-wrap {
  position: relative;
  width: 360px;
  height: 360px;
}
canvas {
  display: block;
  margin: 0 auto;
  background: transparent;
  border-radius: 50%;
}
#spinBtn {
  background: #fff;
  color: #000;
  border: none;
  padding: 10px 18px;
  border-radius: 24px;
  cursor: pointer;
  font-weight: 700;
}
#result {
  color: #000;
  font-weight: 700;
  min-height: 1.2em;
  margin-top: 6px;
}

header {
  height: 80px;
  width: 100%;
  background-color: #000;
  color: #fff;
  display: flex;
  align-items: center;
  padding-left: 10px;
  gap: 12px;
}

.logo {
  width: 60px;
  height: 60px;
  background-image: url("/assets/image1000001");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  padding-left: 20px;
}

.company-name {
  font-size: 34px;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #111;
  color: #fff;
  padding: 20px 40px;
  border-radius: 12px;
  font-size: 24px;
  font-weight: bold;
  display: none;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

#formContainer {
  display: none;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  width: 90%;
  max-width: 600px;
  padding: 20px;
  border-radius: 12px;
  color: #111;
  font-family: sans-serif;
  background-color: transparent;
  margin-bottom: 100px;
}

#formContainer h2 {
  margin-bottom: 20px;
  font-size: 22px;
  text-align: center;
}

#donorForm {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-row {
  display: flex;
  gap: 15%;
  flex-wrap: wrap;
}

.form-row.single {
  flex-direction: column;
}

.form-row input {
  flex: 1;
  max-width: 45%;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  font-size: 16px;
  padding: 6px 0;
  background: transparent;
}

.form-row.single input {
  min-width: 45%;
}

.form-row input::placeholder {
  color: #999;
}

.form-row input:focus {
  border-bottom-color: #555;
}

#donorForm button {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

#donorForm button:hover {
  background: #222;
}

#formResult {
  margin-top: 12px;
  text-align: center;
  font-weight: bold;
}

@media (max-width: 480px) {
  h1 {
    margin-top: 100px;
  }
  .form-row {
    flex-direction: column;
  }
  .form-row input {
    min-width: 100%;
    margin-top: 30px;
  }

  .form-row.single input {
    min-width: 100%;
  }

  #donorForm {
    gap: 0;
  }
}
