:root {
  --review-gold: #e5ad1b;
  --review-gold-light: #ffe39a;
  --review-gold-dark: #8d5b09;
  --review-brown: #2a130d;
  --review-cream: #fff7e5;
  --review-muted: rgba(255, 247, 229, 0.7);
  --review-wheel-size: clamp(440px, 52vw, 600px);
}

html {
  min-height: 100%;
}

body.review-lottery-page {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--review-brown);
  color: var(--review-cream);
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.review-lottery-principal {
  position: relative;
  top: auto;
  bottom: auto;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  padding: 26px 22px 84px;
  background:
    linear-gradient(108deg, rgba(42, 19, 13, 0.97) 0%, rgba(104, 57, 26, 0.91) 48%, rgba(221, 177, 113, 0.84) 100%),
    var(--review-lottery-photo) center / cover fixed;
  isolation: isolate;
}

.review-lottery-principal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.24;
  background-image: radial-gradient(circle, rgba(255, 235, 190, 0.55) 1px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}

.review-lottery-principal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 7, 4, 0.1), transparent 45%, rgba(255, 235, 190, 0.08)),
    radial-gradient(circle at 50% 42%, transparent 0, rgba(18, 7, 4, 0.16) 78%);
  pointer-events: none;
}

.review-lottery-orb {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 235, 190, 0.06);
  border-radius: 50%;
  background: rgba(255, 235, 190, 0.055);
  pointer-events: none;
}

.review-lottery-orb-one {
  top: -310px;
  right: -190px;
  width: 740px;
  height: 740px;
}

.review-lottery-orb-two {
  bottom: -330px;
  left: -220px;
  width: 620px;
  height: 620px;
}

.review-lottery-brandbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: min(1180px, 100%);
  min-height: 58px;
  margin: 0 auto 8px;
}

.review-lottery-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--review-cream);
  text-align: center;
  text-decoration: none;
}

.review-lottery-brand:hover,
.review-lottery-brand:focus {
  color: var(--review-cream);
  text-decoration: none;
}

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

.review-lottery-brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.2vw, 29px);
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(25, 8, 2, 0.3);
}

.review-lottery-brand-copy small {
  color: var(--review-muted);
  font-size: 13px;
}

.review-lottery-language {
  position: absolute;
  top: 0;
  right: 0;
}

.review-lottery-lang-switcher .lang-switcher-toggle {
  width: auto;
  min-width: 68px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 239, 202, 0.28);
  border-radius: 20px;
  background: rgba(255, 248, 232, 0.13);
  color: var(--review-cream);
  box-shadow: 0 8px 22px rgba(33, 12, 4, 0.12);
  backdrop-filter: blur(8px);
}

.review-lottery-lang-switcher .lang-switcher-toggle:hover,
.review-lottery-lang-switcher .lang-switcher-toggle:focus {
  background: rgba(255, 248, 232, 0.22);
}

.review-lottery-lang-switcher .lang-switcher-globe {
  display: none;
}

.review-lottery-lang-switcher .lang-switcher-current,
.review-lottery-lang-switcher .lang-switcher-arrow {
  display: inline-block;
}

.review-lottery-lang-switcher .lang-switcher-arrow {
  border-top-color: var(--review-cream);
}

.review-lottery-lang-switcher .lang-switcher-menu {
  right: 0;
  left: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 239, 202, 0.34);
  border-radius: 12px;
  background: rgba(49, 21, 12, 0.96);
  box-shadow: 0 14px 34px rgba(24, 8, 3, 0.32);
}

.review-lottery-lang-switcher .lang-switcher-option {
  color: var(--review-cream);
  background: transparent;
}

.review-lottery-lang-switcher .lang-switcher-option:hover,
.review-lottery-lang-switcher .lang-switcher-option.is-active {
  color: #2b150c;
  background: var(--review-gold-light);
}

.review-lottery-shell {
  position: relative;
  z-index: 2;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.review-lottery-panel {
  width: 100%;
  margin: 0 auto;
  color: var(--review-cream);
}

.review-lottery-heading {
  max-width: 840px;
  margin: 0 auto 30px;
  text-align: center;
}

.review-lottery-kicker {
  display: none;
  margin-bottom: 8px;
  color: var(--review-gold-light);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.review-lottery-panel h1 {
  margin: 0 0 9px;
  color: var(--review-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.8vw, 64px);
  font-weight: 700;
  line-height: 1.03;
  text-align: center;
  text-shadow: 0 3px 18px rgba(28, 9, 3, 0.32);
  white-space: normal;
  overflow-wrap: anywhere;
}

.review-lottery-intro {
  max-width: 780px;
  margin: 0 auto;
  color: var(--review-muted);
  font-size: 17px;
  line-height: 1.55;
  text-align: center;
}

.review-lottery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(34px, 4vw, 62px);
  align-items: center;
}

.review-lottery-game {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  min-width: 0;
}

.review-lottery-wheel-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: calc(var(--review-wheel-size) + 38px);
  height: calc(var(--review-wheel-size) + 54px);
  padding-top: 16px;
  filter: drop-shadow(0 24px 32px rgba(34, 10, 1, 0.28));
}

.review-lottery-pointer {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 12;
  width: 24px;
  height: 34px;
  transform: translateX(-50%);
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, #f2b824 0 40%, #d3312f 41% 100%);
  box-shadow: 0 4px 10px rgba(38, 11, 2, 0.34);
}

.review-lottery-pointer span {
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-right: 9px solid transparent;
  border-left: 9px solid transparent;
  border-top: 13px solid #d3312f;
  filter: drop-shadow(0 3px 2px rgba(38, 11, 2, 0.2));
}

.review-lottery-light-ring {
  position: absolute;
  top: 11px;
  left: 50%;
  z-index: 6;
  width: calc(var(--review-wheel-size) + 52px);
  height: calc(var(--review-wheel-size) + 52px);
  transform: translateX(-50%);
  border: 13px solid transparent;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe17a, #a5670c 48%, #ffd74f 75%, #7b4807) border-box;
  box-shadow:
    inset 0 0 18px rgba(91, 49, 2, 0.68),
    0 0 0 2px rgba(89, 48, 4, 0.44);
  pointer-events: none;
}

.review-lottery-light-ring i {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fffce6 0 15%, #ffe886 40%, #bd7c13 82%);
  box-shadow: 0 0 5px rgba(255, 229, 134, 0.45);
  animation: review-light-chase 1.6s linear infinite;
  animation-delay: calc(var(--light-index) * -0.1s);
}

.review-lottery-light-ring i:nth-child(1) { top: 0; left: 50%; }
.review-lottery-light-ring i:nth-child(2) { top: 3.8%; left: 69.1%; }
.review-lottery-light-ring i:nth-child(3) { top: 14.6%; left: 85.4%; }
.review-lottery-light-ring i:nth-child(4) { top: 30.9%; left: 96.2%; }
.review-lottery-light-ring i:nth-child(5) { top: 50%; left: 100%; }
.review-lottery-light-ring i:nth-child(6) { top: 69.1%; left: 96.2%; }
.review-lottery-light-ring i:nth-child(7) { top: 85.4%; left: 85.4%; }
.review-lottery-light-ring i:nth-child(8) { top: 96.2%; left: 69.1%; }
.review-lottery-light-ring i:nth-child(9) { top: 100%; left: 50%; }
.review-lottery-light-ring i:nth-child(10) { top: 96.2%; left: 30.9%; }
.review-lottery-light-ring i:nth-child(11) { top: 85.4%; left: 14.6%; }
.review-lottery-light-ring i:nth-child(12) { top: 69.1%; left: 3.8%; }
.review-lottery-light-ring i:nth-child(13) { top: 50%; left: 0; }
.review-lottery-light-ring i:nth-child(14) { top: 30.9%; left: 3.8%; }
.review-lottery-light-ring i:nth-child(15) { top: 14.6%; left: 14.6%; }
.review-lottery-light-ring i:nth-child(16) { top: 3.8%; left: 30.9%; }

.review-lottery-wheel {
  position: relative;
  z-index: 7;
  --wheel-label-compensation: 0deg;
  width: var(--review-wheel-size);
  height: var(--review-wheel-size);
  overflow: hidden;
  border: 3px solid rgba(117, 68, 7, 0.72);
  border-radius: 50%;
  background:
    conic-gradient(
      from -18deg,
      #f45a78 0deg 36deg,
      #ef874d 36deg 72deg,
      #f2cf3e 72deg 108deg,
      #37a875 108deg 144deg,
      #ef9200 144deg 180deg,
      #bc5aaa 180deg 216deg,
      #e95663 216deg 252deg,
      #e3b71a 252deg 288deg,
      #4da98e 288deg 324deg,
      #d16a8e 324deg 360deg
    );
  box-shadow:
    inset 0 0 28px rgba(58, 23, 6, 0.36),
    0 0 0 1px rgba(75, 35, 5, 0.54);
  transition: transform 4s cubic-bezier(0.15, 0.82, 0.22, 1);
  will-change: transform;
}

.review-lottery-wheel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.21), transparent 34%);
  pointer-events: none;
}

.review-lottery-wheel-labels {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.review-lottery-wheel-labels > span {
  position: absolute;
  inset: 0;
  transform: rotate(calc(var(--segment-index) * var(--segment-angle)));
  transform-origin: center;
}

.review-lottery-wheel-labels b {
  position: absolute;
  top: 12.5%;
  left: 50%;
  width: 104px;
  transform: translateX(-50%) rotate(calc(var(--label-rotation, 0deg) - var(--wheel-label-compensation, 0deg)));
  color: #27150d;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 1px rgba(255, 247, 220, 0.34);
}

.review-lottery-wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 0;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  border: 4px solid #f5d261;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe27b, #c7850c 68%, #865006);
  color: #2c170d;
  cursor: pointer;
  box-shadow:
    0 5px 14px rgba(47, 15, 2, 0.45),
    inset 0 0 0 2px rgba(111, 65, 8, 0.45),
    inset 0 3px 4px rgba(255, 249, 213, 0.65);
}

.review-lottery-wheel-center:hover,
.review-lottery-wheel-center:focus-visible {
  filter: brightness(1.08);
  outline: 3px solid rgba(255, 244, 199, 0.78);
  outline-offset: 3px;
}

.review-lottery-wheel-center span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 900;
}

.review-lottery-wheel-stage.is-spinning .review-lottery-pointer {
  animation: review-pointer-tick 0.15s linear infinite;
  transform-origin: 50% 12px;
}

.review-lottery-wheel-stage.is-spinning .review-lottery-light-ring i {
  animation-duration: 0.48s;
}

.review-lottery-wheel-stage.has-result .review-lottery-light-ring {
  filter: brightness(1.14);
}

.review-lottery-chance {
  display: none;
  align-items: center;
  gap: 10px;
  color: rgba(255, 245, 218, 0.78);
  text-transform: uppercase;
}

.review-lottery-chance strong {
  color: var(--review-gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.review-lottery-chance span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.review-lottery-card {
  /* Participation is temporarily unavailable; keep the markup for easy reactivation. */
  display: none;
  position: relative;
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 232, 181, 0.24);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(44, 19, 12, 0.78), rgba(84, 42, 20, 0.64));
  color: var(--review-cream);
  box-shadow: 0 24px 55px rgba(38, 12, 4, 0.25);
  backdrop-filter: blur(15px);
}

.review-lottery-card.is-modal-open {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 51;
  display: block;
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  transform: translate(-50%, -50%);
  border-color: rgba(255, 232, 181, 0.42);
  background: linear-gradient(145deg, rgba(44, 19, 12, 0.98), rgba(84, 42, 20, 0.96));
  box-shadow: 0 0 0 100vmax rgba(23, 8, 3, 0.72), 0 28px 75px rgba(20, 5, 1, 0.55);
}

body.review-lottery-dialog-open {
  overflow: hidden;
}

/* Hide landing-page brand text while a dialog is open. */
body.review-lottery-dialog-open .review-lottery-brand-copy strong,
body.review-lottery-dialog-open .review-lottery-brand-copy small {
  display: none;
}


.review-lottery-dialog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 235, 192, 0.28);
  border-radius: 50%;
  background: rgba(255, 250, 239, 0.09);
  color: #fff5dc;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.review-lottery-dialog-close:hover,
.review-lottery-dialog-close:focus-visible {
  border-color: var(--review-gold-light);
  background: rgba(229, 173, 27, 0.22);
  outline: none;
}

.review-lottery-mood-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(23, 8, 3, 0.72);
  backdrop-filter: blur(8px);
}

.review-lottery-mood-overlay.is-active {
  display: flex;
}

.review-lottery-mood-dialog {
  position: relative;
  width: min(680px, 100%);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(255, 232, 181, 0.42);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(44, 19, 12, 0.98), rgba(84, 42, 20, 0.96));
  color: var(--review-cream);
  box-shadow: 0 28px 75px rgba(20, 5, 1, 0.55);
  text-align: center;
}

.review-lottery-mood-dialog h2 {
  margin: 0 42px 8px;
  color: var(--review-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4vw, 38px);
}

.review-lottery-mood-dialog > p {
  margin: 0 auto 26px;
  color: rgba(255, 245, 220, 0.76);
  font-size: 15px;
}

.review-lottery-moods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.review-lottery-moods button {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 154px;
  padding: 18px 10px;
  border: 1px solid rgba(255, 232, 181, 0.28);
  border-radius: 18px;
  background: rgba(255, 250, 239, 0.08);
  color: var(--review-cream);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.review-lottery-moods button span {
  font-size: clamp(54px, 8vw, 76px);
  line-height: 1;
}

.review-lottery-moods button strong {
  font-size: 16px;
}

.review-lottery-moods button:hover,
.review-lottery-moods button:focus-visible {
  transform: translateY(-3px);
  border-color: var(--review-gold-light);
  background: rgba(229, 173, 27, 0.17);
  outline: none;
}

.review-lottery-mood-dialog > small {
  display: block;
  margin-top: 22px;
  color: rgba(255, 245, 220, 0.66);
  font-size: 12px;
  line-height: 1.5;
}

.review-lottery-card::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -65px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 222, 151, 0.055);
  pointer-events: none;
}

.review-lottery-card.is-celebrating {
  animation: review-card-celebrate 0.72s ease both;
}

.review-lottery-card.is-modal-open.is-celebrating {
  animation: none;
}

.review-lottery-step {
  display: none;
}

.review-lottery-step.is-active {
  display: block;
  animation: review-step-in 0.36s ease both;
}

.review-lottery-step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border: 1px solid rgba(255, 226, 161, 0.46);
  border-radius: 50%;
  color: var(--review-gold-light);
  background: rgba(229, 173, 27, 0.09);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 800;
}

.review-lottery-step-copy {
  max-width: 470px;
  margin: 0 auto 20px;
  color: rgba(255, 245, 220, 0.78);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.review-lottery-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.review-lottery-verification-spinner {
  width: 54px;
  height: 54px;
  margin: 8px auto 20px;
  border: 4px solid rgba(255, 235, 192, 0.18);
  border-top-color: var(--review-gold-light);
  border-radius: 50%;
  animation: review-verification-spin 0.85s linear infinite;
}

@keyframes review-verification-spin {
  to {
    transform: rotate(360deg);
  }
}

.review-lottery-card h2 {
  margin: 0 0 18px;
  color: var(--review-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
  text-align: center;
}

.review-lottery-card h3 {
  margin: 20px 0 11px;
  color: var(--review-cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
}

.review-lottery-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.review-lottery-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 12px 0 4px;
  color: rgba(255, 245, 220, 0.84);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

.review-lottery-consent input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.review-lottery-form .form-control,
.review-lottery-feedback .form-control {
  min-height: 46px;
  border: 1px solid rgba(255, 233, 185, 0.22);
  border-radius: 10px;
  background: rgba(255, 252, 244, 0.94);
  color: #2e180f;
  font-size: 14px;
  box-shadow: none;
}

.review-lottery-form .form-control:focus,
.review-lottery-feedback .form-control:focus {
  border-color: var(--review-gold);
  box-shadow: 0 0 0 3px rgba(229, 173, 27, 0.17);
}

.review-lottery-form .form-control.is-invalid,
.review-lottery-form .form-control.is-invalid:focus {
  border-color: #e5554f;
  box-shadow: 0 0 0 3px rgba(229, 85, 79, 0.2);
}

.review-lottery-note {
  display: block;
  margin: 11px 0 0;
  color: rgba(255, 245, 221, 0.66);
  font-size: 12px;
  line-height: 1.45;
}

.review-lottery-primary.btn,
.review-lottery-secondary.btn,
.review-lottery-google-button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 17px;
  border: 0;
  border-radius: 25px;
  color: #2b160d;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(43, 14, 3, 0.23);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.review-lottery-primary.btn {
  gap: 12px;
  background: linear-gradient(135deg, #f2bf28, #d99000);
  animation: review-button-pulse 1.9s ease-in-out infinite;
}

#reviewLotteryStart {
  display: flex;
  width: min(320px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.review-lottery-primary.btn i {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #2b160d;
}

.review-lottery-secondary.btn {
  color: #fff8e9;
  background: linear-gradient(135deg, #4c9d71, #256c4a);
}

.review-lottery-google-button.btn {
  display: flex;
  gap: 12px;
  width: min(360px, 100%);
  min-height: 52px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 24px;
  border: 1px solid #dadce0;
  border-radius: 6px;
  color: #3c4043;
  background: #fff;
  box-shadow: 0 2px 6px rgba(60, 64, 67, 0.24);
}

.review-lottery-google-mark {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.review-lottery-google-button.btn span {
  line-height: 1;
}

.review-lottery-primary.btn:hover,
.review-lottery-primary.btn:focus,
.review-lottery-secondary.btn:hover,
.review-lottery-secondary.btn:focus {
  color: inherit;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.review-lottery-google-button.btn:hover,
.review-lottery-google-button.btn:focus {
  border-color: #c4c7c5;
  color: #202124;
  background: #f8fafd;
  box-shadow: 0 3px 8px rgba(60, 64, 67, 0.28);
  transform: translateY(-1px);
}

.review-lottery-primary.btn:disabled {
  animation: none;
  cursor: wait;
  filter: saturate(0.55);
  opacity: 0.72;
}

.review-lottery-help {
  display: block;
  min-height: 20px;
  margin-top: 11px;
  color: #ffd2c5;
  font-size: 12px;
  text-align: center;
}

.review-lottery-help.is-ok {
  color: #bfe8ca;
}

.review-lottery-prize-result {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(255, 225, 153, 0.35);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(229, 173, 27, 0.16), rgba(255, 243, 207, 0.07));
  text-align: center;
}

.review-lottery-prize-result span {
  color: rgba(255, 245, 220, 0.66);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.review-lottery-prize-result strong {
  color: var(--review-gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 800;
}

.review-lottery-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.review-lottery-code span {
  color: rgba(255, 245, 220, 0.68);
  font-size: 12px;
  font-weight: 700;
}

.review-lottery-validity {
  display: grid;
  gap: 5px;
  margin: 14px 0;
  color: rgba(255, 245, 220, 0.86);
  font-size: 13px;
}

.review-lottery-validity strong {
  color: var(--review-gold-light);
}

.review-lottery-reward-shell {
  display: grid;
  min-height: 100vh;
  padding: 32px 16px;
  place-items: center;
}

.review-lottery-reward-card {
  width: min(560px, 100%);
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(255, 232, 181, 0.42);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(44, 19, 12, 0.97), rgba(84, 42, 20, 0.95));
  color: var(--review-cream);
  text-align: center;
  box-shadow: 0 28px 75px rgba(20, 5, 1, 0.52);
}

.review-lottery-reward-card h1 {
  margin: 0 0 22px;
  color: var(--review-gold-light);
  font-family: Georgia, "Times New Roman", serif;
}

.review-lottery-reward-state {
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.review-lottery-reward-state.is-available { background: rgba(55, 168, 117, 0.28); }
.review-lottery-reward-state.is-pending { background: rgba(242, 184, 36, 0.24); }
.review-lottery-reward-state.is-expired,
.review-lottery-reward-state.is-redeemed { background: rgba(211, 49, 47, 0.24); }

.review-lottery-reward-code {
  color: var(--review-gold-light);
  font-size: 20px;
  letter-spacing: 0.08em;
}

.review-lottery-qr {
  display: grid;
  justify-items: center;
  gap: 9px;
  margin: 18px auto 4px;
  text-align: center;
}

.review-lottery-qr > strong {
  color: var(--review-gold-light);
  font-size: 14px;
}

.review-lottery-qr-frame {
  display: grid;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 5, 1, 0.28);
}

.review-lottery-qr img {
  display: block;
  width: min(204px, 54vw);
  height: auto;
  aspect-ratio: 1;
}

.review-lottery-qr small {
  max-width: 360px;
  color: rgba(255, 245, 220, 0.78);
  font-size: 12px;
  line-height: 1.45;
}

.review-lottery-reward-card footer {
  margin-top: 22px;
  color: rgba(255, 245, 220, 0.55);
  font-size: 12px;
}
.review-lottery-reward-card .review-lottery-code {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.review-lottery-reward-card .review-lottery-validity,
.review-lottery-reward-card .review-lottery-note,
.review-lottery-reward-card footer {
  text-align: center;
}

.review-lottery-reward-card > .review-lottery-secondary.btn {
  display: flex;
  float: none;
  width: 100%;
  margin: 17px auto 0;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
}

.review-lottery-rating,
.review-lottery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.review-lottery-rating button,
.review-lottery-tags button {
  min-height: 37px;
  border: 1px solid rgba(255, 235, 192, 0.25);
  border-radius: 19px;
  background: rgba(255, 250, 239, 0.09);
  color: var(--review-cream);
  font-weight: 800;
}

.review-lottery-rating button {
  width: 42px;
}

.review-lottery-tags button {
  padding: 0 12px;
}

.review-lottery-rating button:hover,
.review-lottery-tags button:hover,
.review-lottery-rating button.is-active,
.review-lottery-tags button.is-active {
  border-color: var(--review-gold);
  background: var(--review-gold);
  color: #2b160d;
}

.review-lottery-google {
  display: none;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 235, 195, 0.16);
}

.review-lottery-google.is-active {
  display: block;
}

.review-lottery-google .review-lottery-alert {
  display: none;
}

.review-lottery-google .review-lottery-alert.is-active {
  display: block;
}

.review-lottery-google p {
  margin: 0;
  color: rgba(255, 245, 220, 0.7);
  font-size: 12px;
  line-height: 1.5;
}

.review-lottery-alert,
.review-lottery-support-note {
  margin-top: 12px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 223, 157, 0.28);
  border-radius: 11px;
  color: #ffe4ad;
  background: rgba(109, 63, 14, 0.44);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.review-lottery-disabled {
  width: min(560px, 100%);
  margin: 32px auto 0;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.review-lottery-support-note {
  display: none;
  color: #ffd4ca;
  background: rgba(121, 37, 28, 0.38);
}

.review-lottery-support-note.is-active {
  display: block;
}

#reviewLotteryGoogleMissing {
  display: none;
}

#reviewLotteryGoogleMissing.is-active {
  display: block;
}

.review-lottery-footer {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 3;
  color: rgba(255, 245, 220, 0.42);
  font-size: 10px;
  text-align: center;
}

@keyframes review-light-chase {
  0%,
  100% {
    opacity: 0.38;
    filter: brightness(0.8);
    box-shadow: 0 0 4px rgba(255, 229, 134, 0.28);
  }
  18% {
    opacity: 1;
    filter: brightness(1.55);
    box-shadow: 0 0 18px 5px rgba(255, 229, 134, 0.74);
  }
}

@keyframes review-pointer-tick {
  0%,
  100% {
    transform: translateX(-50%) rotate(0deg);
  }
  50% {
    transform: translateX(-50%) rotate(7deg);
  }
}

@keyframes review-button-pulse {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(43, 14, 3, 0.23), 0 0 0 rgba(229, 173, 27, 0);
  }
  50% {
    box-shadow: 0 12px 29px rgba(43, 14, 3, 0.29), 0 0 22px rgba(229, 173, 27, 0.2);
  }
}

@keyframes review-step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes review-card-celebrate {
  0% {
    transform: scale(0.97);
  }
  48% {
    transform: scale(1.025);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 1050px) {
  :root {
    --review-wheel-size: clamp(390px, 68vw, 540px);
  }

  .review-lottery-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .review-lottery-card {
    width: min(540px, 100%);
    margin: 0 auto;
  }
}

.review-lottery-redeemed-at {
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(211, 49, 47, 0.18);
}

.review-lottery-staff-card {
  text-align: center;
}

.review-lottery-staff-gate {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255, 232, 181, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.review-lottery-staff-gate strong {
  color: var(--review-gold-light);
  font-size: 19px;
}

.review-lottery-staff-gate p,
.review-lottery-staff-gate small {
  margin: 0;
}

.review-lottery-staff-message {
  margin-bottom: 16px;
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 800;
}

.review-lottery-staff-message.is-success {
  background: rgba(55, 168, 117, 0.28);
}

.review-lottery-staff-message.is-error {
  background: rgba(211, 49, 47, 0.24);
}

.review-lottery-staff-form {
  margin: 0;
}

.review-lottery-staff-card .review-lottery-staff-confirm.btn {
  display: flex;
  float: none;
  width: 100%;
  margin: 18px auto 0;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
}
@media (max-width: 620px) {
  :root {
    --review-wheel-size: min(350px, calc(100vw - 60px));
  }

  .review-lottery-principal {
    padding: 16px 12px 66px;
    background-attachment: scroll;
  }

  .review-lottery-brandbar {
    min-height: 64px;
    padding-right: 52px;
    padding-left: 52px;
  }

  .review-lottery-brand-copy strong {
    max-width: 230px;
    overflow: hidden;
    font-size: 19px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .review-lottery-brand-copy small {
    font-size: 11px;
  }

  .review-lottery-language {
    right: 0;
  }

  .review-lottery-lang-switcher .lang-switcher-toggle {
    min-width: 52px;
    min-height: 34px;
    padding: 5px 9px;
  }

  .review-lottery-heading {
    width: 100%;
    max-width: 100%;
    margin-bottom: 16px;
  }

  .review-lottery-panel h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(28px, 8vw, 32px);
    line-height: 1.1;
    white-space: normal;
    overflow-wrap: normal;
  }

  .review-lottery-intro {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
  }

  .review-lottery-shell,
  .review-lottery-panel,
  .review-lottery-grid,
  .review-lottery-game {
    min-width: 0;
    max-width: 100%;
  }

  .review-lottery-wheel-stage {
    width: calc(var(--review-wheel-size) + 32px);
    max-width: 100%;
    height: calc(var(--review-wheel-size) + 48px);
    margin-inline: auto;
  }

  .review-lottery-light-ring {
    top: 11px;
    width: calc(var(--review-wheel-size) + 44px);
    height: calc(var(--review-wheel-size) + 44px);
    border-width: 11px;
  }

  .review-lottery-light-ring i {
    width: 7px;
    height: 7px;
    margin: 0;
  }

  .review-lottery-wheel-labels b {
    top: 12.5%;
    width: 84px;
    font-size: 13px;
  }

  .review-lottery-wheel-center {
    width: 72px;
    height: 72px;
  }

  .review-lottery-card {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .review-lottery-card.is-modal-open {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .review-lottery-mood-dialog {
    padding: 28px 14px 24px;
  }

  .review-lottery-moods {
    gap: 7px;
  }

  .review-lottery-moods button {
    min-height: 118px;
    padding: 13px 5px;
  }

  .review-lottery-moods button span {
    font-size: 48px;
  }

  .review-lottery-moods button strong {
    font-size: 13px;
  }

  .review-lottery-form {
    grid-template-columns: 1fr;
  }

  .review-lottery-orb-one {
    top: -180px;
    right: -250px;
    width: 520px;
    height: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-lottery-light-ring i,
  .review-lottery-primary.btn,
  .review-lottery-verification-spinner,
  .review-lottery-card,
  .review-lottery-step,
  .review-lottery-pointer {
    animation: none !important;
  }

  .review-lottery-wheel {
    transition-duration: 0.01ms;
  }
}

.review-lottery-test-pane .review-lottery-step-number {
  width: auto;
  min-width: 58px;
  padding: 0 10px;
  border-radius: 22px;
  letter-spacing: 0.08em;
}

.review-lottery-test-notice {
  margin-top: 16px;
  margin-bottom: 0;
}

#reviewLotteryTestReplay {
  display: flex;
  width: min(320px, 100%);
  margin-right: auto;
  margin-left: auto;
}
