html {
  font-size: 16px;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #fff8f0;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
}

.gift-status-message{
  display: none;
}
.campaign-nav {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  color: #e22c55;
  font-weight: 800;
  letter-spacing: 0;
}

.campaign-footer {
  padding: 24px 0;
  background: #fff;
  color: #777;
  font-size: 14px;
}


.entry-grid,
.wheel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 48px;
  align-items: center;
}

.entry-copy h1,
.result-panel h1 {
  max-width: 720px;
  margin: 12px 0 16px;
  color: #2d2630;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.02;
}

.entry-copy p,
.result-panel>p {
  max-width: 620px;
  color: #5d5660;
  font-size: 18px;
  line-height: 1.55;
}

.eyebrow {
  color: #e22c55;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


.email-panel {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.entry-email-form {
  width: min(100%, 520px);
  margin: 28px auto 0;
}

.entry-email-input {
  min-height: 56px;
  padding-right: 20px;
  padding-left: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid rgba(226, 44, 85, 0.22);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
}

.email-panel label,
.form-label {
  color: #8C7672;
  font-weight: 700;
}

.form-control {
  border-color: #ded7ce;
  border-radius: 6px;
  min-height: 48px;
  color: #8C7672;
}

.form-control:focus {
  border-color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(226, 44, 85, 0.16);
}

.btn-primary {
  background: #e22c55;
  border-color: #e22c55;
  border-radius: 6px;
  font-weight: 800;
  min-height: 46px;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #c91e45;
  border-color: #c91e45;
}

.wheel-layout {
  grid-template-columns: minmax(320px, 540px) minmax(0, 1fr);
}

.wheel-area {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.wheel-area.is-hidden {
  display: none;
}

.gift-wheel {
  position: relative;
  width: min(86vw, 520px);
  aspect-ratio: 1;
  border: 12px solid #fff;
  border-radius: 50%;
  background: conic-gradient(#ffd166 0deg 60deg,
      #ef476f 60deg 120deg,
      #06d6a0 120deg 180deg,
      #118ab2 180deg 240deg,
      #f78c6b 240deg 300deg,
      #8f6ed5 300deg 360deg);
  box-shadow: 0 22px 60px rgba(77, 52, 63, 0.22);
  transform: rotate(0deg);
  transition: transform 4.8s cubic-bezier(0.12, 0.72, 0.08, 1);
}

.gift-wheel::after {
  position: absolute;
  inset: 50%;
  width: 112px;
  height: 112px;
  content: "";
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  transform: translate(-50%, -50%);
}

.gift-wheel span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44%;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  text-align: right;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
  transform: rotate(calc(var(--i) * 60deg + 30deg)) translateX(12%) translateY(-50%);
  transform-origin: left center;
}

.wheel-pointer {
  position: absolute;
  top: 8px;
  z-index: 3;
  width: 0;
  height: 0;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  border-top: 42px solid #2d2630;
}

.spin-button {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  padding: 0;
  color: #e22c55;
  background: #fff;
  border: 0;
  border-radius: 50%;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.spin-button:disabled {
  color: #888;
  cursor: wait;
}

.participant-email {
  margin: 8px 0 0;
  color: #5d5660;
  word-break: break-word;
}

.result-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(111, 61, 76, 0.12);
}

.result-card.is-hidden {
  display: none;
}

.result-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f2eae2;
  border-radius: 8px;
}

.result-card h2 {
  margin: 6px 0 8px;
  color: #2d2630;
  font-size: 28px;
  font-weight: 800;
}

.result-card p {
  color: #5d5660;
  line-height: 1.5;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.result-actions .btn {
  min-height: 44px;
  border-radius: 6px;
  font-weight: 800;
}

.gift-status-message {
  width: 100%;
  margin: 8px 0 0;
  color: #5d5660;
  font-weight: 700;
}

.gift-status-message.is-winner {
  color: #e22c55;
}

.btn-outline-secondary {
  color: #2d2630;
  border-color: #cfc6bc;
  background: #fff;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  color: #2d2630;
  border-color: #e22c55;
  background: #fff3f6;
}

.captcha-warning {
  margin: 10px 0 0;
  color: #9f233f;
  font-size: 13px;
}

.success-state {
  padding: 28px 8px;
  text-align: center;
}

.success-mark {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  color: #fff;
  background: #06a77d;
  border-radius: 50%;
  font-size: 40px;
  font-weight: 900;
}

.success-state h3 {
  margin: 0 0 8px;
  color: #2d2630;
  font-size: 28px;
  font-weight: 800;
}

.success-state p {
  margin: 0;
  color: #5d5660;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #FDFBF9;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: .3rem;
  outline: 0;
  border-radius: 30px;
  text-align: center;
}

.modal-content h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 30px;
}

.modal-content h2 span {
  font-family: "Moon Dance", cursive;
}

.modal-content p {
  color: #6D6559;
  line-height: 1.6em;
}

.modal-content .btn-secondary {
  background: #e22c55;
  border-color: #e22c55;
  color: #fff;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  min-height: 46px;
  border-radius: 20px;
  width: 100%;
}

.modal-body {
  padding: 0 70px;

}

.modal-footer {
  padding: 20px 70px;
  border: none;
}

.modal-header {
  padding: 30px;
  border: none;
}

.giftIcon {
  box-shadow: 0px -1px 30px rgb(200 75 67);
  border-radius: 50px;

}

@media (max-width: 991px) {

  .entry-grid,
  .wheel-layout {
    grid-template-columns: 1fr;
  }

  .wheel-area {
    min-height: auto;
    padding: 32px 0;
  }

  .grecaptcha-badge {
    display: none !important;
  }
}

@media (max-width: 575px) {

  .entry-page,
  .wheel-page {
    padding: 36px 0;
  }

  .email-panel {
    padding: 20px;
  }

  .gift-wheel span {
    font-size: 12px;
  }

  .result-card {
    grid-template-columns: 1fr;
  }
}