/* =========================================================
   EMPERIAL BLOXX — RODA IMPERIAL
========================================================= */

.imperial-rewards-page {
  position: relative;
  min-height: 100vh;
  padding: 40px 20px 80px;
  color: #fff;
  overflow: hidden;
}

.imperial-rewards-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 75% 15%, rgba(250, 204, 21, 0.1), transparent 30%),
    radial-gradient(circle at 20% 70%, rgba(250, 204, 21, 0.04), transparent 25%);
}

.imperial-rewards-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}

.rewards-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 34px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.48);
}

.rewards-breadcrumb a {
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.2s ease;
}

.rewards-breadcrumb a:hover {
  color: #fde047;
}

/* =========================================================
   CABEÇALHO
========================================================= */

.rewards-header {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.rewards-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 17px;
  border: 1px solid rgba(250, 204, 21, 0.38);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(250, 204, 21, 0.16), rgba(250, 204, 21, 0.03)),
    rgba(10, 10, 10, 0.78);
  box-shadow:
    0 0 28px rgba(250, 204, 21, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rewards-header-icon span {
  font-size: 35px;
  filter: drop-shadow(0 0 9px rgba(250, 204, 21, 0.4));
}

.rewards-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: #facc15;
}

.rewards-header h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  background: linear-gradient(
    90deg,
    #fff4b5 0%,
    #facc15 38%,
    #f59e0b 60%,
    #fff4b5 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rewards-title-shine 5s linear infinite;
  filter: drop-shadow(0 0 18px rgba(250, 204, 21, 0.12));
}

.rewards-description {
  max-width: 650px;
  margin: 16px auto 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}

.rewards-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 17px;
  padding: 9px 13px;
  border: 1px solid rgba(250, 204, 21, 0.17);
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.055);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.rewards-info-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.75);
}

/* =========================================================
   CARD DO CÓDIGO
========================================================= */

.rewards-code-card {
  width: 100%;
  max-width:720px;
  margin: 0 auto;
  padding: 26px;
  border: 1px solid rgba(250, 204, 21, 0.15);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(7, 7, 7, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 24px 65px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rewards-card-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.rewards-card-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  border: 1px solid rgba(250, 204, 21, 0.27);
  border-radius: 15px;
  background: rgba(250, 204, 21, 0.08);
  color: #fde047;
}

.rewards-card-heading h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
}

.rewards-card-heading p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
}

.rewards-code-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rewards-input-wrapper {
  position: relative;
}

.rewards-input-wrapper input {
  width: 100%;
  height: 58px;
  padding: 0 48px 0 49px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  outline: none;
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.rewards-input-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.26);
}

.rewards-input-wrapper input:focus {
  border-color: rgba(250, 204, 21, 0.55);
  background: rgba(0, 0, 0, 0.5);
  box-shadow:
    0 0 0 4px rgba(250, 204, 21, 0.07),
    0 0 23px rgba(250, 204, 21, 0.07);
}

.rewards-input-icon {
  position: absolute;
  top: 50%;
  left: 17px;
  transform: translateY(-50%);
  color: rgba(250, 204, 21, 0.68);
  pointer-events: none;
}

.rewards-clear-input {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.58);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.rewards-clear-input:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.rewards-form-message {
  min-height: 19px;
  margin: -2px 2px 0;
  font-size: 13px;
}

.rewards-form-message.is-error {
  color: #f87171;
}

.rewards-form-message.is-success {
  color: #4ade80;
}

/* =========================================================
   BOTÕES
========================================================= */

.rewards-primary-button,
.rewards-spin-button,
.rewards-discord-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.rewards-primary-button {
  width: 100%;
  height: 56px;
  border-radius: 15px;
  background: linear-gradient(180deg, #ffe15e 0%, #facc15 48%, #e6aa05 100%);
  color: #141008;
  box-shadow:
    0 10px 25px rgba(250, 204, 21, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.rewards-primary-button::before,
.rewards-spin-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.42),
    transparent
  );
  transition: left 0.65s ease;
}

.rewards-primary-button:hover::before,
.rewards-spin-button:hover::before {
  left: 130%;
}

.rewards-primary-button:hover,
.rewards-spin-button:hover,
.rewards-discord-button:hover {
  transform: translateY(-2px);
}

.rewards-primary-button:hover {
  box-shadow:
    0 14px 30px rgba(250, 204, 21, 0.24),
    0 0 20px rgba(250, 204, 21, 0.11);
}

.rewards-primary-button:disabled,
.rewards-spin-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.rewards-button-content,
.rewards-button-loader {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.rewards-loader {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(20, 16, 8, 0.28);
  border-top-color: #141008;
  border-radius: 50%;
  animation: rewards-loader-spin 0.7s linear infinite;
}

.rewards-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.37);
  font-size: 12px;
}

.rewards-security-note svg {
  color: rgba(250, 204, 21, 0.55);
}

/* =========================================================
   PASSOS
========================================================= */

.rewards-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 27px auto 0;
}

.rewards-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.025);
}

.rewards-step > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 10px;
  background: rgba(250, 204, 21, 0.08);
  color: #fde047;
  font-size: 13px;
  font-weight: 900;
}

.rewards-step strong {
  display: block;
  color: #f7f7f7;
  font-size: 14px;
}

.rewards-step p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.43);
  font-size: 12px;
  line-height: 1.55;
}

.rewards-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 900px;
  margin: 14px auto 0;
  padding: 15px 17px;
  border: 1px solid rgba(250, 204, 21, 0.1);
  border-radius: 14px;
  background: rgba(250, 204, 21, 0.035);
}

.rewards-warning svg {
  flex: 0 0 auto;
  margin-top: 1px;
  color: rgba(250, 204, 21, 0.66);
}

.rewards-warning p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 1.55;
}

/* =========================================================
   ROLETA
========================================================= */

.rewards-wheel-section {
  margin: 34px auto 0;
  text-align: center;
}

.rewards-wheel-section[hidden],
.rewards-result-section[hidden] {
  display: none !important;
}

.rewards-wheel-heading {
  margin-bottom: 24px;
}

.rewards-wheel-heading > p {
  margin: 0 0 7px;
  color: #4ade80;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.19em;
}

.rewards-wheel-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.rewards-wheel-heading span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.rewards-wheel-frame {
  position: relative;
  padding: 21px 0;
}

.rewards-wheel-viewport {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, 0.14);
  border-radius: 21px;
  background:
    radial-gradient(circle at center, rgba(250, 204, 21, 0.045), transparent 48%),
    rgba(3, 3, 5, 0.85);
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.42),
    inset 0 0 40px rgba(0, 0, 0, 0.34);
}

.rewards-wheel-track {
  display: flex;
  width: max-content;
  padding: 25px 0;
  transform: translateX(0);
  will-change: transform;
}

.rewards-prize-card {
  flex: 0 0 170px;
  min-height: 188px;
  margin: 0 7px;
  padding: 15px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 17px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(8, 8, 10, 0.92);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.rewards-prize-card:hover {
  transform: translateY(-3px);
  border-color: rgba(250, 204, 21, 0.2);
}

.rewards-prize-image {
  display: grid;
  place-items: center;
  width: 106px;
  height: 106px;
  margin: 0 auto 12px;
  border-radius: 20px;
  background:
    radial-gradient(circle, rgba(250, 204, 21, 0.13), transparent 65%),
    rgba(255, 255, 255, 0.025);
}

.rewards-prize-image span {
  font-size: 52px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.4));
}

.rewards-prize-card strong {
  display: block;
  color: #fff;
  font-size: 13px;
}

.rewards-prize-card small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.39);
  font-size: 11px;
}

.rewards-wheel-shadow {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  width: 18%;
  pointer-events: none;
}

.rewards-wheel-shadow-left {
  left: 0;
  background: linear-gradient(90deg, #030305 10%, transparent);
}

.rewards-wheel-shadow-right {
  right: 0;
  background: linear-gradient(-90deg, #030305 10%, transparent);
}

.rewards-wheel-pointer {
  position: absolute;
  z-index: 10;
  left: 50%;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 9px rgba(250, 204, 21, 0.55));
}

.rewards-wheel-pointer-top {
  top: 7px;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 16px solid #facc15;
}

.rewards-wheel-pointer-bottom {
  bottom: 7px;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 16px solid #facc15;
}

.rewards-spin-button {
  min-width: 260px;
  min-height: 53px;
  margin-top: 21px;
  gap: 9px;
  padding: 0 23px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffe15e 0%, #facc15 48%, #e4a805 100%);
  color: #161108;
  box-shadow:
    0 12px 27px rgba(250, 204, 21, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

/* =========================================================
   RESULTADO
========================================================= */

.rewards-result-section {
  position: relative;
  max-width: 650px;
  margin: 35px auto 0;
  padding: 38px 25px;
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, 0.25);
  border-radius: 25px;
  background:
    radial-gradient(circle at center top, rgba(250, 204, 21, 0.12), transparent 47%),
    rgba(7, 7, 8, 0.92);
  text-align: center;
  box-shadow:
    0 25px 65px rgba(0, 0, 0, 0.55),
    0 0 38px rgba(250, 204, 21, 0.055);
}

.rewards-result-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  width: 320px;
  height: 250px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(250, 204, 21, 0.15);
  filter: blur(65px);
  pointer-events: none;
}

.rewards-result-crown {
  position: relative;
  font-size: 48px;
  animation: rewards-crown-float 2.3s ease-in-out infinite;
}

.rewards-result-eyebrow {
  position: relative;
  margin: 12px 0 6px;
  color: #facc15;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.rewards-result-section h2 {
  position: relative;
  margin: 0;
  color: #fff;
  font-size: 38px;
  font-weight: 900;
}

.rewards-result-text {
  position: relative;
  margin: 7px 0 18px;
  color: rgba(255, 255, 255, 0.57);
}

.rewards-winner-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 430px;
  margin: 0 auto;
  padding: 15px;
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: 18px;
  background: rgba(250, 204, 21, 0.055);
  text-align: left;
}

.rewards-winner-image {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 16px;
  background:
    radial-gradient(circle, rgba(250, 204, 21, 0.18), transparent 68%),
    rgba(0, 0, 0, 0.28);
  font-size: 42px;
}

.rewards-winner-information strong {
  display: block;
  color: #fde047;
  font-size: 18px;
}

.rewards-winner-information span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

.rewards-result-instructions {
  position: relative;
  max-width: 470px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  line-height: 1.6;
}

.rewards-discord-button {
  position: relative;
  min-height: 48px;
  margin-top: 17px;
  padding: 0 22px;
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 13px;
  background: rgba(250, 204, 21, 0.08);
  color: #fde047;
}

.rewards-discord-button:hover {
  border-color: rgba(250, 204, 21, 0.58);
  background: rgba(250, 204, 21, 0.13);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.08);
}

/* =========================================================
   ANIMAÇÕES
========================================================= */

@keyframes rewards-title-shine {
  from {
    background-position: -200% center;
  }

  to {
    background-position: 200% center;
  }
}

@keyframes rewards-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rewards-crown-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 820px) {
  .rewards-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .imperial-rewards-page {
    padding: 25px 14px 60px;
  }

  .rewards-breadcrumb {
    margin-bottom: 26px;
  }

  .rewards-header {
    margin-bottom: 25px;
  }

  .rewards-header-icon {
    width: 61px;
    height: 61px;
    border-radius: 18px;
  }

  .rewards-header-icon span {
    font-size: 30px;
  }

  .rewards-description {
    font-size: 14px;
  }

  .rewards-code-card {
    padding: 20px 15px;
    border-radius: 20px;
  }

  .rewards-card-heading {
    align-items: flex-start;
  }

  .rewards-card-icon {
    width: 43px;
    height: 43px;
    border-radius: 13px;
  }

  .rewards-card-heading h2 {
    font-size: 18px;
  }

  .rewards-input-wrapper input {
    height: 54px;
    font-size: 14px;
  }

  .rewards-security-note {
    align-items: flex-start;
    text-align: left;
  }

  .rewards-prize-card {
    flex-basis: 145px;
    min-height: 168px;
  }

  .rewards-prize-image {
    width: 90px;
    height: 90px;
  }

  .rewards-prize-image span {
    font-size: 43px;
  }

  .rewards-spin-button {
    width: 100%;
    min-width: 0;
  }

  .rewards-result-section {
    padding: 31px 17px;
  }

  .rewards-result-section h2 {
    font-size: 32px;
  }

  .rewards-winner-card {
    align-items: center;
  }

  .rewards-winner-image {
    width: 68px;
    height: 68px;
    font-size: 36px;
  }
}

/* ===========================
   CORREÇÃO DO BOTÃO
=========================== */

.rewards-button-loader[hidden],
.rewards-button-content[hidden] {
  display: none !important;
}

/* =========================================================
   ROLETA PREMIUM — AJUSTES
========================================================= */

.rewards-wheel-viewport {
  border-color: rgba(250, 204, 21, 0.22);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.58),
    inset 0 0 55px rgba(0, 0, 0, 0.52),
    0 0 30px rgba(250, 204, 21, 0.035);
}

.rewards-wheel-track {
  align-items: stretch;
  padding: 23px 0;
}

.rewards-prize-card {
  position: relative;
  flex: 0 0 142px;
  width: 142px;
  min-height: 174px;
  margin: 0 6px;
  padding: 13px 10px;
  overflow: hidden;
  border-radius: 16px;
  user-select: none;
  -webkit-user-select: none;
}

.rewards-prize-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      135deg,
      rgba(250, 204, 21, 0.12),
      transparent 55%
    );
  transition: opacity 0.25s ease;
}

.rewards-prize-card:hover::before {
  opacity: 1;
}

.rewards-prize-image {
  position: relative;
  width: 88px;
  height: 88px;
  margin-bottom: 11px;
  border-radius: 18px;
}

.rewards-prize-image span {
  font-size: 44px;
}

.rewards-prize-image img {
  display: block;
  width: 82%;
  height: 82%;
  object-fit: contain;
  pointer-events: none;
  filter:
    drop-shadow(0 8px 10px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 12px rgba(250, 204, 21, 0.08));
}

.rewards-prize-card strong {
  position: relative;
  z-index: 2;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rewards-prize-card small {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Sombras laterais mais fortes */

.rewards-wheel-shadow {
  z-index: 6;
  width: 24%;
}

.rewards-wheel-shadow-left {
  background:
    linear-gradient(
      90deg,
      #020203 0%,
      rgba(2, 2, 3, 0.98) 20%,
      rgba(2, 2, 3, 0.7) 55%,
      transparent 100%
    );
}

.rewards-wheel-shadow-right {
  background:
    linear-gradient(
      -90deg,
      #020203 0%,
      rgba(2, 2, 3, 0.98) 20%,
      rgba(2, 2, 3, 0.7) 55%,
      transparent 100%
    );
}

/* Linha central */

.rewards-wheel-frame::before {
  content: "";
  position: absolute;
  z-index: 8;
  top: 21px;
  bottom: 21px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(250, 204, 21, 0.55) 25%,
      rgba(250, 204, 21, 0.8) 50%,
      rgba(250, 204, 21, 0.55) 75%,
      transparent
    );
  box-shadow: 0 0 13px rgba(250, 204, 21, 0.5);
  pointer-events: none;
}

/* Ponteiros com brilho */

.rewards-wheel-pointer {
  z-index: 12;
}

.rewards-wheel-pointer-top {
  top: 4px;
  border-left-width: 13px;
  border-right-width: 13px;
  border-top-width: 19px;
}

.rewards-wheel-pointer-bottom {
  bottom: 4px;
  border-left-width: 13px;
  border-right-width: 13px;
  border-bottom-width: 19px;
}

/* Prêmio vencedor */

.rewards-prize-card.is-winner {
  z-index: 9;
  border-color: rgba(250, 204, 21, 0.95);
  background:
    radial-gradient(
      circle at center,
      rgba(250, 204, 21, 0.22),
      transparent 72%
    ),
    linear-gradient(
      180deg,
      rgba(250, 204, 21, 0.1),
      rgba(8, 8, 7, 0.98)
    );
  box-shadow:
    0 0 0 3px rgba(250, 204, 21, 0.08),
    0 0 22px rgba(250, 204, 21, 0.35),
    0 0 55px rgba(250, 204, 21, 0.19);
  transform: scale(1.08);
}

.rewards-prize-card.is-winner::after {
  content: "";
  position: absolute;
  inset: -45%;
  background:
    linear-gradient(
      115deg,
      transparent 35%,
      rgba(255, 255, 255, 0.45) 50%,
      transparent 65%
    );
  animation: rewards-winner-shine 1.2s ease forwards;
}

.rewards-prize-card.is-winner .rewards-prize-image {
  animation:
    rewards-winner-pulse 0.75s ease-in-out infinite alternate;
}

.rewards-prize-card.is-winner strong {
  color: #fde047;
  text-shadow: 0 0 12px rgba(250, 204, 21, 0.4);
}

@keyframes rewards-winner-pulse {
  from {
    transform: scale(1);
    filter: brightness(1);
  }

  to {
    transform: scale(1.09);
    filter: brightness(1.3);
  }
}

@keyframes rewards-winner-shine {
  from {
    transform: translateX(-65%) rotate(12deg);
  }

  to {
    transform: translateX(65%) rotate(12deg);
  }
}

/* Imagem do resultado */

.rewards-winner-image img {
  display: block;
  width: 82%;
  height: 82%;
  object-fit: contain;
  pointer-events: none;
  filter:
    drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 16px rgba(250, 204, 21, 0.2));
}

/* =========================================================
   CONFETES DOURADOS
========================================================= */

.rewards-confetti-container {
  position: absolute;
  z-index: 20;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.rewards-confetti {
  position: absolute;
  top: -18px;
  left: var(--confetti-left);
  width: var(--confetti-size);
  height: var(--confetti-size);
  opacity: 0;
  background: #facc15;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.45);
  animation:
    rewards-confetti-fall var(--confetti-duration)
    cubic-bezier(0.2, 0.7, 0.25, 1)
    var(--confetti-delay)
    forwards;
}

.rewards-confetti-circle {
  border-radius: 50%;
  background: #fde68a;
}

.rewards-confetti-diamond {
  background: #f59e0b;
  transform: rotate(45deg);
}

@keyframes rewards-confetti-fall {
  0% {
    opacity: 0;
    transform:
      translate3d(0, -20px, 0)
      rotate(0deg);
  }

  10% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform:
      translate3d(
        var(--confetti-drift),
        620px,
        0
      )
      rotate(var(--confetti-rotation));
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
  .rewards-prize-card {
    flex-basis: 124px;
    width: 124px;
    min-height: 158px;
    margin: 0 5px;
    padding: 11px 8px;
  }

  .rewards-prize-image {
    width: 77px;
    height: 77px;
  }

  .rewards-prize-image span {
    font-size: 39px;
  }

  .rewards-wheel-shadow {
    width: 19%;
  }

  .rewards-prize-card strong {
    font-size: 11px;
  }

  .rewards-prize-card small {
    font-size: 9px;
  }
}