@font-face {
  font-family:"NVN Black Mango";
  src:url("assets/fonts/nvn-black-mango.woff2") format("woff2");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}

:root {
  color-scheme: dark;
  --navy: #00162f;
  --navy-soft: #032d57;
  --blue: #087bd5;
  --cyan: #29bff4;
  --text: #f8fbff;
  --muted: #91a9c0;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  min-width: 320px;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(92, 206, 255, 0.8);
  outline-offset: 3px;
}

svg {
  display: block;
}

#confetti {
  position: fixed;
  inset: 0;
  z-index: 52;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.app-shell {
  position: relative;
  display: grid;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  grid-template-rows: 68px minmax(0, 1fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 42%, rgba(0, 147, 232, 0.32), transparent 29rem),
    radial-gradient(circle at 9% 90%, rgba(22, 103, 184, 0.18), transparent 25rem),
    linear-gradient(135deg, #001126 0%, #002d59 59%, #001a37 100%);
}

.app-shell::before,
.app-shell::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.app-shell::before {
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(111, 204, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 204, 255, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 94%);
}

.app-shell::after {
  top: 12%;
  right: -15rem;
  width: 43rem;
  height: 43rem;
  border: 1px solid rgba(107, 209, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(107, 209, 255, 0.025),
    0 0 0 190px rgba(107, 209, 255, 0.016);
}

.ambient {
  position: absolute;
  z-index: 0;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}

.ambient-one {
  top: -12rem;
  right: 22%;
  background: rgba(0, 153, 238, 0.18);
}

.ambient-two {
  bottom: -17rem;
  left: -8rem;
  background: rgba(69, 87, 190, 0.2);
}

.page-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 9px 25px rgba(0, 126, 225, 0.3);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 17px;
  font-weight: 850;
  letter-spacing: 0.15em;
  line-height: 1;
}

.brand-copy small {
  color: #a9c2da;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.25em;
}

.topbar-actions { display:flex; gap:9px; align-items:center; justify-content:flex-end; }

body:not(.is-staff-locked) .event-badge:not(.is-upcoming):not(.is-ended):not(.is-paused) {
  display: none;
}

.event-badge {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(77, 181, 242, 0.24);
  border-radius: 999px;
  color: #c1d3e3;
  font-size: 10px;
  font-weight: 700;
  background: rgba(11, 85, 145, 0.2);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #45e4ad;
  box-shadow: 0 0 0 5px rgba(69, 228, 173, 0.09), 0 0 12px #45e4ad;
  animation: pulse 1.7s infinite;
}

.event-badge.is-upcoming .pulse-dot {
  background: #ffca55;
  box-shadow: 0 0 0 5px rgba(255, 202, 85, 0.1), 0 0 12px #ffca55;
}

.event-badge.is-ended .pulse-dot,
.event-badge.is-paused .pulse-dot {
  background: #9db0c1;
  box-shadow: 0 0 0 5px rgba(157, 176, 193, 0.1);
  animation: none;
}

@keyframes pulse {
  50% {
    opacity: 0.45;
    transform: scale(0.8);
  }
}

.spin-screen {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  gap: clamp(34px, 5vw, 72px);
  padding-block: clamp(14px, 2.5vh, 30px);
  align-items: center;
  transition:
    grid-template-columns 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    column-gap 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro {
  min-width: 0;
  max-width: 535px;
  transform-origin: left center;
  transition:
    opacity 0.36s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  color: #afc5d8;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.19em;
}

.eyebrow > span {
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, #ed3351, #24b6f1);
}

h1 {
  margin: clamp(10px, 1.7vh, 18px) 0 0;
  font-size: clamp(48px, min(5.5vw, 8.5vh), 78px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 > span,
h1 em {
  display: block;
  padding-block: 0.07em;
  overflow: visible;
}

h1 br { display:none; }

h1 em {
  margin-top: clamp(5px, 0.8vh, 9px);
  font-style: normal;
  color: transparent;
  background: linear-gradient(90deg, #fff 0%, #7cddff 50%, #1d94e5 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

h1.is-medium-title {
  font-size: clamp(41px, min(4.7vw, 7.2vh), 66px);
}

h1.is-long-title {
  font-size: clamp(34px, min(3.8vw, 6vh), 54px);
  line-height: 1.11;
  letter-spacing: -0.035em;
}

.subtitle {
  margin: clamp(12px, 1.8vh, 19px) 0;
  color: #aac0d4;
  font-size: 12px;
  line-height: 1.55;
}

.spin-form {
  padding: clamp(14px, 2vh, 19px);
  border: 1px solid rgba(94, 195, 248, 0.28);
  border-radius: 15px;
  color: #f5fbff;
  background:
    linear-gradient(145deg, rgba(7, 57, 99, 0.94), rgba(2, 29, 57, 0.96));
  box-shadow:
    0 24px 60px rgba(0, 7, 22, 0.38),
    inset 0 1px rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.verified-customer {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin: -2px 0 10px;
  padding: 7px 9px;
  border: 1px solid rgba(73, 222, 169, 0.28);
  border-radius: 9px;
  background: rgba(21, 139, 101, 0.16);
}

.verified-customer > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  background: #16845f;
}

.verified-customer p { display:grid; gap:1px; min-width:0; margin:0; }
.verified-customer strong { overflow:hidden; color:#effff9; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.verified-customer small { overflow:hidden; color:#9bcdbc; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.verified-customer button { padding:5px 7px; cursor:pointer; border:0; color:#67d5ff; font-size:8px; font-weight:800; background:transparent; }

.form-heading {
  display: grid;
  grid-template-columns: 1fr 24px;
  gap: 10px;
  margin-bottom: 13px;
  padding-bottom: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(142, 203, 237, 0.16);
}

.step-number {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  background: linear-gradient(145deg, #0068d7, #00a8ef);
  box-shadow: 0 8px 20px rgba(0, 114, 211, 0.2);
}

.form-heading p,
.wheel-heading p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.form-heading strong,
.wheel-heading strong {
  font-size: 12px;
}

.form-heading strong {
  color: #fff;
}

.form-heading small,
.wheel-heading small {
  color: #698095;
  font-size: 9px;
}

.form-heading small {
  color: #8eabc2;
}

.form-heading > svg {
  width: 23px;
  fill: none;
  stroke: #62d4ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.spin-form > label {
  display: block;
  margin: 0 0 6px;
  color: #c5dbea;
  font-size: 10px;
  font-weight: 800;
}

.form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 165px;
  gap: 9px;
}

.vin-field {
  position: relative;
  min-width: 0;
}

.vin-field > svg {
  position: absolute;
  top: 50%;
  left: 13px;
  z-index: 1;
  width: 19px;
  fill: none;
  stroke: #79b9db;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transform: translateY(-50%);
  pointer-events: none;
}

.vin-field input {
  width: 100%;
  height: 46px;
  padding: 0 12px 0 42px;
  outline: 0;
  border: 1px solid rgba(137, 194, 226, 0.3);
  border-radius: 8px;
  color: #f6fbff;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  background: rgba(0, 19, 41, 0.58);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.vin-field input::placeholder {
  color: #7692a8;
  font-weight: 450;
  letter-spacing: 0;
}

.vin-field input:focus {
  border-color: #3bbbf1;
  background: rgba(0, 27, 57, 0.88);
  box-shadow: 0 0 0 4px rgba(49, 184, 241, 0.13);
}

.spin-button {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  padding: 0 12px;
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  background: linear-gradient(100deg, #005fc9, #00a4ed);
  box-shadow: 0 11px 26px rgba(0, 112, 208, 0.24), inset 0 1px rgba(255, 255, 255, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.spin-button:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.spin-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.3);
  opacity: 0.62;
}

.spin-button > svg {
  flex: 0 0 16px;
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.form-feedback {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  min-height: 20px;
  align-items: end;
}

.form-message {
  margin: 6px 0 0;
  color: #ff8796;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.35;
}

.form-message.info {
  color: #64cfff;
}

.form-message.success {
  color: #5be2b0;
}

.spin-hint {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 6px 0 0;
  color: #7797af;
  font-size: 8px;
  white-space: nowrap;
}

.spin-hint svg {
  width: 11px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.stats {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: clamp(10px, 1.7vh, 18px);
}

.stats > div {
  display: grid;
  gap: 2px;
}

.stats strong {
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.stats span {
  color: #829cb3;
  font-size: 9px;
}

.stats i {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.14);
}

.wheel-column {
  display: flex;
  min-width: 0;
  min-height: 0;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wheel-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: clamp(4px, 0.8vh, 9px);
}

.wheel-heading p {
  color: #fff;
}

.wheel-heading small {
  color: #86a3bc;
}

.wheel-area {
  position: relative;
  width: min(820px, 56vw, calc(100dvh - 90px));
  max-width: none;
  aspect-ratio: 1;
  flex: 0 1 auto;
  isolation: isolate;
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.wheel-glow {
  position: absolute;
  inset: 12%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(0, 157, 242, 0.5);
  filter: blur(65px);
}

.wheel-frame {
  position: absolute;
  inset: 6.8%;
  padding: 2.1%;
  overflow: hidden;
  border: 1px solid rgba(211, 238, 255, 0.9);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff 0%, #83a6c3 18%, #e7f5ff 48%, #477596 72%, #f8fcff 100%);
  box-shadow:
    0 0 0 5px #063158,
    0 0 0 8px rgba(78, 185, 243, 0.66),
    0 24px 65px rgba(0, 6, 20, 0.48),
    inset 0 0 18px rgba(255, 255, 255, 0.85);
}

.wheel-rotator {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  will-change: transform;
}

#wheelCanvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.center-cap {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 25%;
  aspect-ratio: 1;
  padding: 1px;
  place-items: center;
  overflow: hidden;
  border: 3px solid #d6edfb;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 7px 25px rgba(0, 17, 40, 0.5), 0 0 0 4px rgba(9, 106, 174, 0.85);
  transform: translate(-50%, -50%);
}

.center-cap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.pointer {
  position: absolute;
  top: -1%;
  left: 50%;
  z-index: 8;
  width: 15.5%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: linear-gradient(145deg, #f9fdff, #6795b6 70%);
  box-shadow: 0 8px 24px rgba(0, 3, 16, 0.52), inset 0 0 0 4px rgba(255, 255, 255, 0.22);
  transform: translateX(-50%);
  transform-origin: 50% 34%;
  will-change: transform, filter;
}

.pointer.is-spinning { filter:drop-shadow(0 0 8px rgba(104,216,255,.42)); }

.pointer::before {
  position: absolute;
  top: 55%;
  left: 50%;
  width: 36%;
  height: 65%;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: "";
  background: linear-gradient(#8ab9d8, #e7f7ff);
  filter: drop-shadow(0 5px 3px rgba(0, 0, 0, 0.3));
  transform: translateX(-50%);
}

.pointer span {
  position: absolute;
  inset: 18%;
  z-index: 1;
  border: 1px solid rgba(177, 224, 250, 0.6);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #29b5f2, #0058a9 58%, #001c3a 100%);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.22), 0 0 18px rgba(30, 176, 244, 0.38);
}

.bulbs {
  position: absolute;
  inset: 2.9%;
  z-index: 7;
  border-radius: 50%;
  pointer-events: none;
}

.bulb {
  position: absolute;
  width: 2.25%;
  aspect-ratio: 1;
  border: 1px solid rgba(226, 247, 255, 0.8);
  border-radius: 50%;
  background: #dff7ff;
  box-shadow: 0 0 6px #8ee1ff, 0 0 15px rgba(47, 183, 247, 0.88);
  transform: translate(-50%, -50%);
  animation: twinkle 1s infinite alternate;
}

.bulb:nth-child(2n) {
  animation-delay: -0.55s;
}

@keyframes twinkle {
  to {
    opacity: 0.38;
    box-shadow: 0 0 3px #75cff3;
  }
}

.event-period {
  display: grid;
  gap: 2px;
  min-width: 245px;
  margin-top: clamp(4px, 0.8vh, 9px);
  padding: 7px 15px;
  border: 1px solid rgba(95, 191, 242, 0.18);
  border-radius: 999px;
  text-align: center;
  background: rgba(2, 25, 52, 0.46);
  overflow: hidden;
  max-height: 58px;
  transition:
    max-height 0.45s ease,
    min-width 0.45s ease,
    margin 0.45s ease,
    padding 0.45s ease,
    border-width 0.45s ease,
    opacity 0.3s ease,
    transform 0.45s ease;
}

@media (min-width: 901px) {
  .wheel-column {
    transform: translateX(26px);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .event-period {
    display: none;
  }

  body.is-wheel-content-hidden .intro {
    visibility: hidden;
    opacity: 0;
    transform: translateX(-52px) scale(0.97);
    pointer-events: none;
    transition:
      opacity 0.32s ease,
      transform 0.38s cubic-bezier(0.4, 0, 1, 1),
      visibility 0s linear 0.38s;
  }

  body.is-wheel-focused .spin-screen {
    grid-template-columns: minmax(0, 0fr) minmax(0, 1fr);
    column-gap: 0;
  }

  body.is-wheel-focused .wheel-column {
    transform: translateX(0);
  }

  body.is-wheel-focused .intro {
    max-width: 0;
    height: min(820px, calc(100dvh - 150px));
    overflow: hidden;
    pointer-events: none;
  }

  body.is-wheel-focused .wheel-area {
    width: min(940px, calc(100vw - 24px), calc(100dvh - 50px));
  }

  body.is-wheel-focused .event-period {
    min-width: 0;
    max-height: 0;
    margin-top: 0;
    padding-block: 0;
    border-width: 0;
    opacity: 0;
    transform: translateY(12px);
  }
}

.event-period span {
  color: #7f9bb4;
  font-size: 8px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.event-period strong {
  color: #e0f3ff;
  font-size: 10px;
}

.verification-gate {
  width: min(350px, 100%);
  margin-top: clamp(12px, 1.8vh, 18px);
}

.staff-gate { position:fixed; inset:0; z-index:45; display:grid; width:100%; margin:0; padding:22px; place-items:center; background:rgba(0,15,34,.62); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
body.is-staff-locked .topbar,
body.is-staff-locked .intro > :not(.staff-gate),
body.is-staff-locked .wheel-column { filter:blur(18px); opacity:.7; pointer-events:none; user-select:none; }
.staff-login-card { display:grid; grid-template-columns:48px 1fr; width:min(430px,100%); gap:7px 14px; padding:24px; border:1px solid rgba(94,195,248,.42); border-radius:18px; color:#f5fbff; background:linear-gradient(145deg,rgba(7,57,99,.98),rgba(2,29,57,.99)); box-shadow:0 30px 100px rgba(0,7,22,.68),inset 0 1px rgba(255,255,255,.08); }
.staff-login-icon { display:grid; grid-row:span 2; width:48px; height:48px; padding:3px; place-items:center; overflow:hidden; border:1px solid rgba(120,211,255,.48); border-radius:50%; background:#fff; box-shadow:0 10px 24px rgba(0,105,190,.3); }
.staff-login-icon img { width:100%; height:100%; border-radius:50%; object-fit:cover; }
.staff-login-card h2 { margin:2px 0 0; font-size:20px; }
.staff-login-card p { margin:1px 0 0; color:#9ab5ca; font-size:10px; line-height:1.4; }
.staff-login-card .verification-message { grid-column:1/-1; color:#ff8796; }
.staff-login-button { display:flex; grid-column:1/-1; min-height:50px; gap:11px; align-items:center; justify-content:center; margin-top:10px; cursor:pointer; border:0; border-radius:10px; color:#17314b; font-size:11px; font-weight:900; letter-spacing:.05em; background:#fff; box-shadow:0 10px 24px rgba(0,0,0,.16); }
.staff-login-button svg { width:20px; height:20px; }
.staff-login-button:disabled { cursor:wait; opacity:.7; }
.staff-session { display:grid; width:auto; max-width:300px; grid-template-columns:8px minmax(0,1fr) auto auto; gap:6px; align-items:center; margin:0; padding:4px 8px; border:1px solid rgba(78,220,169,.2); border-radius:999px; background:rgba(11,92,77,.16); }
.staff-session > span { color:#50e2ac; font-size:7px; }
.staff-session p { display:grid; gap:1px; min-width:0; margin:0; }
.staff-session strong { color:#dcfff3; font-size:8px; white-space:nowrap; }
.staff-session small { display:none; }
.staff-session button { padding:4px 2px; cursor:pointer; border:0; color:#66d5ff; font-size:7px; font-weight:800; background:transparent; }
.staff-session > a { padding:4px 7px; border:1px solid rgba(99,211,255,.24); border-radius:999px; color:#8ee2ff; font-size:7px; font-weight:850; text-decoration:none; white-space:nowrap; background:rgba(28,139,199,.12); }
.staff-session > a:hover { border-color:rgba(99,211,255,.48); background:rgba(28,139,199,.23); }

.verification-card {
  position: relative;
  width: 100%;
  padding: 13px;
  border: 1px solid rgba(94, 195, 248, 0.3);
  border-radius: 12px;
  color: #f5fbff;
  color-scheme: dark;
  background:
    linear-gradient(145deg, rgba(7, 57, 99, 0.94), rgba(2, 29, 57, 0.97));
  box-shadow:
    0 24px 60px rgba(0, 7, 22, 0.4),
    inset 0 1px rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.verification-card h2 { margin:0; color:#fff; font-size:16px; line-height:1.2; }
.verification-description { margin:3px 0 8px; color:#8eabc2; font-size:8px; line-height:1.45; }
.verification-description strong { color:#70d8ff; }
.verification-card form { display:grid; gap:5px; }
.verification-fields { display:grid; grid-template-columns:1fr; gap:4px; }
.verification-field { display:grid; min-width:0; gap:3px; }
.verification-card label { color:#c5dbea; font-size:7px; font-weight:800; }
.verification-card input { width:100%; height:33px; padding:0 9px; outline:none; border:1px solid rgba(137,194,226,.3); border-radius:7px; color:#f6fbff; font-size:10px; background:rgba(0,19,41,.58); }
.verification-card input::placeholder { color:#718ca2; }
.verification-card input:focus { border-color:#3bbbf1; background:rgba(0,27,57,.88); box-shadow:0 0 0 3px rgba(49,184,241,.13); }
.verification-card .otp-input { height:52px; text-align:center; font-size:22px; font-weight:850; letter-spacing:.42em; }
.verification-message { min-height:10px; margin:0; color:#ff8796; font-size:8px; line-height:1.3; }
.verification-message.success { color:#5be2b0; }
.verification-primary { display:grid; min-height:38px; padding:0 18px; cursor:pointer; place-items:center; border:0; border-radius:7px; color:#fff; font-size:9px; font-weight:900; letter-spacing:.07em; background:linear-gradient(100deg,#0067d4,#00a4ec); box-shadow:0 8px 18px rgba(0,112,208,.18); }
.verification-primary:disabled { cursor:wait; opacity:.65; }
.verification-secondary-actions { display:flex; align-items:center; justify-content:space-between; margin-top:2px; }
.verification-secondary-actions button { padding:6px 0; cursor:pointer; border:0; color:#65d4ff; font-size:8px; font-weight:800; background:transparent; }
.verification-secondary-actions button:disabled { cursor:default; color:#6e8799; }
.admin-bypass {
  display: grid;
  width: 100%;
  gap: 2px;
  margin-top: 8px;
  padding: 8px 10px;
  cursor: pointer;
  border: 1px solid rgba(100, 207, 255, 0.22);
  border-radius: 7px;
  color: #70d8ff;
  text-align: left;
  background: rgba(30, 151, 210, 0.08);
}
.admin-bypass span { font-size:8px; font-weight:850; }
.admin-bypass small { color:#789bb3; font-size:7px; }
.admin-bypass:hover { border-color:rgba(100,207,255,.42); background:rgba(30,151,210,.14); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  padding: 24px;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.show {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 16%, rgba(235, 47, 83, 0.2), transparent 27%),
    radial-gradient(circle at 84% 76%, rgba(0, 180, 243, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(0, 15, 38, 0.84), rgba(0, 43, 82, 0.8));
  backdrop-filter: blur(12px) saturate(1.2);
}

.modal-card {
  position: relative;
  z-index: 3;
  width: min(920px, 100%);
  max-height: calc(100dvh - 40px);
  padding: 25px 36px 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 222, 112, 0.58);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 198, 52, 0.18), transparent 28%),
    radial-gradient(circle at 94% 8%, rgba(0, 185, 247, 0.2), transparent 34%),
    radial-gradient(circle at 85% 92%, rgba(222, 45, 82, 0.15), transparent 35%),
    linear-gradient(135deg, #073f76, #031d40 62%, #052b54);
  box-shadow:
    0 0 0 6px rgba(35, 177, 239, 0.08),
    0 38px 140px rgba(0, 0, 0, 0.76),
    0 0 90px rgba(0, 159, 230, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.16);
  transform: translateY(28px) scale(0.94);
  transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.1) 45%, transparent 65%);
  transform: translateX(-120%);
}

.modal.show .modal-card::before { animation: modal-shine 2.4s .35s ease-out both; }
.modal-card > *:not(.celebration-rays):not(.celebration-stars):not(.modal-close) { position:relative; z-index:2; }

@keyframes modal-shine { to { transform:translateX(130%); } }

.modal.show .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 17px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  cursor: pointer;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #a4bacd;
  font-size: 24px;
  background: transparent;
}

.modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.celebration-rays {
  position:absolute;
  top:50%;
  left:24%;
  z-index:0;
  width:350px;
  height:350px;
  border-radius:50%;
  opacity:.11;
  background:repeating-conic-gradient(from 0deg, rgba(255,214,82,.42) 0 7deg, transparent 7deg 19deg);
  transform:translate(-50%, -50%);
  animation:celebration-spin 18s linear infinite;
}

.celebration-stars { position:absolute; inset:0; z-index:1; pointer-events:none; }
.celebration-stars i { position:absolute; color:#ffe176; font-style:normal; filter:drop-shadow(0 0 8px rgba(255,213,81,.9)); animation:star-pop 1.5s ease-in-out infinite alternate; }
.celebration-stars i:nth-child(1) { top:22%; left:7%; font-size:25px; animation-delay:.1s; }
.celebration-stars i:nth-child(2) { top:16%; right:8%; color:#72e0ff; font-size:19px; animation-delay:.45s; }
.celebration-stars i:nth-child(3) { top:67%; left:5%; color:#ff7891; font-size:17px; animation-delay:.8s; }
.celebration-stars i:nth-child(4) { top:70%; right:6%; font-size:24px; animation-delay:.2s; }
.celebration-stars i:nth-child(5) { top:8%; right:30%; color:#ff7891; font-size:15px; animation-delay:1s; }
.celebration-stars i:nth-child(6) { top:10%; left:28%; color:#75e5ff; font-size:18px; animation-delay:.65s; }

.result-brand {
  display:flex;
  min-height:50px;
  gap:11px;
  align-items:center;
  padding-bottom:16px;
  border-bottom:1px solid rgba(177, 220, 245, 0.15);
}

.result-brand-mark {
  display:block;
  flex:0 0 48px;
  width:48px;
  height:48px;
  padding:2px;
  border:1px solid rgba(255,255,255,.48);
  border-radius:50%;
  object-fit:cover;
  background:#fff;
  box-shadow:0 8px 24px rgba(0,155,231,.28);
}

.result-brand p { display:grid; gap:2px; margin:0; line-height:1; }
.result-brand strong { font-size:16px; font-weight:950; letter-spacing:.18em; }
.result-brand small { color:#a8c3d9; font-size:7px; font-weight:800; letter-spacing:.28em; }
.result-brand > span {
  margin-left:auto;
  padding:7px 12px;
  border:1px solid rgba(255,220,105,.28);
  border-radius:999px;
  color:#ffe58e;
  font-size:8px;
  font-weight:900;
  letter-spacing:.16em;
  background:rgba(255,197,47,.08);
}

.result-hero {
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  gap:38px;
  padding:26px 12px 22px;
  align-items:center;
}

.result-copy { min-width:0; text-align:left; }

.trophy-stage {
  position:relative;
  display:grid;
  width:210px;
  height:210px;
  margin:0 auto;
  place-items:center;
}

.trophy-stage > span {
  position:absolute;
  inset:10px;
  border:1px solid rgba(255,224,116,.65);
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,211,73,.28), rgba(255,174,20,.05) 55%, transparent 70%);
  box-shadow:0 0 55px rgba(255,191,38,.36), inset 0 0 35px rgba(255,214,90,.17);
  animation:trophy-pulse 1.8s ease-in-out infinite;
}

.trophy {
  font-size: 112px;
  filter: drop-shadow(0 12px 22px rgba(255, 180, 23, 0.5));
  animation: trophy-in 0.7s 0.12s both;
}

.winner-prize-image {
  position:relative;
  z-index:2;
  width:174px;
  height:174px;
  padding:11px;
  object-fit:contain;
  border:2px solid rgba(255,229,138,.82);
  border-radius:34px;
  background:rgba(255,255,255,.96);
  box-shadow:0 14px 35px rgba(0,0,0,.32),0 0 30px rgba(255,204,68,.25);
  animation:trophy-in .7s .12s both;
}

.trophy-stage.has-image { width:210px; height:210px; }

@keyframes trophy-in {
  from {
    opacity: 0;
    transform: scale(0.4) rotate(-18deg);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes celebration-spin { to { transform:translate(-50%, -50%) rotate(360deg); } }
@keyframes trophy-pulse { 50% { transform:scale(1.12); opacity:.75; } }
@keyframes star-pop { from { transform:scale(.55) rotate(-15deg); opacity:.45; } to { transform:scale(1.25) rotate(12deg); opacity:1; } }

.modal-kicker {
  margin:0 0 8px;
  color: #ffe078;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.27em;
  text-shadow:0 0 18px rgba(255,209,72,.45);
}

.modal-card h2 {
  margin: 0;
  color: #b8cede;
  font-size: 15px;
  font-weight: 550;
}

.modal-card h2 strong {
  display: block;
  margin-top:7px;
  color: #fff;
  font-size:clamp(34px, 4vw, 52px);
  font-weight:950;
  line-height:1.05;
  letter-spacing:-.035em;
  text-shadow:0 5px 20px rgba(0,0,0,.3);
}

.winner-panel {
  margin:20px 0 11px;
  padding:17px 20px 20px;
  border:1px solid rgba(255,214,91,.32);
  border-radius:15px;
  background:linear-gradient(135deg, rgba(255,195,49,.11), rgba(0,166,235,.1));
  box-shadow:inset 0 1px rgba(255,255,255,.08), 0 13px 30px rgba(0,7,22,.18);
}

.winner-label {
  margin:0 0 6px;
  color:#a8d9ed;
  font-size:10px;
  font-weight:850;
  letter-spacing:.18em;
}

.winner-prize {
  margin:0;
  color:transparent;
  font-size:clamp(32px, 4.2vw, 56px);
  font-weight:950;
  line-height:1.15;
  letter-spacing:-.03em;
  background:linear-gradient(90deg, #fff1a6, #ffbd35 40%, #fff6cd 72%, #ffce59);
  background-clip:text;
  -webkit-background-clip:text;
  filter:drop-shadow(0 5px 15px rgba(255,181,28,.24));
}

.winner-vin {
  margin:0;
  color:#9cb9cf;
  font-size:12px;
  font-weight:650;
  letter-spacing:.05em;
}

.modal-action {
  display:flex;
  width:min(360px, 100%);
  min-height:44px;
  margin:0 auto;
  padding: 0 20px;
  align-items:center;
  justify-content:center;
  cursor: pointer;
  border: 0;
  border-radius: 11px;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  background:linear-gradient(105deg, #e52e52, #6d58c8 48%, #00a8ed);
  background-size:160% 100%;
  box-shadow:0 14px 35px rgba(0,112,208,.28), 0 0 22px rgba(225,46,83,.12);
  transition:transform .2s,filter .2s,background-position .35s;
}

.modal-action:hover { transform:translateY(-2px); filter:brightness(1.08); background-position:100% 0; }

@media (max-width: 700px) {
  .modal { padding:12px; }
  .modal-card { max-height:calc(100dvh - 24px); padding:18px 17px 20px; overflow:auto; border-radius:22px; }
  .modal-close { top:9px; right:10px; }
  .result-brand { min-height:42px; padding-bottom:11px; }
  .result-brand-mark { width:40px!important; height:40px!important; max-width:40px!important; max-height:40px!important; flex-basis:40px; }
  .result-brand strong { font-size:13px; }
  .result-brand > span { display:none; }
  .result-hero { grid-template-columns:1fr; gap:5px; padding:13px 0 16px; text-align:center; }
  .result-copy { text-align:center; }
  .trophy-stage,.trophy-stage.has-image { width:116px; height:116px; }
  .trophy-stage > span { inset:5px; }
  .trophy { font-size:66px; }
  .winner-prize-image { width:96px; height:96px; padding:7px; border-radius:22px; }
  .modal-kicker { margin-bottom:5px; font-size:11px; }
  .modal-card h2 { font-size:12px; }
  .modal-card h2 strong { margin-top:4px; font-size:clamp(25px, 8vw, 34px); }
  .winner-panel { margin:11px 0 8px; padding:12px 11px 14px; }
  .winner-label { font-size:8px; }
  .winner-prize { font-size:clamp(26px, 9vw, 38px); }
  .winner-vin { font-size:9px; }
}

@media (prefers-reduced-motion: reduce) {
  .celebration-rays,.celebration-stars i,.trophy-stage > span,.trophy { animation:none !important; }
  .modal-card::before { display:none; }
}

/* EcoXe Red Edition — modal-first interaction */
:root {
  color-scheme: light;
  --navy:#7f0b1c;
  --navy-soft:#b71931;
  --blue:#c61631;
  --cyan:#f0bd55;
  --text:#3a1017;
  --muted:#7c6064;
  --line:rgba(119,10,28,.16);
}

body { color:#3a1017; background:#fff6ee; }
.app-shell {
  background:
    radial-gradient(circle at 82% 18%,rgba(211,32,58,.16),transparent 28rem),
    radial-gradient(circle at 4% 90%,rgba(240,173,66,.18),transparent 24rem),
    linear-gradient(145deg,#fffaf4 0%,#fff1e8 54%,#f9e4df 100%);
}
.app-shell::before {
  opacity:.65;
  background-image:linear-gradient(120deg,rgba(137,14,34,.055) 1px,transparent 1px),linear-gradient(30deg,rgba(137,14,34,.045) 1px,transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(100deg,#000,transparent 78%);
  animation:red-grid-drift 18s linear infinite alternate;
}
.app-shell::after { border-color:rgba(153,11,32,.06); animation:halo-drift 9s ease-in-out infinite alternate; }
.ambient-one { background:rgba(203,24,49,.26); animation:ambient-float 8s ease-in-out infinite alternate; }
.ambient-two { background:rgba(238,149,47,.17); animation:ambient-float 11s ease-in-out infinite alternate-reverse; }
.topbar { border-bottom-color:rgba(124,10,28,.13); }
.brand { color:#8d0c20; }
.brand-mark { box-shadow:0 10px 28px rgba(142,13,33,.2); animation:brand-float 4s ease-in-out infinite; }
.brand-copy small { color:#9b6b70; }
.event-badge { border-color:rgba(137,12,31,.16); color:#74434b; background:rgba(255,250,244,.75); }
.pulse-dot { background:#d51f39; box-shadow:0 0 0 5px rgba(213,31,57,.11),0 0 16px rgba(213,31,57,.4); }
.staff-session { color:#6b2632; border-color:rgba(139,13,33,.15); background:rgba(255,248,241,.82); }
.staff-session > span { color:#cc1733; }
.staff-session strong { color:#6c1828; }
.staff-session button,.staff-session > a { color:#a00f27; }

.spin-screen { grid-template-columns:minmax(0,.88fr) minmax(440px,1.12fr); gap:clamp(38px,6vw,88px); }
.intro { order:1; max-width:570px; transform-origin:left center; }
.wheel-column { order:2; }
.eyebrow { color:#ad1229; animation:eyebrow-enter .7s .12s both; }
.eyebrow > span { color:#7d091a; background:#f3c65c; box-shadow:0 8px 18px rgba(177,113,16,.2); animation:spark-spin 7s linear infinite; }
.intro h1 { color:#500a18; text-shadow:0 12px 35px rgba(110,5,23,.1); }
.intro h1 span { display:inline-block; animation:headline-rise .8s .22s cubic-bezier(.22,1,.36,1) both; }
.intro h1 em {
  display:inline-block;
  color:transparent;
  background:linear-gradient(105deg,#8b071c 0%,#dc263d 40%,#f08f45 56%,#a20d25 78%);
  background-size:220% auto;
  background-clip:text;
  -webkit-background-clip:text;
  animation:headline-rise .85s .34s cubic-bezier(.22,1,.36,1) both,text-shimmer 5s 1.2s linear infinite;
}
.subtitle { color:#75585c; animation:headline-rise .75s .48s both; }
.stats { border-top-color:rgba(126,10,29,.13); animation:headline-rise .7s .62s both; }
.stats strong { color:#9d1027; }
.stats span { color:#876b6f; }

.wheel-area { filter:drop-shadow(0 30px 34px rgba(109,7,24,.2)); animation:wheel-arrive .9s .18s cubic-bezier(.22,1,.36,1) both; }
.wheel-glow { background:radial-gradient(circle,rgba(210,30,56,.28),rgba(239,163,55,.12) 40%,transparent 70%); animation:glow-breathe 3.8s ease-in-out infinite; }
.wheel-frame { border-color:#fff4e8; box-shadow:0 0 0 4px #8f0a20,0 28px 65px rgba(100,5,23,.25),inset 0 0 0 4px rgba(255,255,255,.72); }
.bulbs i { background:#ffd46c; box-shadow:0 0 0 2px #fff6d2,0 0 15px rgba(238,148,30,.7); }
.pointer span { border-top-color:#a40821; filter:drop-shadow(0 6px 5px rgba(87,3,17,.3)); }
.event-period { color:#6e303b; border-color:rgba(130,9,29,.15); background:rgba(255,249,242,.83); box-shadow:0 12px 28px rgba(99,8,23,.08); }
.event-period span { color:#a1787e; }

.center-cap {
  appearance:none;
  cursor:pointer;
  border:8px solid #fff2e4;
  background:#fff9f1;
  box-shadow:0 0 0 3px #940b21,0 10px 28px rgba(101,5,22,.33),0 0 0 0 rgba(202,25,51,.3);
  animation:cap-pulse 2.4s ease-in-out infinite;
  transition:transform .25s cubic-bezier(.22,1,.36,1),filter .25s ease;
}
.center-cap:hover { transform:translate(-50%,-50%) scale(1.1); filter:brightness(1.04); }
.center-cap:active { transform:translate(-50%,-50%) scale(.96); }
.center-cap img { border-radius:14px; pointer-events:none; }
.center-cap > span {
  position:absolute;
  top:calc(100% + 14px);
  left:50%;
  width:max-content;
  padding:7px 11px;
  border:1px solid rgba(151,11,34,.13);
  border-radius:999px;
  color:#8b0c20;
  font-size:8px;
  font-weight:950;
  letter-spacing:.13em;
  background:rgba(255,250,244,.94);
  box-shadow:0 8px 20px rgba(104,7,23,.12);
  transform:translateX(-50%);
  white-space:nowrap;
  pointer-events:none;
}

.entry-backdrop {
  position:fixed;
  inset:0;
  z-index:64;
  width:100%;
  height:100%;
  padding:0;
  cursor:default;
  border:0;
  visibility:hidden;
  opacity:0;
  background:rgba(48,3,12,.68);
  backdrop-filter:blur(12px) saturate(.75);
  -webkit-backdrop-filter:blur(12px) saturate(.75);
  transition:opacity .28s ease,visibility 0s linear .28s;
}
body.entry-open .entry-backdrop { visibility:visible; opacity:1; transition-delay:0s; }
body.entry-open .spin-screen { z-index:auto; }

.staff-gate,.verification-gate,.spin-form {
  z-index:65;
  visibility:hidden;
  opacity:0;
  pointer-events:none;
  transition:opacity .24s ease,visibility 0s linear .24s;
}
body.entry-open .staff-gate:not([hidden]),
body.entry-open .verification-gate:not([hidden]),
body.entry-open .spin-form:not([hidden]) {
  visibility:visible;
  opacity:1;
  pointer-events:auto;
  transition-delay:0s;
  animation:entry-panel-in .42s cubic-bezier(.22,1,.36,1) both;
}
.staff-gate { background:transparent; backdrop-filter:none; -webkit-backdrop-filter:none; pointer-events:none!important; }
body.entry-open .staff-gate:not([hidden]) .staff-login-card { pointer-events:auto; }
.verification-gate {
  position:fixed;
  top:50%;
  left:50%;
  width:min(560px,calc(100% - 30px));
  max-height:calc(100dvh - 30px);
  margin:0;
  overflow:auto;
  transform:translate(-50%,-50%);
}
.spin-form {
  position:fixed;
  top:50%;
  left:50%;
  width:min(600px,calc(100% - 30px));
  max-height:calc(100dvh - 30px);
  margin:0;
  overflow:auto;
  transform:translate(-50%,-50%);
}
.staff-login-card,.verification-card,.spin-form {
  border:1px solid rgba(139,10,32,.14);
  border-radius:26px;
  color:#42131c;
  background:linear-gradient(150deg,#fffdf9,#fff3e9);
  box-shadow:0 34px 100px rgba(42,1,9,.35),inset 0 1px rgba(255,255,255,.9);
}
.staff-login-card { position:relative; width:min(500px,100%); padding:30px; }
.verification-card { padding:28px; color-scheme:light; }
.spin-form { padding:28px; }
.entry-close {
  position:absolute;
  top:14px;
  right:14px;
  z-index:2;
  display:grid;
  width:34px;
  height:34px;
  padding:0;
  cursor:pointer;
  place-items:center;
  border:1px solid rgba(128,10,29,.1);
  border-radius:50%;
  color:#8c1b2d;
  font-size:21px;
  line-height:1;
  background:#f8e9e4;
}
.entry-close:hover { color:#fff; background:#a80e27; }
.staff-login-card h2,.verification-card h2,.form-heading p strong { color:#5b0b1a; }
.staff-login-card p,.verification-description,.verification-card label,.form-heading p small { color:#80666a; }
.staff-login-icon { border-color:rgba(151,12,34,.14); border-radius:15px; background:#fff8f0; box-shadow:0 9px 24px rgba(131,7,28,.14); }
.staff-login-button { border:1px solid #eadad5; color:#4e1821; background:#fff; }
.verification-fields { gap:10px; }
.verification-field { gap:6px; }
.verification-card label,.spin-form > label { color:#652331; font-size:11px; letter-spacing:.02em; }
.verification-card input,.vin-field {
  border:1px solid #dfcbc8;
  border-radius:11px;
  color:#49131e;
  background:#fff;
}
.verification-card input { height:45px; padding:0 13px; font-size:14px; }
.verification-card input:focus,.vin-field:focus-within { border-color:#bd1832; background:#fff; box-shadow:0 0 0 4px rgba(189,24,50,.11); }
.verification-card input::placeholder,.vin-field input::placeholder { color:#ac9395; }
.verification-description { margin:5px 0 17px; font-size:11px; }
.verification-message { min-height:16px; color:#be1831; font-size:11px; }
.verification-message.success { color:#a76a17; }
.verification-primary,.spin-button { border-radius:11px; color:#fff; background:linear-gradient(135deg,#d72740,#8d091f); box-shadow:0 12px 26px rgba(152,8,31,.24); }
.verification-primary { min-height:46px; font-size:10px; }
.verification-secondary-actions button { color:#a3162c; font-size:10px; }
.admin-bypass {
  border-color:rgba(166,16,41,.2);
  border-radius:12px;
  color:#8d1025;
  background:#fae8e4;
}
.admin-bypass small { color:#936f72; }
.admin-bypass:hover { border-color:rgba(166,16,41,.4); background:#f7deda; }
.verified-customer { border-color:rgba(168,17,42,.16); color:#661324; background:#f8e5e1; }
.verified-customer > span { color:#fff; background:#b71934; }
.verified-customer small { color:#8d666c; }
.verified-customer button { color:#b31530; }
.form-heading { padding-right:38px; border-bottom-color:rgba(134,12,31,.12); }
.form-heading > svg,.vin-field > svg,.spin-hint svg { color:#b51a32; stroke:#b51a32; }
.vin-field input { color:#4c1520; }
.form-message { color:#bd1831; }
.form-message.success { color:#9a6415; }
.spin-hint { color:#92767a; }

.modal-backdrop { background:rgba(47,2,11,.76); }
.modal-card { border-color:rgba(144,9,31,.18); color:#4b1620; background:#fff8ef; box-shadow:0 34px 100px rgba(45,1,10,.45); }
.modal-card::before { background:radial-gradient(circle at 50% 10%,rgba(211,35,59,.2),transparent 48%); }
.result-brand strong,.modal-card h2 { color:#7e0a1e; }
.result-brand small,.result-brand > span,.modal-kicker { color:#c01b35; }
.modal-action { background:linear-gradient(135deg,#d72740,#8d091f); }

@keyframes headline-rise { from { opacity:0; transform:translateY(28px); filter:blur(8px); } to { opacity:1; transform:none; filter:none; } }
@keyframes eyebrow-enter { from { opacity:0; transform:translateX(-18px); } to { opacity:1; transform:none; } }
@keyframes text-shimmer { to { background-position:-220% center; } }
@keyframes spark-spin { to { transform:rotate(360deg); } }
@keyframes brand-float { 50% { transform:translateY(-4px) rotate(-2deg); } }
@keyframes ambient-float { to { transform:translate3d(45px,26px,0) scale(1.15); } }
@keyframes halo-drift { to { transform:translate(-28px,-18px) scale(1.06); } }
@keyframes red-grid-drift { to { background-position:38px 18px,-24px 31px; } }
@keyframes wheel-arrive { from { opacity:0; transform:translateX(50px) scale(.88) rotate(4deg); } to { opacity:1; transform:none; } }
@keyframes glow-breathe { 50% { opacity:.72; transform:scale(1.08); } }
@keyframes cap-pulse { 50% { box-shadow:0 0 0 3px #940b21,0 12px 30px rgba(101,5,22,.35),0 0 0 14px rgba(202,25,51,0); } }
@keyframes entry-panel-in { from { opacity:0; translate:0 22px; scale:.94; } to { opacity:1; translate:0 0; scale:1; } }

@media (max-width:900px) {
  .spin-screen { display:flex; gap:10px; overflow:hidden; }
  .intro { order:1; }
  .wheel-column { order:2; }
  .subtitle { max-width:520px; margin-inline:auto; }
  .wheel-area { width:min(380px,calc(100vw - 32px),calc(100dvh - 300px)); }
  .center-cap > span { top:calc(100% + 10px); padding:5px 8px; font-size:7px; }
  .staff-login-card { padding:25px 22px; }
  .verification-card,.spin-form { padding:24px 20px; }
  .form-actions { grid-template-columns:1fr; }
  .spin-button { min-height:46px; }
}

@media (max-width:620px) {
  .intro h1 { font-size:clamp(34px,10.5vw,48px); }
  .eyebrow { margin-bottom:6px; }
  .subtitle { font-size:10px; line-height:1.55; }
  .stats { margin-top:5px; }
  .verification-card,.spin-form { border-radius:21px; }
  .verified-customer { align-items:flex-start; }
}

/* EcoXe identity — warm editorial layout, intentionally independent from the source brand. */
:root {
  color-scheme: light;
  --navy: #174f3c;
  --navy-soft: #2d7658;
  --blue: #e67e3f;
  --cyan: #93c86b;
  --text: #16382d;
  --muted: #667b70;
  --line: rgba(22, 56, 45, 0.14);
}

body { color:var(--text); background:#f4f0e6; }
.app-shell {
  grid-template-rows:82px minmax(0,1fr);
  background:
    radial-gradient(circle at 8% 88%,rgba(231,126,63,.17),transparent 23rem),
    radial-gradient(circle at 86% 18%,rgba(113,184,95,.2),transparent 25rem),
    #f4f0e6;
}
.app-shell::before { opacity:.5; background-image:radial-gradient(rgba(20,84,61,.17) 1px,transparent 1px); background-size:22px 22px; mask-image:linear-gradient(120deg,#000,transparent 70%); }
.app-shell::after { top:auto; right:-10rem; bottom:-17rem; border:60px solid rgba(29,112,78,.06); box-shadow:none; }
.ambient { filter:blur(90px); }
.ambient-one { background:rgba(141,199,97,.25); }
.ambient-two { background:rgba(239,132,65,.15); }
.page-shell { width:min(1240px,calc(100% - 64px)); }
.topbar { border-bottom:1px solid rgba(23,79,60,.13); }
.brand { color:#174f3c; }
.brand-mark { width:48px; height:48px; border:0; border-radius:15px; box-shadow:0 10px 26px rgba(23,79,60,.13); }
.brand-copy { gap:4px; }
.brand-copy strong { font-size:20px; letter-spacing:.09em; }
.brand-copy small { color:#738176; font-size:7px; letter-spacing:.15em; }
.event-badge { border:1px solid rgba(23,79,60,.15); color:#395c4d; background:rgba(255,255,255,.58); backdrop-filter:blur(12px); }
.pulse-dot { background:#65af59; box-shadow:0 0 0 5px rgba(101,175,89,.13); }
.spin-screen { grid-template-columns:minmax(420px,1.08fr) minmax(0,.92fr); gap:clamp(40px,7vw,100px); }
.intro { order:2; max-width:555px; transform-origin:right center; }
.wheel-column { order:1; }
.eyebrow { color:#d36d35; }
.eyebrow > span { display:grid; width:28px; height:28px; place-items:center; border-radius:50%; color:#fff; background:#e68043; box-shadow:none; }
.eyebrow b { font-size:10px; letter-spacing:.22em; }
.intro h1 { color:#153f31; font-size:clamp(46px,5vw,72px); line-height:.94; letter-spacing:-.065em; }
.intro h1 em { color:#e47c3d; font-style:normal; }
.subtitle { max-width:500px; color:#5e7469; font-size:14px; line-height:1.75; }
.staff-login-card,.verification-card,.spin-form {
  border:1px solid rgba(28,89,65,.14);
  border-radius:24px;
  color:#183e31;
  background:rgba(255,253,247,.86);
  box-shadow:0 22px 55px rgba(35,74,57,.11);
  backdrop-filter:blur(18px);
}
.staff-login-card h2,.verification-card h2 { color:#173f31; }
.staff-login-card p,.verification-description,.verification-card label { color:#6d7e75; }
.staff-login-icon { border-radius:15px; background:#f4efe2; }
.staff-login-icon img { border-radius:12px; }
.verification-card input,.vin-field {
  border:1px solid #d7dfd7;
  color:#173f31;
  background:#fffdf7;
}
.verification-card input:focus,.vin-field:focus-within { border-color:#62a86a; background:#fff; box-shadow:0 0 0 4px rgba(98,168,106,.12); }
.verification-card input::placeholder,.vin-field input::placeholder { color:#9ca9a1; }
.spin-form > label,.form-heading p strong { color:#193e31; }
.form-heading p small,.spin-hint { color:#78887f; }
.spin-button,.verification-primary { color:#fff; background:linear-gradient(135deg,#ee914e,#d96a34); box-shadow:0 12px 24px rgba(218,105,52,.23); }
.stats { border-top:1px solid rgba(23,79,60,.12); }
.stats strong { color:#174f3c; }
.stats span { color:#7c8a82; }
.wheel-area { filter:drop-shadow(0 28px 30px rgba(29,83,61,.18)); }
.wheel-glow { background:radial-gradient(circle,rgba(121,191,102,.28),transparent 67%); }
.wheel-frame { border:14px solid #f9f4e9; box-shadow:0 0 0 4px #1f6c4e,0 24px 60px rgba(26,79,58,.25),inset 0 0 0 4px rgba(255,255,255,.65); }
.bulbs { filter:none; }
.bulbs i { background:#f3c954; box-shadow:0 0 0 2px #fff5ce,0 0 12px rgba(230,165,39,.55); }
.center-cap { border:8px solid #f7f0e1; background:#fffaf0; box-shadow:0 0 0 3px #1d6c4c,0 9px 25px rgba(20,70,50,.28); }
.center-cap img { border-radius:15px; }
.pointer span { border-top-color:#e7773a; filter:drop-shadow(0 5px 4px rgba(112,53,27,.25)); }
.event-period { color:#34594a; border-color:rgba(24,81,60,.14); background:rgba(255,253,247,.76); box-shadow:0 12px 28px rgba(33,76,58,.08); }
.event-period span { color:#8a968f; }
.modal-backdrop { background:rgba(18,55,42,.72); backdrop-filter:blur(9px); }
.modal-card { border:1px solid rgba(26,91,65,.18); color:#183e31; background:#fffaf0; box-shadow:0 30px 90px rgba(9,48,34,.35); }
.modal-card::before { background:radial-gradient(circle at 50% 10%,rgba(133,194,93,.23),transparent 46%); }
.result-brand strong,.modal-card h2 { color:#174f3c; }
.result-brand small,.result-brand > span { color:#db7138; }
.result-brand-mark { border:0; border-radius:15px; }
.modal-close { color:#426355; background:#edf0e8; }
.staff-session { color:#294d3f; border-color:rgba(24,81,60,.15); background:rgba(255,255,255,.72); }

@media (max-width:900px) {
  .page-shell { width:min(100% - 30px,700px); }
  .spin-screen { grid-template-columns:1fr; gap:20px; text-align:center; overflow:auto; }
  .intro { order:1; max-width:none; }
  .wheel-column { order:2; }
  .eyebrow { justify-content:center; }
  .intro h1 { font-size:clamp(38px,11vw,60px); }
}

@media (max-width: 900px) {
  .app-shell {
    grid-template-rows: 60px minmax(0, 1fr);
  }

  .page-shell {
    width: min(100% - 28px, 700px);
  }

  .topbar {
    min-height: 60px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .event-badge {
    min-height: 30px;
    padding: 0 10px;
    font-size: 9px;
  }

  .staff-session { max-width:330px; }
  .staff-session strong { display:none; }

  .spin-screen {
    display: flex;
    gap: clamp(5px, 1vh, 10px);
    padding-block: clamp(7px, 1.2vh, 12px);
    flex-direction: column;
    text-align: center;
  }

  .intro {
    width: 100%;
    max-width: 540px;
    flex: 0 0 auto;
  }

  .eyebrow {
    justify-content: center;
    font-size: 8px;
  }

  h1 {
    margin-top: 7px;
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1.08;
  }

  h1.is-medium-title { font-size:clamp(30px,9vw,41px); }
  h1.is-long-title { font-size:clamp(25px,7.8vw,35px); line-height:1.11; }

  h1 em {
    margin-top: 4px;
  }

  .subtitle {
    margin: 8px 0;
    font-size: 10px;
  }

  .spin-form {
    padding: 10px 11px 8px;
    border-radius: 12px;
    text-align: left;
  }

  .verified-customer { margin-bottom:7px; padding-block:5px; }

  .verification-gate { margin-top:8px; text-align:left; }
  .verification-card { padding:13px 14px 11px; }
  .verification-description { margin-bottom:8px; }
  .verification-card input { height:36px; }
  .verification-fields { gap:5px; }

  body.is-verifying .spin-screen {
    justify-content: center;
  }

  body.is-verifying .eyebrow,
  body.is-verifying h1,
  body.is-verifying .subtitle,
  body.is-verifying .stats,
  body.is-verifying .wheel-column {
    display: none;
  }

  body.is-verifying .intro {
    margin-block: auto;
  }

  .form-heading {
    grid-template-columns: 1fr 20px;
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 7px;
  }

  .step-number {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    font-size: 8px;
  }

  .form-heading strong,
  .wheel-heading strong {
    font-size: 10px;
  }

  .form-heading small,
  .wheel-heading small {
    font-size: 8px;
  }

  .form-heading > svg {
    width: 20px;
  }

  .spin-form > label {
    margin-bottom: 4px;
    font-size: 9px;
  }

  .form-actions {
    grid-template-columns: minmax(0, 1fr) minmax(108px, 34%);
    gap: 7px;
  }

  .vin-field input {
    height: 41px;
    padding-left: 38px;
    font-size: 16px;
  }

  .vin-field > svg {
    left: 11px;
    width: 18px;
  }

  .spin-button {
    min-height: 41px;
    padding-inline: 7px;
    font-size: 8px;
  }

  .spin-button > svg {
    display: none;
  }

  .form-feedback {
    min-height: 15px;
  }

  .form-message,
  .spin-hint {
    margin-top: 4px;
    font-size: 8px;
  }

  .stats {
    justify-content: center;
    margin-top: 6px;
  }

  .stats strong {
    font-size: 16px;
  }

  .stats span {
    font-size: 8px;
  }

  .stats i {
    height: 24px;
  }

  .wheel-column {
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    justify-content: center;
  }

  .wheel-heading {
    margin-bottom: 2px;
  }

  .wheel-area {
    width: min(350px, calc(100vw - 32px), calc(100dvh - 430px));
    min-width: 190px;
    max-width: 100%;
  }

  .center-cap {
    width: 17%;
    padding: 4px;
  }

  .event-period {
    min-width: 220px;
    margin-top: 2px;
    padding: 5px 13px;
  }
}

@media (max-width: 900px) and (max-height: 720px) {
  .app-shell {
    grid-template-rows: 54px minmax(0, 1fr);
  }

  .topbar {
    min-height: 54px;
  }

  .brand-mark {
    width: 33px;
    height: 33px;
  }

  .eyebrow,
  .subtitle,
  .stats,
  .spin-hint {
    display: none;
  }

  h1 {
    margin: 0 0 5px;
    font-size: clamp(30px, 9vw, 38px);
  }

  .spin-form {
    padding-top: 8px;
    padding-bottom: 6px;
  }

  .form-heading {
    margin-bottom: 6px;
    padding-bottom: 5px;
  }

  .wheel-heading small {
    display: none;
  }

  .wheel-area {
    width: min(310px, calc(100vw - 38px), calc(100dvh - 290px));
    min-width: 170px;
  }

  .event-period {
    padding-block: 4px;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .page-shell {
    width: min(100% - 26px, 900px);
  }

  .spin-screen {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
    gap: 20px;
    text-align: left;
  }

  .intro {
    max-width: none;
  }

  .eyebrow {
    justify-content: flex-start;
  }

  .wheel-area {
    width: min(330px, calc(100dvh - 118px));
    min-width: 210px;
  }

  .wheel-heading {
    display: none;
  }
}

@media (max-width: 380px) {
  .page-shell {
    width: min(100% - 20px, 700px);
  }

  .brand-copy {
    display: none;
  }

  .event-badge {
    display:none;
  }

  .staff-session { max-width:260px; }
  .staff-session small { display:none; }

  .form-heading small {
    display: none;
  }

  .form-actions {
    grid-template-columns: minmax(0, 1fr) 105px;
  }

  .spin-button {
    letter-spacing: 0.03em;
  }

  .wheel-area {
    width: min(315px, calc(100vw - 24px), calc(100dvh - 338px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Final Red Edition cascade lock */
:root { color-scheme:light; --navy:#7f0b1c; --navy-soft:#b71931; --blue:#c61631; --cyan:#f0bd55; --text:#3a1017; --muted:#7c6064; --line:rgba(119,10,28,.16); }
body { color:#3a1017; background:#fff6ee; }
.app-shell { background:radial-gradient(circle at 82% 18%,rgba(211,32,58,.16),transparent 28rem),radial-gradient(circle at 4% 90%,rgba(240,173,66,.18),transparent 24rem),linear-gradient(145deg,#fffaf4 0%,#fff1e8 54%,#f9e4df 100%); }
.ambient-one { background:rgba(203,24,49,.26); }
.ambient-two { background:rgba(238,149,47,.17); }
.brand { color:#8d0c20; }
.brand-copy small { color:#9b6b70; }
.event-badge { border-color:rgba(137,12,31,.16); color:#74434b; background:rgba(255,250,244,.75); }
.pulse-dot { background:#d51f39; box-shadow:0 0 0 5px rgba(213,31,57,.11),0 0 16px rgba(213,31,57,.4); }
.spin-screen { grid-template-columns:minmax(0,.88fr) minmax(440px,1.12fr); }
.intro { order:1; max-width:570px; transform-origin:left center; }
.wheel-column { order:2; }
.eyebrow { color:#ad1229; }
.eyebrow > span { color:#7d091a; background:#f3c65c; }
.intro h1 { color:#500a18; }
.intro h1 em { color:transparent; }
.subtitle { color:#75585c; }
.stats { border-top-color:rgba(126,10,29,.13); }
.stats strong { color:#9d1027; }
.stats span { color:#876b6f; }
.wheel-area { filter:drop-shadow(0 30px 34px rgba(109,7,24,.2)); }
.wheel-glow { background:radial-gradient(circle,rgba(210,30,56,.28),rgba(239,163,55,.12) 40%,transparent 70%); }
.wheel-frame { border-color:#fff4e8; box-shadow:0 0 0 4px #8f0a20,0 28px 65px rgba(100,5,23,.25),inset 0 0 0 4px rgba(255,255,255,.72); }
.bulbs i { background:#ffd46c; box-shadow:0 0 0 2px #fff6d2,0 0 15px rgba(238,148,30,.7); }
.pointer span { border-top-color:#a40821; }
.pointer { border-color:rgba(255,236,219,.9); background:linear-gradient(145deg,#fff8ef,#c73a4c 70%); box-shadow:0 8px 24px rgba(75,2,14,.38),inset 0 0 0 4px rgba(255,255,255,.25); }
.pointer::before { background:linear-gradient(#d84555,#ffe3cb); }
.pointer span { border-color:rgba(255,221,196,.72); background:radial-gradient(circle at 38% 34%,#ff7a67,#c51635 58%,#650615 100%); box-shadow:inset 0 0 12px rgba(255,255,255,.25),0 0 18px rgba(201,23,52,.4); }
.event-period { color:#6e303b; border-color:rgba(130,9,29,.15); background:rgba(255,249,242,.83); }
.event-period span { color:#9d747a; }
.event-period strong { color:#8f1025; }
.center-cap { border-color:#fff2e4; background:#fff9f1; box-shadow:0 0 0 3px #940b21,0 10px 28px rgba(101,5,22,.33),0 0 0 0 rgba(202,25,51,.3); }
.staff-login-card,.verification-card,.spin-form { border-color:rgba(139,10,32,.14); color:#42131c; background:linear-gradient(150deg,#fffdf9,#fff3e9); box-shadow:0 34px 100px rgba(42,1,9,.35),inset 0 1px rgba(255,255,255,.9); }
.staff-login-card h2,.verification-card h2,.form-heading p strong { color:#5b0b1a; }
.staff-login-card > div { padding-right:38px; }
.staff-login-card p,.verification-description,.verification-card label,.form-heading p small { color:#80666a; }
.verification-card input,.vin-field { border-color:#dfcbc8; color:#49131e; background:#fff; }
.verification-card input:focus,.vin-field:focus-within { border-color:#bd1832; box-shadow:0 0 0 4px rgba(189,24,50,.11); }
.verification-card input::placeholder,.vin-field input::placeholder { color:#ac9395; }
.verification-primary,.spin-button { color:#fff; background:linear-gradient(135deg,#d72740,#8d091f); box-shadow:0 12px 26px rgba(152,8,31,.24); }
.admin-bypass { border-color:rgba(166,16,41,.2); color:#8d1025; background:#fae8e4; }
.verified-customer { border-color:rgba(168,17,42,.16); color:#661324; background:#f8e5e1; }
.verified-customer > span { color:#fff; background:#b71934; }
.verified-customer strong { color:#681727; font-size:11px; }
.verified-customer small { color:#8d666c; font-size:9px; }
.verified-customer button { color:#a70f29; font-size:9px; }
.vin-field #vinInput { color:#501723; font-size:16px; background:transparent; }
.vin-field #vinInput::placeholder { color:#a98e92; opacity:1; }
.form-message.info { color:#a9162d; }
.modal-backdrop { background:rgba(47,2,11,.76); }
.modal-card { color:#4b1620; background:#fff8ef; }
.result-brand strong,.modal-card h2 { color:#7e0a1e; }
.result-brand small,.result-brand > span,.modal-kicker { color:#c01b35; }

@media (max-width:900px) {
  .spin-screen { display:flex; gap:10px; overflow:hidden; }
  .intro { order:1; }
  .wheel-column { order:2; }
  .wheel-area { width:min(380px,calc(100vw - 32px),calc(100dvh - 300px)); }
  .form-actions { grid-template-columns:1fr; }
}

/* Vietnam National Day 2/9 — replaceable photographic background layer */
:root {
  --vn-red:#da251d;
  --vn-red-deep:#6d0712;
  --vn-ruby:#970b18;
  --vn-gold:#ffcd00;
  --vn-cream:#fff4cf;
}

body {
  color:#fff;
  background:#69040d;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline-color:rgba(255,205,0,.92);
}

.app-shell {
  background:linear-gradient(135deg,#7b0611,#bd181c 58%,#73100d);
}

.event-background {
  position:absolute;
  z-index:0;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  background:linear-gradient(135deg,#7b0611,#cf271d 62%,#6b070d);
}

.event-background img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:saturate(.96) contrast(1.02);
  transform:scale(1.025);
  animation:national-background-breathe 20s ease-in-out infinite alternate;
}

.event-background::before,
.event-background::after {
  position:absolute;
  inset:0;
  content:"";
}

.event-background::before {
  background:
    linear-gradient(90deg,rgba(65,0,8,.72) 0%,rgba(88,2,10,.5) 39%,rgba(93,2,8,.14) 64%,rgba(74,0,5,.18) 100%),
    linear-gradient(180deg,rgba(58,0,6,.32),transparent 28%,rgba(57,0,5,.26));
}

.event-background::after {
  opacity:.22;
  background-image:radial-gradient(rgba(255,220,96,.7) .75px,transparent .75px);
  background-size:28px 28px;
  mask-image:linear-gradient(115deg,#000,transparent 62%);
}

.event-background.is-unavailable img { display:none; }

.app-shell::before {
  z-index:1;
  opacity:.2;
  background-image:
    linear-gradient(110deg,transparent 0 46%,rgba(255,218,81,.22) 49%,transparent 52%),
    linear-gradient(70deg,transparent 0 48%,rgba(255,255,255,.12) 50%,transparent 52%);
  background-size:280px 100%,390px 100%;
  mask-image:linear-gradient(to bottom,transparent,#000 22%,transparent 92%);
  animation:national-light-sweep 13s linear infinite;
}

.app-shell::after {
  z-index:1;
  top:18%;
  right:-17rem;
  border-color:rgba(255,215,73,.12);
  box-shadow:0 0 0 90px rgba(255,205,0,.025),0 0 0 190px rgba(255,205,0,.016);
}

.ambient { z-index:1; }
.ambient-one { background:rgba(255,204,30,.2); }
.ambient-two { background:rgba(110,0,7,.5); }

.topbar {
  border-bottom:1px solid rgba(255,231,157,.2);
}

.brand { color:#fff; }
.brand-mark {
  border-color:rgba(255,227,139,.72);
  background:#fff8e8;
  box-shadow:0 8px 28px rgba(67,0,4,.28),0 0 24px rgba(255,205,0,.2);
}
.brand-copy small { color:#ffe5a1; }
.event-badge,
.staff-session {
  color:#fff4d2;
  border-color:rgba(255,222,123,.3);
  background:rgba(91,0,8,.46);
  box-shadow:inset 0 1px rgba(255,255,255,.1);
  backdrop-filter:blur(15px);
}
.pulse-dot { background:#ffcd00; box-shadow:0 0 0 5px rgba(255,205,0,.13),0 0 18px rgba(255,205,0,.8); }

.spin-screen { grid-template-columns:minmax(0,.9fr) minmax(440px,1.1fr); }

.intro {
  position:relative;
  max-width:590px;
  padding:clamp(22px,3vw,36px);
  border:1px solid rgba(255,229,154,.2);
  border-left:3px solid rgba(255,205,0,.86);
  border-radius:4px 26px 26px 4px;
  background:linear-gradient(120deg,rgba(82,0,8,.59),rgba(127,5,12,.28) 70%,rgba(127,5,12,.08));
  box-shadow:0 28px 80px rgba(50,0,4,.18),inset 0 1px rgba(255,255,255,.08);
  backdrop-filter:blur(10px) saturate(1.05);
}

.eyebrow { color:#ffe8a6; }
.eyebrow > span {
  display:grid;
  width:30px;
  height:30px;
  place-items:center;
  border:1px solid rgba(255,223,111,.55);
  border-radius:50%;
  color:#ffdc4c;
  font-size:13px;
  background:rgba(255,205,0,.1);
  box-shadow:0 0 22px rgba(255,205,0,.2);
  animation:national-star-glow 2.2s ease-in-out infinite;
}

.intro h1,
.intro h1 span {
  color:#fffaf0;
  text-shadow:0 7px 34px rgba(45,0,3,.42);
}

.intro h1 em {
  color:transparent;
  background:linear-gradient(105deg,#ffbf18 0%,#fff2a8 32%,#ffd42a 52%,#fff8c9 68%,#e9a813 100%);
  background-size:220% auto;
  background-clip:text;
  -webkit-background-clip:text;
  filter:drop-shadow(0 7px 18px rgba(102,37,0,.26));
  animation:headline-rise .8s .34s cubic-bezier(.22,1,.36,1) both,national-gold-shimmer 5s 1.2s linear infinite;
}

.anniversary-signature {
  position:relative;
  display:flex;
  width:fit-content;
  max-width:100%;
  min-height:38px;
  gap:10px;
  align-items:center;
  margin:clamp(12px,1.7vh,17px) 0 0;
  padding:7px 13px;
  overflow:hidden;
  border:1px solid rgba(255,223,106,.38);
  border-radius:999px;
  color:#fff1bd;
  font-size:9px;
  font-weight:850;
  letter-spacing:.08em;
  background:linear-gradient(100deg,rgba(255,205,0,.08),rgba(255,244,191,.14),rgba(255,205,0,.06));
  box-shadow:inset 0 1px rgba(255,255,255,.1),0 10px 24px rgba(55,0,3,.14);
  animation:headline-rise .72s .46s both;
}

.anniversary-signature::after {
  position:absolute;
  top:0;
  left:-38%;
  width:24%;
  height:100%;
  content:"";
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent);
  transform:skewX(-22deg);
  animation:anniversary-sweep 4.8s 1.4s ease-in-out infinite;
}

.anniversary-signature i { color:#ffda45; font-style:normal; font-size:8px; }
.anniversary-signature strong {
  color:#78101a;
  padding:4px 9px;
  border-radius:999px;
  background:linear-gradient(135deg,#fff0a1,#ffcd00 58%,#d99105);
  box-shadow:0 4px 14px rgba(255,205,0,.2);
  white-space:nowrap;
}

.subtitle {
  max-width:520px;
  color:#fff1d2;
  font-size:13px;
  text-shadow:0 2px 16px rgba(44,0,4,.5);
}

.stats { border-top-color:rgba(255,225,132,.23); }
.stats strong { color:#ffdc55; }
.stats span { color:#ffecc3; }

.wheel-area { filter:drop-shadow(0 34px 36px rgba(62,0,4,.36)); }
.wheel-area { width:min(680px,49vw,calc(100dvh - 150px)); }
.wheel-glow { background:radial-gradient(circle,rgba(255,215,75,.42),rgba(188,25,26,.22) 44%,transparent 70%); }
.wheel-frame {
  border-color:#fff1bd;
  background:linear-gradient(145deg,#fff8d7 0%,#e2a318 18%,#fff0a1 45%,#b76c08 72%,#fff7d1 100%);
  box-shadow:0 0 0 4px #a20c19,0 0 0 7px rgba(255,205,0,.62),0 30px 70px rgba(54,0,3,.4),inset 0 0 0 4px rgba(255,255,255,.74);
}
.bulbs i { background:#ffdf5c; box-shadow:0 0 0 2px #fff6cb,0 0 18px rgba(255,205,0,.88); }
.pointer { border-color:#fff0b9; background:linear-gradient(145deg,#fff6ce,#ffcb28 45%,#a20b17 100%); }
.pointer::before { background:linear-gradient(#ffdb4d,#9f0a16); }
.pointer span { border-color:#ffe370; background:radial-gradient(circle at 38% 34%,#ffef91,#ffcd00 48%,#c68100 100%); }

.center-cap {
  border-color:#fff0b5;
  background:linear-gradient(145deg,#fffdf6,#fff0c5);
  box-shadow:0 0 0 3px #a20b18,0 0 0 6px rgba(255,205,0,.78),0 12px 34px rgba(55,0,4,.46),0 0 0 0 rgba(255,205,0,.4);
}
.center-cap > span {
  color:#74101a;
  border-color:rgba(255,226,130,.78);
  background:rgba(255,248,222,.96);
  box-shadow:0 8px 22px rgba(66,0,4,.22);
}

.event-period {
  color:#fff7de;
  border-color:rgba(255,224,128,.34);
  background:rgba(91,0,8,.58);
  box-shadow:0 12px 30px rgba(49,0,4,.24),inset 0 1px rgba(255,255,255,.1);
  backdrop-filter:blur(15px);
}
.event-period::before { content:"★"; color:#ffda45; font-size:10px; }
.event-period span { color:#ffdda1; }
.event-period strong { color:#fff; }

body.entry-open .intro {
  border-color:transparent;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

.modal-card { border-color:rgba(184,15,29,.2); }
.result-brand small,.result-brand > span,.modal-kicker { color:#b20d1d; }

@keyframes national-background-breathe {
  to { transform:scale(1.065) translate3d(-.4%,.25%,0); }
}

@keyframes national-light-sweep {
  to { background-position:560px 0,-390px 0; }
}

@keyframes national-star-glow {
  50% { transform:rotate(8deg) scale(1.08); box-shadow:0 0 30px rgba(255,205,0,.42); }
}

@keyframes national-gold-shimmer {
  to { background-position:-220% center; }
}

@keyframes anniversary-sweep {
  0%,58% { left:-38%; opacity:0; }
  68% { opacity:1; }
  88%,100% { left:114%; opacity:0; }
}

@media (max-width:900px) {
  .event-background img { object-position:56% center; }
  .event-background::before {
    background:linear-gradient(180deg,rgba(83,0,8,.62) 0%,rgba(91,0,8,.38) 50%,rgba(59,0,5,.5) 100%);
  }
  .spin-screen { gap:8px; }
  .intro {
    max-width:600px;
    padding:12px 16px 14px;
    border-left:1px solid rgba(255,229,154,.2);
    border-radius:18px;
    background:linear-gradient(145deg,rgba(80,0,7,.56),rgba(128,6,12,.23));
  }
  .eyebrow > span { width:24px; height:24px; font-size:10px; }
  .subtitle { color:#fff1d2; font-size:10px; }
  .anniversary-signature {
    min-height:32px;
    gap:6px;
    margin:8px auto 0;
    padding:5px 9px;
    font-size:7px;
  }
  .anniversary-signature strong { padding:3px 7px; }
  .stats span { color:#ffe9ba; }
  .wheel-area { width:min(375px,calc(100vw - 32px),calc(100dvh - 326px)); }
}

@media (max-width:900px) and (max-height:720px) {
  .intro { padding:7px 13px 9px; }
  .wheel-area { width:min(310px,calc(100vw - 38px),calc(100dvh - 305px)); }
}

@media (max-width:900px) and (orientation:landscape) {
  .intro { text-align:left; }
  .event-background img { object-position:center; }
}

/* 81-year campaign logo */
.brand-mark,
.staff-login-icon,
.result-brand-mark {
  border-radius:14px;
}

.brand-mark,
.staff-login-icon img,
.result-brand-mark {
  object-fit:cover;
}

.center-cap {
  width:27%;
  padding:4px;
  overflow:visible;
  border-radius:25%;
  background:linear-gradient(145deg,#fff9db,#f1b72e);
}

.center-cap img {
  width:100%;
  height:100%;
  overflow:hidden;
  border-radius:20%;
  object-fit:cover;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.5);
}

.staff-login-icon { padding:2px; overflow:hidden; }
.staff-login-icon img { border-radius:11px; }
.result-brand-mark { border:1px solid rgba(187,17,31,.16); }

@media (max-width:900px) {
  .brand-mark { width:42px; height:42px; }
  .center-cap { width:28%; padding:3px; }
}

/* Black Mango works best as a large display face; small UI copy stays sans-serif. */
.intro h1,
.result-copy h2,
.winner-prize {
  font-family:"NVN Black Mango",Georgia,serif;
  font-weight:400;
  font-kerning:normal;
  text-rendering:optimizeLegibility;
}

.intro h1 {
  letter-spacing:-.008em;
  line-height:.96;
}

.intro h1 span,
.intro h1 em {
  -webkit-text-stroke:.24px currentColor;
}

.intro h1 em { margin-top:.13em; }

.eyebrow b,
.anniversary-signature,
.center-cap > span,
.event-period {
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.eyebrow b { font-weight:850; letter-spacing:.16em; }
.anniversary-signature { font-weight:850; letter-spacing:.08em; }
.center-cap > span { font-weight:950; letter-spacing:.11em; }
.event-period { font-weight:750; letter-spacing:.04em; }

/* Public-domain Lạc bird motif from the Hoàng Hạ bronze drum */
.lac-bird-ornament {
  position:absolute;
  z-index:1;
  top:9.5%;
  left:42.5%;
  width:clamp(200px,19vw,310px);
  aspect-ratio:800/228;
  opacity:.67;
  filter:drop-shadow(0 8px 18px rgba(89,24,0,.26)) drop-shadow(0 0 12px rgba(255,205,0,.16));
  pointer-events:none;
  animation:lac-bird-glide 6.4s ease-in-out infinite;
}

.lac-bird-art {
  display:block;
  width:100%;
  height:100%;
  background:linear-gradient(90deg,#d99008 0%,#fff1a0 38%,#ffcd00 62%,#d58906 100%);
  background-size:220% 100%;
  -webkit-mask:url("assets/chim-lac-hoang-ha-public-domain.png") center/contain no-repeat;
  mask:url("assets/chim-lac-hoang-ha-public-domain.png") center/contain no-repeat;
  animation:lac-bird-gold 4.8s linear infinite;
}

.lac-bird-trail {
  position:absolute;
  top:58%;
  left:-10%;
  width:34%;
  height:2px;
  opacity:.55;
  background:linear-gradient(90deg,transparent,#ffdc54 72%,transparent);
  filter:blur(.2px);
  transform:rotate(4deg);
  animation:lac-bird-trail 2.5s ease-in-out infinite;
}

@keyframes lac-bird-glide {
  0%,100% { transform:translate3d(0,0,0) rotate(-2.2deg); }
  50% { transform:translate3d(16px,-8px,0) rotate(.6deg); }
}

@keyframes lac-bird-gold {
  to { background-position:-220% 0; }
}

@keyframes lac-bird-trail {
  50% { opacity:.18; transform:translateX(-11px) rotate(4deg) scaleX(.72); }
}

@media (max-width:900px) {
  .lac-bird-ornament {
    top:14px;
    right:24px;
    left:auto;
    width:110px;
    opacity:.56;
  }
}

@media (prefers-reduced-motion:reduce) {
  .lac-bird-ornament,
  .lac-bird-art,
  .lac-bird-trail { animation:none; }
}

/* Staff session pill — high contrast on the National Day background */
.staff-session {
  display:flex;
  width:auto;
  max-width:none;
  min-height:34px;
  gap:7px;
  align-items:center;
  padding:4px 6px 4px 10px;
  overflow:visible;
  color:#fff7db;
  border:1px solid rgba(255,222,110,.42);
  border-radius:999px;
  background:linear-gradient(110deg,rgba(92,0,8,.82),rgba(133,8,15,.7));
  box-shadow:0 8px 24px rgba(53,0,4,.2),inset 0 1px rgba(255,255,255,.1);
  backdrop-filter:blur(16px) saturate(1.08);
}

.staff-session > span {
  flex:0 0 auto;
  color:#ffda3e;
  font-size:8px;
  text-shadow:0 0 10px rgba(255,205,0,.72);
}

.staff-session p { display:block; min-width:0; margin:0; }
.staff-session strong {
  display:block;
  overflow:visible;
  color:#fff8e7;
  font-size:9px;
  font-weight:800;
  line-height:1;
  text-overflow:clip;
  white-space:nowrap;
}
.staff-session small { display:none; }

.staff-session > a,
.staff-session button {
  display:inline-flex;
  min-width:max-content;
  min-height:24px;
  align-items:center;
  justify-content:center;
  padding:0 8px;
  cursor:pointer;
  border-radius:999px;
  font-size:8px;
  font-weight:850;
  line-height:1;
  white-space:nowrap;
}

.staff-session > a {
  color:#73101a;
  border:1px solid rgba(255,238,171,.72);
  text-decoration:none;
  background:linear-gradient(135deg,#fff1a0,#ffcd00);
}

.staff-session button {
  border:0;
  color:#fff2c8;
  background:rgba(255,255,255,.09);
}

.staff-session > a:hover { border-color:#fff5cb; background:linear-gradient(135deg,#fff8cf,#ffdc43); }
.staff-session button:hover { color:#fff; background:rgba(255,255,255,.16); }

@media (max-width:520px) {
  .staff-session { gap:5px; padding-left:8px; }
  .staff-session strong { font-size:8px; }
  .staff-session > a,.staff-session button { padding-inline:6px; font-size:7px; }
}
