@font-face {
  font-family: "Gotham Bold";
  src: url(fonts/Gotham-Bold.otf);
  font-style: normal;
}

@font-face {
  font-family: "Gotham Medium";
  src: url(fonts/Gotham-Medium.otf);
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.container {
  max-width: 500px;
  width: 100%;
  background: url(images/Artboard\ 5\ 1.png);
  background-position: center center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 2rem;
  position: relative;
}

#loaderGif {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* Ensure it's above other content */
}


.logo-container {
  width: 100%;
  padding: 2rem;
}

.logo-img {
  display: block;
  margin: auto;
}

.sales-form {
  max-width: 400px;
  margin: 5rem auto 0;
  padding: 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
}

.register-form {
  padding: 1rem;
  margin-bottom: 10rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.form-input {
  background: url(images/Rectangle\ 1.png);
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: transparent;
  font-family: "Gotham Medium", sans-serif;
  font-size: 16px;
  border: none;
  padding: 1rem;
  outline: none;
  width: 100%;
}

.form-input:focus {
  transform: translateY(-2px);
}

.form-input::placeholder {
  color: #a0a0a0;
  opacity: 0.8;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: none;
}

input[type="file"] {
  background: url(images/Rectangle\ 8.png);
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
}

input[type="file"]::placeholder {
  content: none;
  display: none;
}

select {
  color: #a0a0a0;
  transition: 0.4s;
  font-family: "Gotham Medium", sans-serif;
  font-size: 16px;
}

option:first-child {
  color: #a0a0a0;
}

option:not(:first-child) {
  color: #000;
}

select:invalid {
  color: #a0a0a0;
}

select:valid {
  color: #000;
}

select,
::picker(select) {
  appearance: base-select;
}

select::picker-icon {
  color: #a0a0a0;
  transition: 0.4s rotate;
}

select:open::picker-icon {
  rotate: 180deg;
}

::picker {
  border: none;
}

option {
  border: none;
  padding: 0.5rem;
  transition: 0.4s;
}

option:first-of-type {
  color: #a0a0a0;
  border-radius: 8px 8px 0 0;
}

option:last-of-type {
  border-radius: 0 0 8px 8px;
}

.upi-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.upi-input {
  width: 80%;
}

.camera-btn {
  width: 70px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #caa054;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.camera-btn:hover {
  background: #caa054;
  color: white;
}

.camera-icon {
  width: 28px;
  height: 27px;
  stroke: #a0a0a0;
  fill: none;
  stroke-width: 2;
}

.camera-btn:hover .camera-icon {
  stroke: white;
}

.mandatory-text {
  color: white;
  font-size: 8px;
  margin: 16px 0;
  font-family: "Gotham Medium", sans-serif;
}

.checkbox-group {
  margin: 24px 0;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}

.checkbox {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  accent-color: #caa054;
  cursor: pointer;
}

.checkbox-label {
  color: white;
  font-size: 10px;
  line-height: 1.5;
  cursor: pointer;
  font-family: "Gotham Medium", sans-serif;
}

.submit-button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn {
  background: url(images/Rectangle\ 2.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center center;
  border: none;
  cursor: pointer;
  padding: 1rem 0 1.5rem 0;
  text-align: center;
  font-family: "Gotham Bold", sans-serif;
  width: 60%;
  font-size: 16px;
}

.error-msg {
  color: white;
  font-family: "Gotham Medium", sans-serif;
  margin-left: 0.5rem;
  font-size: 12px;
}

.prize-container {
  text-align: center;
  margin: 50px auto 18rem auto;
  background: url(images/prize-box.png) no-repeat center center;
  background-size: contain;
  position: relative;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.congrat-img {
  width: 80%;
  max-width: 300px;
  margin-top: 50px;
}

.cashback-text{
  margin-top: 1rem;
  font-family: "Gotham Medium", sans-serif;
  font-size: 14px;
}

#prize-text {
  font-size: 2.8rem;
  font-weight: bold;
  font-family: "Gotham Bold", sans-serif;
  background: linear-gradient(
    to right,
    #FFD000 0%,
    #FF8B00 27%,
    #FFEB12 64%,
    #FF8B00 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  background-clip: text;
  color: transparent;

  display: inline-block;
  margin-top: 10px;
}

.footer-img {
  position: absolute;
  bottom: 0;
  right: 0;
  padding-right: 1.2rem;
  padding-bottom: 0.2rem;
}

/* spin */
.wheel-cont{
  position: relative;
  width: 100%;
  max-width: 300px;
  margin-bottom: 2rem;
  aspect-ratio: 1/1;
}

.wheel{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(images/wheel1.png);
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
  transform: rotate(0deg);
}

.wheel-center{
  position: absolute;
  width: 100px;
  height: 60px;
  background: url(images/arrow.png);
  background-size: cover;
  background-position: center;
  top: 7%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.youve-won {
  font-family: "Captain Refined", serif;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.prize-text {
  font-size: 24px;
  font-weight: bold;
  margin: 20px 0;
  line-height: 1.6;
  color: #fff;
}
.thank p {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-top: 20px;
  padding: 0 20px;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
}
