*,
*::before,
*::after {
  box-sizing: border-box;
}

body.dr {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(700px 500px at 12% 10%, rgba(255, 47, 179, 0.18) 0%, rgba(255, 47, 179, 0) 70%), radial-gradient(800px 600px at 92% 70%, rgba(47, 243, 255, 0.12) 0%, rgba(47, 243, 255, 0) 70%), #0b0613;
  color: #f6eefe;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:where(.dr) :where(h1, h2, h3, p, ol, fieldset) {
  margin: 0;
}
:where(.dr) :where(fieldset) {
  border: 0;
  padding: 0;
  min-width: 0;
}
:where(.dr) :where(button) {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
:where(.dr) :where(a) {
  color: inherit;
}
:where(.dr) :where(:focus-visible) {
  outline: 3px solid #2ff3ff;
  outline-offset: 3px;
  border-radius: 10px;
}

.dr [hidden] {
  display: none !important;
}

.dr:not(.is-spin) .dr-only-spin,
.dr:not(.is-ticket) .dr-only-ticket,
.dr:not(.is-error) .dr-only-error {
  display: none !important;
}

.dr-flash {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, #fff 0%, rgba(255, 220, 245, 0.6) 40%, rgba(255, 47, 179, 0) 75%);
  opacity: 0;
}

.dr-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px clamp(16px, 5vw, 80px);
}

.dr-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.dr-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dr-sound {
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid rgba(240, 228, 255, 0.14);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(240, 228, 255, 0.66);
}
.dr-sound:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.dr-bar-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(240, 228, 255, 0.66);
  text-decoration: none;
}
.dr-bar-link:hover {
  color: #fff;
}

.dr-casino {
  --glow: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 80px);
  padding: 8px clamp(16px, 5vw, 80px) 72px;
  min-height: calc(min(100vh, 980px) - 80px);
}

.dr-controls {
  padding-top: clamp(16px, 9vh, 120px);
}

.dr-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffd36b;
  margin-bottom: 14px;
}

.dr-sign {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 7.4vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.dr-sign span {
  display: block;
}

.dr-sign-1 {
  color: #fff;
  text-shadow: 0 0 4px #fff, 0 0 12px #2ff3ff, 0 0 26px #2ff3ff, 0 0 52px #2ff3ff;
}

.dr-sign-2 {
  color: #fff;
  text-shadow: 0 0 4px #fff, 0 0 12px #ff2fb3, 0 0 26px #ff2fb3, 0 0 52px #ff2fb3;
  animation: dr-flicker 6s linear infinite;
}

.dr-lede {
  margin-top: 22px;
  max-width: 480px;
  font-size: 1.08rem;
  color: rgba(240, 228, 255, 0.66);
}

.dr-vibes {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dr-vibes legend {
  width: 100%;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 228, 255, 0.66);
}
.dr-vibes input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.dr-vibes span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 99px;
  border: 2px solid rgba(240, 228, 255, 0.14);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.dr-vibes label:hover span {
  border-color: rgba(255, 255, 255, 0.4);
}
.dr-vibes input:checked + span {
  border-color: #ff2fb3;
  background: rgba(255, 47, 179, 0.14);
  box-shadow: 0 0 0 1px #ff2fb3, 0 0 22px rgba(255, 47, 179, 0.55), inset 0 0 14px rgba(255, 47, 179, 0.3);
}
.dr-vibes input:focus-visible + span {
  outline: 3px solid #2ff3ff;
  outline-offset: 3px;
}

.dr-names {
  margin-top: 24px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dr-names > span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 228, 255, 0.66);
}
.dr-names > span em {
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
.dr-names input {
  border: 2px solid rgba(240, 228, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 16px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}
.dr-names input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.dr-names input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.dr-names input:focus {
  outline: none;
  border-color: #2ff3ff;
  box-shadow: 0 0 20px rgba(47, 243, 255, 0.35);
}

.dr-table {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
}

.dr-wheel-wrap {
  position: relative;
  width: min(540px, 88vw);
  aspect-ratio: 1;
}
.dr-wheel-wrap::before {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 47, 179, 0.45) 0%, rgba(180, 92, 255, 0.2) 45%, rgba(11, 6, 19, 0) 70%);
  opacity: calc(0.45 + var(--glow, 0) * 0.55);
  filter: blur(10px);
}

.dr-rotor {
  position: absolute;
  inset: 0;
  cursor: pointer;
  will-change: transform;
}

.dr-wheel {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6));
}

.dr-wedge path {
  stroke: #0b0613;
  stroke-width: 2;
  transition: filter 0.3s ease;
}

.dr-wedge.is-winner path {
  animation: dr-winner 0.5s ease-in-out 4 alternate;
}

.dr-wedge-emoji {
  font-size: 40px;
}

.dr-legend {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 560px;
}
.dr-legend li {
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid rgba(240, 228, 255, 0.14);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: rgba(240, 228, 255, 0.66);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.dr-legend li.is-winner {
  color: #fff;
  border-color: #ff2fb3;
  background: rgba(255, 47, 179, 0.18);
  box-shadow: 0 0 18px rgba(255, 47, 179, 0.55);
}

.dr-rim {
  fill: none;
  stroke: #ffd36b;
  stroke-width: 9;
}

.dr-bulb {
  fill: #fff3c4;
  filter: drop-shadow(0 0 4px #ffd36b);
  animation: dr-bulb 0.9s steps(1, end) infinite;
}
.is-spinning .dr-bulb {
  animation-duration: 0.25s;
}

.dr-hub-ring {
  fill: #12061f;
  stroke: #ffd36b;
  stroke-width: 5;
}

.dr-pointer {
  position: absolute;
  top: -16px;
  left: 50%;
  z-index: 3;
  width: 46px;
  margin-left: -23px;
  transform-origin: 50% 30%;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(255, 211, 107, 0.6));
  pointer-events: none;
}
.dr-pointer path {
  fill: #ffd36b;
  stroke: #7a5200;
  stroke-width: 2;
}
.dr-pointer circle {
  fill: #ff2fb3;
}

.dr-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 25%;
  height: 25%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1b8 0%, #ffd36b 45%, #c98a00 100%);
  color: #12061f;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: clamp(1rem, 3vw, 1.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 0 0 5px #12061f, 0 0 30px rgba(255, 211, 107, 0.7);
  animation: dr-pulse 1.8s ease-in-out infinite;
  transition: filter 0.2s ease;
}
.is-spinning .dr-hub {
  animation: none;
  filter: grayscale(0.4) brightness(0.8);
  cursor: default;
}

.dr-spin-note {
  margin-top: 18px;
  min-height: 1.6em;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: rgba(240, 228, 255, 0.66);
  text-align: center;
}

.dr-reveal {
  position: relative;
  width: min(520px, 100%);
  margin-top: 18px;
  padding: 26px 26px 22px;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(160deg, rgba(42, 15, 74, 0.95) 0%, rgba(18, 6, 31, 0.95) 100%);
  box-shadow: 0 0 0 2px #ff2fb3, 0 0 40px rgba(255, 47, 179, 0.45), 0 30px 60px rgba(0, 0, 0, 0.5);
}

.dr-reveal-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2ff3ff;
}

.dr-reveal-emoji {
  display: inline-block;
  margin-top: 8px;
  font-size: 3.6rem;
  line-height: 1;
}

.dr-reveal-title {
  margin-top: 6px;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.dr-reveal-pitch {
  margin-top: 8px;
  color: rgba(240, 228, 255, 0.66);
}

.dr-reveal-actions,
.dr-ticket-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.dr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 99px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.dr-btn:hover {
  transform: translateY(-2px);
  border-color: #2ff3ff;
  box-shadow: 0 0 20px rgba(47, 243, 255, 0.45);
}
.dr-btn--neon {
  border-color: #ff2fb3;
  background: #ff2fb3;
  box-shadow: 0 0 24px rgba(255, 47, 179, 0.6);
}
.dr-btn--neon:hover {
  border-color: #ff6fcb;
  box-shadow: 0 0 36px rgba(255, 47, 179, 0.85);
}

.dr-text-btn {
  margin-top: 26px;
  font-weight: 600;
  color: rgba(240, 228, 255, 0.66);
  text-decoration: none;
}
.dr-text-btn:hover {
  color: #fff;
}

.dr-ticket-screen {
  min-height: calc(min(100vh, 980px) - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px clamp(16px, 5vw, 80px) 72px;
}

.dr-hook {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 14ch;
  color: #fff;
  text-shadow: 0 0 4px #fff, 0 0 12px #ff2fb3, 0 0 26px #ff2fb3, 0 0 52px #ff2fb3;
  animation: dr-flicker 7s linear infinite;
}

.dr-ticket {
  --notch: 30%;
  margin-top: 36px;
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: var(--notch) 1fr;
  text-align: left;
  color: #12061f;
  background: #fff4d6;
  border-radius: 26px;
  transform: rotate(-2deg);
  box-shadow: 0 0 0 3px #ffd36b, 0 0 50px rgba(255, 211, 107, 0.35), 0 40px 80px rgba(0, 0, 0, 0.6);
  -webkit-mask: radial-gradient(circle at var(--notch) 0, transparent 20px, #000 21px) top/100% 51% no-repeat, radial-gradient(circle at var(--notch) 100%, transparent 20px, #000 21px) bottom/100% 51% no-repeat;
  mask: radial-gradient(circle at var(--notch) 0, transparent 20px, #000 21px) top/100% 51% no-repeat, radial-gradient(circle at var(--notch) 100%, transparent 20px, #000 21px) bottom/100% 51% no-repeat;
}

.dr-ticket-stub {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 28px 24px;
  border-right: 3px dashed rgba(18, 6, 31, 0.3);
}

.dr-admit {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1;
  text-transform: uppercase;
  color: #ff2fb3;
}

.dr-ticket-date {
  font-weight: 700;
}

.dr-ticket-names {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.dr-barcode {
  margin-top: 10px;
  height: 44px;
  background: repeating-linear-gradient(90deg, #12061f 0 3px, transparent 3px 5px, #12061f 5px 6px, transparent 6px 10px, #12061f 10px 14px, transparent 14px 16px);
  border-radius: 2px;
}

.dr-ticket-main {
  padding: 28px 30px 26px;
}

.dr-ticket-kicker,
.dr-rules-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a3fb0;
}

.dr-ticket-head {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.dr-ticket-emoji {
  font-size: 3rem;
  line-height: 1;
}

.dr-ticket-title {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.dr-ticket-pitch {
  margin-top: 10px;
  color: #4b3a5c;
}

.dr-rules-label {
  margin-top: 18px;
}

.dr-rules {
  margin-top: 8px;
  padding: 0;
  list-style: none;
  counter-reset: rule;
}
.dr-rules li {
  counter-increment: rule;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}
.dr-rules li::before {
  content: counter(rule);
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff2fb3;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.dr-ticket-actions {
  margin-top: 34px;
}

.dr-guide {
  padding: 8px clamp(16px, 5vw, 80px) 32px;
}

.dr-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 24px 64px;
  padding: 52px 0;
  border-top: 1px solid rgba(240, 228, 255, 0.14);
}
.dr-row h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.dr-row > div {
  max-width: 760px;
  color: rgba(240, 228, 255, 0.66);
  font-size: 1.02rem;
  line-height: 1.75;
}
.dr-row > div p + p {
  margin-top: 14px;
}
.dr-row strong {
  color: #fff;
}
.dr-row em {
  font-style: normal;
  font-weight: 700;
  color: #ff2fb3;
}

.dr-faq details {
  border-bottom: 1px solid rgba(240, 228, 255, 0.14);
}
.dr-faq details:first-child summary {
  padding-top: 0;
}
.dr-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: #fff;
}
.dr-faq summary::-webkit-details-marker {
  display: none;
}
.dr-faq summary::after {
  content: "+";
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
  color: #ff2fb3;
  transition: transform 0.2s ease;
}
.dr-faq details[open] summary::after {
  transform: rotate(45deg);
}
.dr-faq details p {
  padding-bottom: 18px;
}

.dr-foot {
  padding: 44px clamp(16px, 5vw, 80px) 40px;
  text-align: center;
  color: rgba(240, 228, 255, 0.66);
  border-top: 1px solid rgba(240, 228, 255, 0.14);
}
.dr-foot p + p {
  margin-top: 12px;
}
.dr-foot a {
  color: #fff;
  font-weight: 500;
}

.dr-foot-meta {
  font-size: 0.85rem;
}
.dr-foot-meta a {
  color: rgba(240, 228, 255, 0.66);
  text-decoration: none;
}

.dr-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 60;
  transform: translate(-50%, 16px);
  max-width: calc(100vw - 32px);
  padding: 11px 20px;
  border-radius: 99px;
  background: #2ff3ff;
  color: #12061f;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.dr-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes dr-flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
  }
  20%, 24%, 55% {
    opacity: 0.35;
  }
}
@keyframes dr-bulb {
  0% {
    fill: #fff3c4;
  }
  50% {
    fill: #6a4a00;
  }
}
@keyframes dr-pulse {
  0%, 100% {
    box-shadow: 0 0 0 5px #12061f, 0 0 24px rgba(255, 211, 107, 0.6);
  }
  50% {
    box-shadow: 0 0 0 5px #12061f, 0 0 0 14px rgba(255, 211, 107, 0.25), 0 0 46px rgba(255, 211, 107, 0.9);
  }
}
@keyframes dr-winner {
  from {
    filter: brightness(1);
  }
  to {
    filter: brightness(1.6) saturate(1.3);
  }
}
@media (max-width: 960px) {
  .dr-casino {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 36px;
  }
  .dr-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .dr-bar-link {
    display: none;
  }
  .dr-ticket {
    --notch: 0%;
    grid-template-columns: 1fr;
    transform: none;
    -webkit-mask: none;
    mask: none;
  }
  .dr-ticket-stub {
    border-right: 0;
    border-bottom: 3px dashed rgba(18, 6, 31, 0.3);
    padding: 22px 22px 18px;
  }
  .dr-ticket-main {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dr-sign-2,
  .dr-hook,
  .dr-bulb,
  .dr-hub,
  .dr-wedge.is-winner path {
    animation: none;
  }
  .dr-btn,
  .dr-vibes span {
    transition: none;
  }
}