/* ============================================
   LUCKY SPIN MODAL STYLES
   Port dari spin-wheel.css (World-Cup-Ladders)
   Class .btn-claim/.confetti di-rename (.lsw-*) 
   untuk hindari konflik dengan tema QUIZ
   ============================================ */

/* CSS Custom Properties for easy theming */
:root {
  --sw-primary: #e94560;
  --sw-primary-dark: #c73e54;
  --sw-success: #4ade80;
  --sw-success-dark: #22c55e;
  --sw-bg-dark: #1a1a2e;
  --sw-bg-mid: #16213e;
  --sw-bg-light: #0f3460;
  --sw-text: #ffffff;
  --sw-text-muted: rgba(255, 255, 255, 0.6);
  --sw-overlay: rgba(0, 0, 0, 0.6);
  --sw-border: rgba(255, 255, 255, 0.1);
  --sw-gold-top: #FAE266;
  --sw-gold-mid: #DEAA3A;
  --sw-gold-bottom: #CD8C26;
  --sw-gold-border: #584600;
  --sw-cut-even-bg: #13911d;
  --sw-cut-odd-bg: #93c82f;
  --sw-cut-divider: #f4dd8a;
  --sw-ring-blue: #234aa6;
  --sw-ring-gold: #f8df8e;
  --sw-cut-image-even: url('../img/lucky-spin/spin-wheel-cuts-even.webp');
  --sw-cut-image-odd: url('../img/lucky-spin/spin-wheel-cuts-odd.webp');
  --sw-label-safe-radius: 46%;

/* Responsive wheel sizes using clamp */
   --sw-wheel-size: clamp(280px, 70vmin, 480px);
   --sw-center-size: clamp(50px, 12vmin, 90px);
   --sw-pointer-size: clamp(38px, 8vmin, 60px);
   --sw-segment-img: clamp(32px, 7vmin, 54px);
  --sw-segment-text: clamp(8px, 2.2vmin, 11px);

  /* Animation timings */
  --sw-spin-duration: 5s;
  --sw-transition-fast: 0.3s;
  --sw-transition-normal: 0.4s;
}

/* ============================================
   MODAL OVERLAY
   ============================================ */
.modal-spin-wheel {
  position: fixed;
  inset: 0;
  background: var(--sw-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--sw-transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 16px;
  box-sizing: border-box;
  overflow-y: auto;
}

.modal-spin-wheel.show {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   MODAL CONTENT
   ============================================ */
.spin-wheel-content {
  background-image: url('../img/lucky-spin/bg-2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: clamp(14px, 3vw, 22px);
  padding: clamp(15px, 3.2vh, 22px) clamp(14px, 3vw, 22px);
  width: 100%;
  max-width: min(750px, calc(100vw - 32px));
  text-align: center;
  box-shadow: 0px 6px 7px 0px #00000040;
  border: 2px solid #FFFFFF;
  transform: scale(0.8) translateY(20px);
  transition: transform var(--sw-transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
  margin: auto;
  position: relative;
}

.modal-spin-wheel.show .spin-wheel-content {
  transform: scale(1) translateY(0);
}

/* Close button */
.lsw-close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #FFFFFF;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--sw-transition-fast) ease, transform var(--sw-transition-fast) ease;
}

.lsw-close:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: scale(1.06);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.spin-wheel-title {
  font-family: 'Righteous', 'Poppins', sans-serif;
  font-size: clamp(36px, 3vw, 54px);
  font-weight: 400;
  background: linear-gradient(180deg, #F9E37A 0%, #F3CC58 38%, #B07212 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 4px 0;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.67));
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.spin-wheel-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(12px, 3vw, 14px);
  color: #FCFEFB;
  margin: 0 0 clamp(16px, 4vw, 24px) 0;
  line-height: 1.4;
  font-weight: 600;
}

/* ============================================
   WHEEL CONTAINER
   ============================================ */
.wheel-container {
  position: relative;
  width: var(--sw-wheel-size);
  height: var(--sw-wheel-size);
  margin: 0 auto clamp(16px, 4vw, 24px);
  /* GPU acceleration */
  transform: translateZ(0);
  will-change: transform;
}

/* ============================================
   WHEEL POINTER
   ============================================ */
.wheel-pointer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -110%) rotate(180deg);
  z-index: 4;
  width: 0;
  height: 0;
  border-left: calc(var(--sw-pointer-size) * 0.5) solid transparent;
  border-right: calc(var(--sw-pointer-size) * 0.5) solid transparent;
  border-top: var(--sw-pointer-size) solid #FBDC81;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.wheel-pointer::after {
  content: '';
  position: absolute;
  top: calc(var(--sw-pointer-size) * -1.125);
  left: 50%;
  transform: translateX(-50%);
  width: calc(var(--sw-pointer-size) * 0.5);
  height: calc(var(--sw-pointer-size) * 0.5);
  background: var(--sw-gold-mid);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(222, 170, 58, 0.6);
}

/* ============================================
   THE WHEEL
   ============================================ */
.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 clamp(5px, 1.5vmin, 8px) var(--sw-ring-gold),
    0 0 0 clamp(10px, 2.6vmin, 15px) var(--sw-ring-blue),
    0 0 0 clamp(14px, 3.5vmin, 20px) var(--sw-ring-gold),
    0 0 35px rgba(0, 0, 0, 0.35),
    inset 0 0 0 clamp(3px, 1vmin, 5px) rgba(248, 223, 142, 0.8),
    inset 0 0 24px rgba(0, 0, 0, 0.35);
  transition: transform var(--sw-spin-duration) cubic-bezier(0.17, 0.67, 0.12, 0.99);
  /* GPU acceleration for smooth spin */
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* Background will be set via JS using conic-gradient */
}

/* Wheel inner container for segments */
.wheel-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 50% 60%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0) 50%);
}

/* Cut overlays use static image assets */
.wheel-cuts {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
}

.wheel-cut {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  aspect-ratio: 236 / 310;
  transform-origin: 50% 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.wheel-cut.spin-wheel-cuts-even {
  background-image: var(--sw-cut-image-even);
}

.wheel-cut.spin-wheel-cuts-odd {
  background-image: var(--sw-cut-image-odd);
}

/* ============================================
   WHEEL SEGMENTS
   ============================================ */

/* Segment labels container */
.wheel-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  border-radius: 50%;
  overflow: hidden;
  clip-path: circle(var(--sw-label-safe-radius) at 50% 50%);
}

/* Individual segment label */
.wheel-segment {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
}

.wheel-segment-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2px, 0.8vmin, 4px);
  text-align: center;
  /* Prevent text selection during spin */
  user-select: none;
  -webkit-user-select: none;
  /* Position content towards edge of wheel */
  padding-left: clamp(2px, 0.8vmin, 6px);
  min-width: 0;
  max-width: clamp(50px, 12vmin, 66px);
}

.wheel-segment-image {
  width: var(--sw-segment-img);
  height: var(--sw-segment-img);
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  /* Prevent drag */
  pointer-events: none;
  -webkit-user-drag: none;
}

.wheel.spin-wheel-theme-football .wheel-segment-image {
  display: none;
}

.wheel-segment-name {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(9px, 3.2vmin, 15px);
    font-weight: 900;
    color: var(--sw-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.65), 1px 1px 0 rgba(0, 0, 0, 0.45);
    text-align: center;
    line-height: 1.05;
    max-width: clamp(50px, 12vmin, 66px);
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

/* ============================================
   CENTER CIRCLE
   ============================================ */
.wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--sw-center-size);
  height: var(--sw-center-size);
  border-radius: 50%;
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  background-image: url('../img/lucky-spin/golden-ball.webp');
  background-size: 80%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #FBDC81;
  border-color: #674D02;
}

.wheel-center span {
  font-size: clamp(16px, 5vmin, 24px);
  line-height: 1;
}

/* ============================================
   SPIN BUTTON
   ============================================ */
.btn-spin {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(220px, 100%);
  height: clamp(50px, 9.3vh, 69px);
  padding: 0 clamp(16px, 4vw, 24px);
  background: linear-gradient(180deg, var(--sw-gold-top) 4.35%, var(--sw-gold-mid) 52.17%, var(--sw-gold-bottom) 100%);
  color: #FCFEFB;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(18px, 3.6vw, 20px);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.2px;
  border: 2px solid var(--sw-gold-border);
  border-radius: 15px;
  cursor: pointer;
  transition: transform var(--sw-transition-fast) ease, filter var(--sw-transition-fast) ease;
  box-shadow: 0px 2px 1px 0px #FFF48D inset, 0px -2px 1px 0px #E6B34A inset, 2px 0px 1px 0px #F7D268 inset, -1px 0px 1px 0px #F7D268 inset;
  /* Prevent double-tap zoom on mobile */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  margin: auto;
  gap: 0.25rem;
}

.btn-spin:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.btn-spin:active {
  transform: translateY(0);
}

.btn-spin:disabled {
  background: linear-gradient(180deg, #BFC4CC 0%, #8A9099 100%);
  border-color: #6F757E;
  cursor: not-allowed;
  box-shadow: none;
  color: #EEF1F5;
  opacity: 1;
}

.btn-spin:disabled:hover {
  transform: none;
}

/* Focus state for accessibility */
.btn-spin:focus-visible {
  outline: 3px solid rgba(250, 226, 102, 0.45);
  outline-offset: 3px;
}

/* ============================================
   PRIZE RESULT OVERLAY
   ============================================ */
.prize-result {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all var(--sw-transition-normal) ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 16px;
  box-sizing: border-box;
}

.prize-result.show {
  opacity: 1;
  visibility: visible;
}

.prize-result-content {
  width: min(650px, calc(100vw - 32px));
  min-height: clamp(210px, 35vw, 290px);
  background-image: url('../img/lucky-spin/bg-2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: clamp(14px, 3vw, 22px);
  border: 2px solid #FFFFFF;
  box-shadow: 0px 6px 7px 0px #00000040;
  padding: clamp(20px, 4vw, 30px);
  display: grid;
  grid-template-columns: minmax(96px, clamp(120px, 20vw, 180px)) 1fr;
  column-gap: clamp(14px, 3.5vw, 28px);
  align-items: center;
  transform: scale(0.5);
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.prize-result.show .prize-result-content {
  transform: scale(1);
}

.prize-result-title {
  grid-column: 2;
  margin: 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 4vw, 34px);
  line-height: 1.2;
  color: #FCFEFB;
}

.prize-result-image {
  grid-column: 1;
  grid-row: 1 / span 3;
  justify-self: center;
  width: clamp(96px, 22vw, 170px);
  height: auto;
  object-fit: contain;
  margin: 0;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.prize-result-name {
  grid-column: 2;
  margin: clamp(2px, 1vw, 8px) 0 clamp(10px, 2.5vw, 18px) 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 700;
  color: #FCFEFB;
  line-height: 1.1;
}

.lsw-btn-claim {
    grid-column: 2;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: min(220px, 100%);
    height: 69px;
    padding: 0 18px;
    background: linear-gradient(180deg, var(--sw-gold-top) 4.35%, var(--sw-gold-mid) 52.17%, var(--sw-gold-bottom) 100%);
    color: #FCFEFB;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(18px, 3.6vw, 26px);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.2px;
    border: 2px solid var(--sw-gold-border);
    border-radius: 15px;
    cursor: pointer;
    transition: transform var(--sw-transition-fast) ease, filter var(--sw-transition-fast) ease;
    box-shadow: 0px 2px 1px 0px #FFF48D inset, 0px -2px 1px 0px #E6B34A inset, 2px 0px 1px 0px #F7D268 inset, -1px 0px 1px 0px #F7D268 inset;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.lsw-btn-claim:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.lsw-btn-claim:disabled {
  cursor: not-allowed;
  filter: grayscale(0.5);
  opacity: 0.75;
}

.lsw-btn-claim:disabled:hover {
  transform: none;
}

/* Loading spinner */
.lsw-btn-claim.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.lsw-btn-claim.loading::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: lsw-spin 0.8s linear infinite;
}

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

.lsw-btn-claim-icon {
  width: clamp(20px, 4vw, 26px);
  height: clamp(20px, 4vw, 26px);
  object-fit: contain;
  display: inline-block;
}

.lsw-btn-claim-text {
  line-height: 1;
}

.lsw-btn-claim:focus-visible {
  outline: 3px solid rgba(49, 132, 25, 0.45);
  outline-offset: 3px;
}

.lsw-claim-error {
  grid-column: 2;
  justify-self: center;
  margin: 6px 0 0 0;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(12px, 2.5vw, 14px);
  font-weight: 600;
  color: #FFB4B4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  min-height: 18px;
}

@media (max-width: 600px) {
  .prize-result-content {
    width: min(430px, calc(100vw - 24px));
    min-height: unset;
    grid-template-columns: 1fr;
    row-gap: 10px;
    text-align: center;
    padding: clamp(18px, 5vw, 24px);
  }

  .prize-result-image {
    grid-column: 1;
    grid-row: auto;
    width: clamp(100px, 30vw, 150px);
  }

  .prize-result-title,
  .prize-result-name,
  .lsw-btn-claim,
  .lsw-claim-error {
    grid-column: 1;
  }

  .spin-wheel-title {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.1;
  }

  .spin-wheel-subtitle {
    font-size: clamp(11px, 3.2vw, 13px);
  }

  .wheel-segment-name {
    font-size: clamp(8px, 2.1vmin, 10px);
    letter-spacing: 0.35px;
  }

  .btn-spin {
    height: 58px;
    font-size: clamp(16px, 4.5vw, 22px);
  }

  .prize-result-title {
    font-size: clamp(16px, 4.8vw, 24px);
  }

  .prize-result-name {
    font-size: clamp(22px, 7vw, 34px);
  }

  .lsw-btn-claim {
    height: 58px;
    font-size: clamp(16px, 4.6vw, 22px);
  }
}

/* ============================================
   CONFETTI ANIMATION
   ============================================ */
.lsw-confetti {
  position: fixed;
  top: -10px;
  animation: confettiFall 3s linear forwards;
  z-index: 10002;
  pointer-events: none;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg) scale(0.5);
    opacity: 0;
  }
}

/* ============================================
    RESPONSIVE BREAKPOINTS
    ============================================ */

/* Large tablets and small desktops */
@media (max-width: 768px) {
  :root {
    --sw-wheel-size: clamp(300px, 65vmin, 420px);
  }
}

/* Short desktop viewports (height 600-500px) with width constraint to target desktop only */
@media (max-height: 700px) and (min-height: 501px) and (min-width: 1024px) {
  :root {
    --sw-wheel-size: clamp(260px, 50vmin, 420px);
    --sw-center-size: clamp(48px, 11vmin, 75px);
    --sw-pointer-size: clamp(36px, 7vmin, 50px);
    --sw-segment-img: clamp(30px, 6.5vmin, 46px);
  }
}

/* Tablets */
@media (max-width: 600px) {
  :root {
    --sw-wheel-size: clamp(270px, 60vmin, 390px);
    --sw-center-size: clamp(52px, 10vmin, 75px);
  }

  .spin-wheel-content {
    padding: clamp(12px, 3vw, 20px);
  }
}

/* Large phones */
@media (max-width: 480px) {
  :root {
    --sw-wheel-size: clamp(240px, 55vmin, 360px);
    --sw-segment-img: clamp(30px, 6vmin, 42px);
    --sw-segment-text: clamp(7px, 2vmin, 9px);
  }

  .spin-wheel-title {
    font-size: clamp(24px, 8.5vw, 30px);
  }

    .wheel-segment-name {
        font-size: clamp(7px, 3.5vmin, 11px);
    }

  .btn-spin,
  .lsw-btn-claim {
    height: 52px;
    font-size: clamp(15px, 4.8vw, 19px);
  }

  .prize-result-title {
    font-size: clamp(15px, 4.9vw, 20px);
  }

  .prize-result-name {
    font-size: clamp(20px, 7vw, 28px);
  }
}

/* Small phones */
@media (max-width: 380px) {
  :root {
    --sw-wheel-size: clamp(225px, 50vmin, 300px);
    --sw-center-size: clamp(45px, 9vmin, 60px);
    --sw-pointer-size: clamp(36px, 7vmin, 45px);
  }

  .spin-wheel-content {
    border-radius: 12px;
  }

  .spin-wheel-title {
    font-size: clamp(22px, 8.8vw, 26px);
  }

  .spin-wheel-subtitle {
    font-size: 11px;
  }

  .btn-spin,
  .lsw-btn-claim {
    font-size: 15px;
  }
}

/* Very small phones */
@media (max-width: 320px) {
  :root {
    --sw-wheel-size: 225px;
  }

  .wheel-segment-name {
    display: none; /* Hide text on very small screens, show only images */
  }
}

/* Landscape orientation on phones */
@media (max-height: 500px) and (orientation: landscape) {
  :root {
    --sw-wheel-size: clamp(210px, 45vh, 300px);
  }

  .modal-spin-wheel {
    padding: 8px;
  }

  .spin-wheel-content {
    padding: 12px;
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }

  .spin-wheel-title,
  .spin-wheel-subtitle {
    width: 100%;
    margin-bottom: 8px;
  }

  .wheel-container {
    margin-bottom: 0;
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .wheel-segment-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .wheel {
    transition: transform 2s ease-out;
  }

  .prize-result-image {
    animation: none;
  }

  .lsw-confetti {
    animation: none;
    display: none;
  }

  .modal-spin-wheel,
  .spin-wheel-content,
  .prize-result,
  .prize-result-content {
    transition-duration: 0.1s;
  }
}

/* ============================================
   LUCKY SPIN ENTRY BANNER (halaman home)
   ============================================ */

.lucky-spin-banner .special-banner-wrapper {
    padding: 0;
}

.special-banner.lucky-spin {
    gap: 1rem;
    cursor: pointer;
    padding: 0;
}

    .special-banner.lucky-spin .wording-wrapper {
        width: 100%;
        gap: 0.5rem;
        display: flex;
        flex-direction: column;
    }

.special-banner.lucky-spin .special-banner-img {
  width: 40%;
  max-height: 220px;
  object-fit: contain;
}

.special-banner.lucky-spin.locked {
    cursor: not-allowed;
    position: relative;
    filter: grayscale(1);
    opacity: 0.75;
}

.locked-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    background: #DDE1E6;
    border: 2px solid #C1C7CD;
    font-weight: 600;
    font-size: 1rem;
    line-height: 150%;
    color: #697077;
    cursor: not-allowed;
}

.locked-cta-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.btn-spin span {
    font-size: 0.75rem;
    color: #FCFEFB;
}

.btn-spin span,
.btn-spin p {
    line-height: 100%;
}

/* Fallback: hide token label when opened from quiz (via source:'quiz') */
.lsw--from-quiz .btn-spin .lsw-token-label,
.modal-spin-wheel.lsw--from-quiz .btn-spin .lsw-token-label,
#lucky-spin-container.lsw--from-quiz .btn-spin .lsw-token-label {
    display: none !important;
}