/* v0.65 public wheel visual refresh. Scoped to the wheel page only. */
.wheel-v065 {
  display: grid;
  gap: 1.25rem;
}

.wheel-v065-hero,
.wheel-v065-empty {
  border: 1px solid #f3d7b2;
  border-radius: .5rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,247,237,.97)),
    repeating-linear-gradient(135deg, rgba(243,146,0,.08) 0 1px, transparent 1px 16px);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  overflow: hidden;
}

.wheel-v065-hero {
  display: grid;
  grid-template-columns: minmax(340px, .92fr) minmax(0, 1.08fr);
  gap: 1.25rem;
  align-items: stretch;
  min-height: 520px;
  padding: 1.25rem;
}

.wheel-v065-stage,
.wheel-v065-copy {
  border: 1px solid rgba(243,146,0,.16);
  border-radius: .5rem;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.wheel-v065-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
  padding: 2rem;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,208,138,.28), transparent 45%),
    linear-gradient(145deg, #102033, #173450);
  isolation: isolate;
}

.wheel-v065-ring {
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: .5rem;
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .65;
  z-index: -1;
}

.wheel-v065-shell {
  position: relative;
  width: min(380px, 82vw);
  aspect-ratio: 1;
}

.wheel-v065-canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #f39200;
  box-shadow:
    0 0 0 10px #fff4d8,
    0 18px 36px rgba(0,0,0,.32),
    0 0 52px rgba(243,146,0,.48),
    inset 0 0 28px rgba(255,255,255,.22);
  transform-origin: 50% 50%;
  transition: transform 4s cubic-bezier(.15,.85,.25,1);
}

.wheel-v065-pointer {
  position: absolute;
  right: -28px;
  top: 50%;
  z-index: 4;
  width: 58px;
  height: 58px;
  transform: translateY(-50%);
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #f39200, #f6c15f);
  box-shadow: 0 12px 24px rgba(0,0,0,.35);
}

.wheel-v065-pointer::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 20px solid #fff;
}

.wheel-v065-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 35%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 7px solid #fff4d8;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 8px 24px rgba(0,0,0,.18),
    0 0 30px rgba(246,193,95,.45);
}

.wheel-v065-center img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.wheel-v065-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(255,255,255,.92);
}

.wheel-v065-eyebrow {
  color: #8a5200;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wheel-v065-copy h1,
.wheel-v065-empty h1 {
  margin: 0;
  color: #151515;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.wheel-v065-lead {
  max-width: 680px;
  margin: 0;
  color: #4b5563;
  font-size: 1.05rem;
}

.wheel-v065-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
}

.wheel-v065-facts div {
  min-height: 76px;
  padding: .75rem;
  border: 1px solid #f2d6ad;
  border-radius: .5rem;
  background: #fffaf2;
}

.wheel-v065-facts strong,
.wheel-v065-facts span {
  display: block;
}

.wheel-v065-facts strong {
  color: #d37f00;
  font-size: 1.7rem;
  line-height: 1;
}

.wheel-v065-facts span {
  margin-top: .25rem;
  color: #555;
  font-size: .9rem;
  font-weight: 700;
}

.wheel-v065-form {
  display: grid;
  gap: .4rem;
  margin: .25rem 0 0;
}

.wheel-v065-form label {
  color: #222;
  font-weight: 900;
}

.wheel-v065-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .65rem;
}

.wheel-v065-form input {
  min-width: 0;
  height: 48px;
  margin: 0;
  border: 1px solid #f0c98f;
  border-radius: .5rem;
  background: #fff;
}

.wheel-v065-btn,
.wheel-v065-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .55rem 1.25rem;
  border: 1px solid #d37f00;
  border-radius: .5rem;
  background: linear-gradient(135deg, #f39200, #d37f00);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(211,127,0,.22);
  cursor: pointer;
}

.wheel-v065-btn:hover:not(:disabled),
.wheel-v065-empty a:hover {
  background: #d37f00;
  color: #fff;
  text-decoration: none;
}

.wheel-v065-btn:disabled {
  opacity: .68;
  cursor: default;
}

.wheel-v065-note {
  margin: 0;
  color: #666;
  font-size: .92rem;
}

.wheel-v065-message {
  min-height: 52px;
  padding: .8rem .9rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  background: #fffaf2;
  color: #333;
  font-weight: 800;
}

.wheel-v065-message:empty {
  display: none;
}

.wheel-v065-message.is-info {
  border-color: #f2d6ad;
  color: #8a5200;
}

.wheel-v065-message.is-success {
  border-color: #b9dfc4;
  background: #f0fff4;
  color: #176233;
}

.wheel-v065-message.is-error {
  border-color: #ffb7b7;
  background: #fff1f1;
  color: #9b1111;
}

.wheel-v065-empty {
  display: grid;
  gap: .8rem;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.wheel-v065-empty p {
  margin: 0;
  color: #555;
  font-size: 1.05rem;
}

.wheel-v065-empty a {
  justify-self: start;
}

@media (max-width: 980px) {
  .wheel-v065-hero {
    grid-template-columns: 1fr;
  }

  .wheel-v065-stage {
    min-height: 440px;
  }
}

@media (max-width: 640px) {
  .wheel-v065-hero {
    padding: .75rem;
  }

  .wheel-v065-stage {
    min-height: 360px;
    padding: 1rem;
  }

  .wheel-v065-shell {
    width: min(310px, 76vw);
  }

  .wheel-v065-pointer {
    right: -18px;
    width: 46px;
    height: 46px;
  }

  .wheel-v065-pointer::before {
    left: 5px;
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-right-width: 16px;
  }

  .wheel-v065-facts,
  .wheel-v065-form-row {
    grid-template-columns: 1fr;
  }
}
