:root {
  --purple: #7a42c8;
  --purple-dark: #3b116f;
  --pink: #df84f5;
  --sun: #ffb600;
  --teal: #6db5c3;
  --ink: #121212;
  --paper: #fffaf0;
  --card: #ffffff;
  --line: #151515;
  --muted: #5d5662;
  --danger: #9f1239;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 18px 16px 42px;
}

.hero {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 7px 7px 0 var(--pink);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.uw-logo {
  width: 138px;
  height: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--purple-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.05;
}

h1 {
  font-size: 2.7rem;
}

h2 {
  font-size: 1.35rem;
}

.intro {
  max-width: 36rem;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: 0;
  text-align: right;
}

.partner-card img {
  width: 46px;
  height: 46px;
  border: 2px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 46px;
}

.partner-card strong,
.partner-card span {
  display: block;
}

.partner-card strong {
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.1;
}

.partner-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
}

.hero-prize-image {
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
}

.hero-prize-image img {
  display: block;
  width: 100%;
  height: auto;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0;
}

.service-strip div {
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 94px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  font-weight: 800;
  text-align: center;
}

.service-strip img {
  width: 38px;
  height: 38px;
}

.entry-form {
  display: grid;
  gap: 16px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-section,
.terms {
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 18px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.section-heading > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--sun);
  font-weight: 900;
}

label,
legend {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
}

.required-mark {
  color: var(--purple);
  font-weight: 900;
  white-space: nowrap;
}

.required-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

fieldset {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

input,
textarea {
  width: 100%;
  min-height: 46px;
  margin-bottom: 14px;
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
summary:focus,
button:focus,
a:focus {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.choice-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  margin: 0;
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
}

.choice-row input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}

.info-options {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.info-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 58px;
  margin: 0;
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: #fff;
}

.info-option input {
  width: 18px;
  min-height: 18px;
  margin: 3px 0 0;
}

.info-option span,
.info-option strong,
.info-option small {
  display: block;
}

.info-option small {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 700;
}

.consent-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.residential-status,
.uw-status {
  margin-bottom: 0;
}

.residential-status + .uw-status {
  margin-top: 14px;
}

.terms summary {
  cursor: pointer;
  font-weight: 900;
}

.terms p {
  margin-bottom: 0;
  color: var(--muted);
}

a {
  color: var(--purple-dark);
  font-weight: 800;
}

.form-message {
  margin: 0;
  border: 2px solid var(--danger);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff1f2;
  color: var(--danger);
  font-weight: 800;
}

.submit-button,
.booking-button,
.close-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  background: var(--purple);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--line);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.booking-button.alt {
  background: var(--pink);
  color: var(--ink);
}

.close-button {
  width: 100%;
  margin-top: 14px;
  background: var(--card);
  color: var(--ink);
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(18, 18, 18, 0.44);
}

.success-panel {
  position: relative;
  width: min(100%, 560px);
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 28px 20px 22px;
  box-shadow: 8px 8px 0 var(--line);
}

.success-panel h2 {
  font-size: 2rem;
}

.success-pot {
  position: relative;
  width: 112px;
  margin: 0 auto 10px;
}

.success-pot img {
  width: 100%;
}

.success-pot::before {
  content: "";
  position: absolute;
  left: 37.4%;
  top: 51.1%;
  width: 26%;
  height: 6.9%;
  background: #fffbe8;
  border-radius: 40% 48% 45% 38%;
  transform: rotate(-10deg);
}

.success-pot::after {
  content: "Winnings";
  position: absolute;
  left: 35.2%;
  top: 50.7%;
  width: 31%;
  color: var(--purple);
  font-family: "Segoe Print", "Bradley Hand ITC", "Comic Sans MS", cursive;
  font-size: 0.38rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transform: rotate(-10deg);
}

.success-panel p:not(.eyebrow) {
  color: var(--muted);
}

.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.confetti span {
  position: absolute;
  width: 12px;
  height: 18px;
  border: 2px solid var(--line);
  background: var(--sun);
  transform: rotate(18deg);
}

.confetti span:nth-child(1) {
  left: 10%;
  top: 12%;
}

.confetti span:nth-child(2) {
  left: 28%;
  top: 4%;
  background: var(--pink);
  transform: rotate(-21deg);
}

.confetti span:nth-child(3) {
  right: 20%;
  top: 7%;
  background: var(--teal);
}

.confetti span:nth-child(4) {
  right: 9%;
  top: 22%;
  background: #fff;
  transform: rotate(36deg);
}

.confetti span:nth-child(5) {
  left: 14%;
  bottom: 12%;
  background: var(--purple);
}

.booking-actions {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

[hidden] {
  display: none !important;
}

@media (min-width: 720px) {
  .page-shell {
    padding-top: 32px;
  }

  .hero {
    padding: 28px;
  }

  h1 {
    font-size: 4.7rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr);
    align-items: center;
  }

  .field-grid,
  .booking-actions {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}
