.wheel-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-block: 16px 0;
  padding: 16px clamp(16px, 3vw, 30px);
  color: #522035;
  background: linear-gradient(110deg, #ffe9ed, #fff2d8);
  border: 1px solid #ebcad0;
  border-radius: 18px;
}

.wheel-promo h2 {
  margin: 0 0 4px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.15;
}

.wheel-promo p { margin: 0; }

.wheel-promo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 20px;
  border-radius: 999px;
  color: #fff;
  background: #a82955;
  font-weight: 750;
  text-decoration: none;
}

.wheel-promo-link:hover { background: #872044; }
.wheel-promo-link:focus-visible { outline: 3px solid #522035; outline-offset: 3px; }

.party-wheel {
  --wheel-ink: #273d2a;
  --wheel-pink: #a82955;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 340px);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(24px, 5vw, 56px);
  margin-block: 36px 64px;
  scroll-margin-top: 100px;
  border: 1px solid #e9d8cb;
  border-radius: 30px;
  background: #fff7ed;
  color: var(--wheel-ink);
}

.party-wheel h2 {
  margin: 8px 0 14px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.05;
}

.party-wheel p { margin: 0 0 20px; }

.party-wheel-stage {
  position: relative;
  width: min(100%, 340px);
  margin: 14px auto 0;
  aspect-ratio: 1;
}

.party-wheel-disc {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border: 7px solid #fffdf9;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #d2b68f, 0 12px 26px #704d3122;
  background: conic-gradient(from -22.5deg,
    #f8c9d7 0deg 45deg, #ffe3a0 45deg 90deg, #c0dec7 90deg 135deg, #e2d3f7 135deg 180deg,
    #f3c6a8 180deg 225deg, #c4e5ee 225deg 270deg, #f2bfc4 270deg 315deg, #e4eab2 315deg 360deg);
  transition: transform 3.2s cubic-bezier(.13, .72, .16, 1);
}

.party-wheel-disc::after {
  content: '✦';
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 16%;
  aspect-ratio: 1;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--wheel-ink);
  color: white;
  font-size: clamp(20px, 4vw, 30px);
}

.party-wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  z-index: 1;
  width: 27px;
  height: 32px;
  transform: translateX(-50%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: var(--wheel-pink);
}

.party-wheel-label {
  position: absolute;
  top: var(--label-top);
  left: var(--label-left);
  width: 26%;
  transform: translate(-50%, -50%) rotate(var(--label-rotation));
  color: #28382a;
  font-size: clamp(12px, 2.1vw, 15px);
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
}

.party-wheel .party-wheel-spin {
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--wheel-pink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.party-wheel .party-wheel-spin:disabled { cursor: wait; opacity: .76; }
.party-wheel .party-wheel-spin:focus-visible { outline: 3px solid var(--wheel-ink); outline-offset: 4px; }
.party-wheel .party-wheel-result {
  min-height: 3em;
  margin: 16px 0 0;
  font-weight: 700;
}

.party-wheel-award {
  display: grid;
  justify-items: start;
  gap: 6px;
  margin: 0 0 12px;
}
.party-wheel-award[hidden] { display: none; }
.party-wheel-code {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-family: ui-monospace, monospace;
  user-select: all;
}
.party-wheel .party-wheel-copy {
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid currentColor;
  border-radius: 10px;
  color: var(--wheel-ink);
  background: white;
  font: inherit;
  cursor: pointer;
}
.party-wheel-copy-status { font-size: .875rem; }
.party-wheel-copy-status:empty { display: none; }

.party-wheel-terms {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid #e9d8cb;
}
.party-wheel-terms h3 { margin: 0 0 8px; }
.party-wheel-terms ul { margin: 0; padding-inline-start: 22px; }
.party-wheel-terms li + li { margin-top: 6px; }

@media (max-width: 690px) {
  .party-wheel { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .party-wheel-stage { grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .party-wheel-disc { transition: none; }
}
