/* --- Página do jogo --- */
.main-content.game-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 12px 16px 120px;
}

.prize-word {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 24px 18px 20px;
  margin-bottom: 20px;
  background:
    linear-gradient(155deg, rgba(22, 24, 32, 0.98) 0%, rgba(10, 12, 18, 0.99) 55%, rgba(14, 20, 38, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
  user-select: none;
}

.prize-word::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.7), rgba(40, 167, 69, 0.5), transparent);
  opacity: 0.8;
  pointer-events: none;
}

.prize-word-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.35;
}

.prize-word-glow--left {
  top: -80px;
  left: -60px;
  background: rgba(0, 123, 255, 0.35);
}

.prize-word-glow--right {
  bottom: -100px;
  right: -40px;
  background: rgba(40, 167, 69, 0.2);
}

.game-title-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 0 8px;
}

.game-mode-badge,
.free-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-mode-badge {
  background: rgba(0, 123, 255, 0.12);
  border: 1px solid rgba(0, 123, 255, 0.35);
  color: #8ec5ff;
}

.game-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: none;
  background: linear-gradient(135deg, #ffffff 0%, #8ec5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.category-hint {
  display: none;
  margin: 4px 0 0;
  color: #ffd76a;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 0 20px rgba(255, 193, 7, 0.25);
}

.game-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 14px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.letter-options {
  width: 100%;
  min-height: 88px;
  margin-top: 18px;
}

.game {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.grid-container {
  display: grid;
  gap: 0; /* os grids continuam sem espaçamento interno */
}

.anim-squares-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.anim-square {
  width: 14px;
  height: 14px;
  position: absolute;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: square-pulse 4s ease-in-out infinite;
  opacity: 0.35;
}

@keyframes square-pulse {
  0%, 100% {
    opacity: 0.15;
    transform: scale(0.85);
  }
  50% {
    opacity: 0.55;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .anim-square {
    animation: none;
    opacity: 0.2;
  }
}

@media (max-width: 768px) {
  .main-content.game-page {
    padding: 8px 10px 110px;
  }

  .prize-word {
    padding: 18px 12px 16px;
    gap: 18px;
    border-radius: 20px;
  }

  .game-panel {
    padding: 10px;
  }

  .game-title {
    font-size: 1.25rem;
  }
}

/* --- Área de Aposta --- */
.bet-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 16px auto 0;
  width: 100%;
  max-width: 300px;
  padding: 18px 16px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(26, 28, 36, 0.95), rgba(14, 16, 22, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  z-index: 2;
  touch-action: manipulation;
}

.bet-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  padding: 8px 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.bet-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.4rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.bet-btn:hover {
  background: rgba(0, 123, 255, 0.25);
}

.bet-value-box {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
}

.bet-value-box .currency {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  font-weight: 600;
}

.bet-value-box input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  width: 80px;
  text-align: center;
  outline: none;
}

.play-btn {
  width: 100%;
  padding: 14px 18px;
  background: linear-gradient(180deg, #1a8cff 0%, #0056b3 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 0 #003d80, 0 12px 28px rgba(0, 123, 255, 0.25);
  transition: transform 0.12s, box-shadow 0.12s;
}

.play-btn:hover {
  filter: brightness(1.05);
}

.play-btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #003d80;
}

/* Área desativada (em vez de escondida) */
.disabled-area {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(100%);
}

/* Texto de Retorno Possível */
.potential-return {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  margin-top: 5px;
}

/* --- Game Board Wrapper --- */
.game-board-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 118%;
  max-width: 118%;
  padding: 10px;
  background:
    linear-gradient(145deg, rgba(48, 52, 62, 0.95) 0%, rgba(24, 26, 32, 0.98) 50%, rgba(38, 42, 52, 0.95) 100%);
  border-radius: 4px;
  box-shadow:
    0 8px 0 rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  clip-path: polygon(
    3.85% 0%, 96.15% 0%,
    96.15% 25%, 100% 25%,
    100% 75%, 96.15% 75%,
    96.15% 100%, 3.85% 100%,
    3.85% 75%, 0% 75%,
    0% 25%, 3.85% 25%
  );
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.4));
  z-index: 2;
  margin: 6px 0;
  overflow: hidden;
}

.game-board-frame {
  width: 100%;
  padding: 2px;
  background: linear-gradient(180deg, rgba(255, 215, 100, 0.18), rgba(0, 123, 255, 0.14));
}

/* --- Word Grid --- */
.word-grid-container {
  display: flex;
  flex-direction: column;
  gap: 4px !important;
  line-height: 0;
  width: 100%;
  min-height: 100%;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 123, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(40, 167, 69, 0.12) 0%, transparent 40%),
    linear-gradient(180deg, #0c1a42 0%, #081228 100%);
  padding: 6px 4px;
  justify-content: center;
  clip-path: polygon(
    3.85% 0%, 96.15% 0%,
    96.15% 25%, 100% 25%,
    100% 75%, 96.15% 75%,
    96.15% 100%, 3.85% 100%,
    3.85% 75%, 0% 75%,
    0% 25%, 3.85% 25%
  );
  border: none;
  border-radius: 0;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.35);
  position: relative;
}

/* Animação de Brilho (Shine) */
.word-grid-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: skewX(-20deg);
  display: none; /* REMOVIDO: Brilho pesado removido para performance */
  pointer-events: none;
}

@keyframes shine-effect {
  0% { left: -150%; }
  20% { left: 150%; }
  100% { left: 150%; }
}

.grid-container {
  display: grid;
  gap: 3px !important; /* Aumentado espaçamento entre colunas */
  justify-content: center; /* Centraliza o grid */
  width: 100%; /* Garante que o grid ocupe a largura total */
}

/* SOLUÇÃO DEFINITIVA DE TAMANHO: */
/* Em vez de mudar a largura, usamos padding para "espremer" o conteúdo */
/* 100% / 26 = 3.8461% (Meio bloco de cada lado) */
/* Classe para linhas com 12 colunas */
.grid-12 {
  width: 100%;
  padding: 0 calc(100% / 26); /* Indentação exata de meio bloco */
  box-sizing: border-box;
  grid-template-columns: repeat(12, 1fr) !important; /* FORÇA 12 colunas */
}

/* Classe para linhas com 13 colunas (Padrão) */
.grid-13 {
  width: 100%;
  padding: 0;
  grid-template-columns: repeat(13, 1fr) !important; /* FORÇA 13 colunas */
}

.generic-item {
  position: relative;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 3 !important;
  min-height: 30px !important;
  box-sizing: border-box;
  border-radius: 6px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.generic-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.generic-item::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 6%;
  height: 38%;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.letter-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(1.15rem, 5.8vw, 2.15rem) !important;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  padding-bottom: 0.06em;
  opacity: 0;
  transform: scale(0.72);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  transition:
    opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1),
    filter 0.32s ease;
  filter: blur(2px);
  user-select: none;
  background: linear-gradient(165deg, #2a4a82 0%, #0c1a38 55%, #1e3a6e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.letter-content::after {
  content: '';
  position: absolute;
  width: 62%;
  height: 28%;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.5) 0%, transparent 72%);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

/* Ajuste para mobile: reduzir padding da moldura para não ficar muito grande */
@media (max-width: 480px) {
  .game-board-wrapper {
    padding: 6px;
  }
}

/* Animação de Entrada dos Itens do Grid */
@keyframes itemEntrance {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

.item-animate {
  animation: itemEntrance 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Quadrados vazios */
.default-item {
  background: linear-gradient(168deg, #2454c4 0%, #163a8f 42%, #0b2258 100%);
  border: 1px solid rgba(120, 170, 255, 0.18);
}

.default-item::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 48%);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.22);
}

.filled-item .letter-content {
  opacity: 1;
  transform: scale(1);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.85)) drop-shadow(0 2px 4px rgba(12, 26, 56, 0.2));
  background: linear-gradient(165deg, #1a335f 0%, #081428 42%, #243f72 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.filled-item .letter-content::after {
  opacity: 0.8;
}

.filled-item {
  background:
    linear-gradient(168deg, #ffffff 0%, #f3f7ff 38%, #dce6f8 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 5px 14px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(0, 123, 255, 0.08),
    inset 0 -3px 0 rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.filled-item::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, transparent 52%);
}

.filled-item::after {
  opacity: 0.55;
}

.empty-slot .letter-content {
  opacity: 0;
  transform: scale(0.85);
  filter: blur(0);
}

.empty-slot {
  background:
    linear-gradient(168deg, #ffffff 0%, #f4f8ff 45%, #e3ecfa 100%) !important;
  box-shadow:
    0 5px 14px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(0, 123, 255, 0.22),
    inset 0 0 16px rgba(0, 123, 255, 0.1),
    inset 0 -2px 0 rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 123, 255, 0.28);
  animation: empty-slot-pulse 2s ease-in-out infinite;
}

.empty-slot::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, transparent 50%);
}

.empty-slot::after {
  opacity: 0.35;
  background: linear-gradient(180deg, rgba(0, 123, 255, 0.12) 0%, transparent 100%);
}

.letter-content.is-revealing {
  animation: letter-reveal-pop 0.42s cubic-bezier(0.34, 1.35, 0.64, 1) forwards;
}

@keyframes letter-reveal-pop {
  0% {
    opacity: 0;
    transform: scale(0.55) translateY(6px);
    filter: blur(3px);
  }
  65% {
    opacity: 1;
    transform: scale(1.08) translateY(-1px);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@keyframes empty-slot-pulse {
  0%, 100% {
    box-shadow:
      0 5px 14px rgba(0, 0, 0, 0.28),
      0 0 0 1px rgba(0, 123, 255, 0.22),
      inset 0 0 16px rgba(0, 123, 255, 0.1);
  }
  50% {
    box-shadow:
      0 6px 18px rgba(0, 123, 255, 0.22),
      0 0 0 1px rgba(0, 123, 255, 0.38),
      inset 0 0 22px rgba(0, 123, 255, 0.18);
  }
}

/* --- Opções de Letras --- */
.options-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 14px 0 8px;
  width: 100%;
}

.letter-option-btn {
  width: 56px;
  height: 56px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0d1b3e;
  background: linear-gradient(180deg, #ffffff 0%, #e8eef8 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.2s;
  box-shadow: 0 5px 0 #003d80, 0 8px 20px rgba(0, 0, 0, 0.2);
  opacity: 1;
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.letter-option-btn:hover {
  background: linear-gradient(180deg, #f8fbff 0%, #d8e8ff 100%);
  transform: translateY(-2px);
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.5) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- Timer Bar --- */
.timer-container {
  width: 100%;
  max-width: 320px;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
}

.timer-bar {
  height: 100%;
  background: linear-gradient(90deg, #28a745, #8bc34a);
  width: 100%;
  border-radius: 999px;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(40, 167, 69, 0.45);
}

.letter-option-btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #003d80;
}

/* --- Controles do Jogo (Dica) --- */
.game-controls {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  animation: fadeIn 0.5s;
}

.hint-btn {
  background: linear-gradient(180deg, #ffca2c 0%, #ff9800 100%);
  border: none;
  border-bottom: 4px solid #cc7a00;
  color: #1a1a1a;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 152, 0, 0.25);
  transition: transform 0.12s, border-bottom 0.12s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hint-btn:active {
  transform: translateY(4px);
  border-bottom: 0;
}

.game-message {
  text-align: center;
  margin-top: 20px;
  animation: fadeIn 0.5s;
}

/* --- Modal de Vitória/Derrota --- */
.result-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s;
  backdrop-filter: blur(5px);
  z-index: 3000; /* Garante que fique acima de tudo */
}

.result-modal-content {
  background: linear-gradient(160deg, #14161c, #0a0c10);
  border: 1px solid rgba(0, 123, 255, 0.35);
  padding: 32px 24px;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 123, 255, 0.15);
  max-width: 90%;
  width: 360px;
}

.btn-restart {
  width: 100%;
  padding: 15px;
  background: linear-gradient(180deg, #007bff 0%, #0056b3 100%);
  box-shadow: 0 4px 0 #004085;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
}

.confetti-text {
  font-size: 3rem;
  margin-bottom: 10px;
  display: block;
}

/* --- Modo Grátis --- */
.free-mode-badge {
  background: rgba(40, 167, 69, 0.12);
  border: 1px solid rgba(40, 167, 69, 0.4);
  color: #6fdc8c;
}

.free-mode-hint {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  margin: 0;
  max-width: 320px;
  line-height: 1.5;
}

.bet-container--free {
  max-width: 340px;
  gap: 14px;
}

.free-bet-label {
  margin: 0;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
  line-height: 1.5;
}

.play-btn--free {
  background: linear-gradient(180deg, #34d058 0%, #1e7e34 100%);
  box-shadow: 0 6px 0 #155724, 0 12px 28px rgba(40, 167, 69, 0.25);
}

.play-btn--free:active {
  box-shadow: 0 2px 0 #155724;
}

.free-register-link {
  color: #8ec5ff;
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none;
}

.free-register-link:hover {
  text-decoration: underline;
}

.btn-restart--secondary {
  background: transparent !important;
  border: 2px solid rgba(0, 123, 255, 0.5) !important;
  box-shadow: none !important;
  color: #8ec5ff !important;
  margin-top: 10px;
}

.btn-restart--primary {
  background: linear-gradient(180deg, #28a745 0%, #1e7e34 100%) !important;
  box-shadow: 0 4px 0 #155724 !important;
}

.result-modal-content--free-win {
  text-align: center;
}

.free-win-potential-label {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #ccc;
}

.free-win-potential-amount {
  margin: 0 0 10px;
  font-size: 2.2rem;
  font-weight: 800;
  color: #4cd137;
  line-height: 1.1;
}

.free-win-potential-sub {
  margin: 0 0 22px;
  font-size: 0.95rem;
  color: #999;
  line-height: 1.5;
}

.word-grid-container,
.game-board-wrapper {
  position: relative;
}

.letter-reward-float {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, 20px) scale(0.85);
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
}

.letter-reward-float.visible {
  opacity: 1;
  transform: translate(-50%, -70px) scale(1);
}

.letter-reward-float span {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.95), rgba(30, 126, 52, 0.95));
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(40, 167, 69, 0.45);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.letter-reward-float--demo span {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.92), rgba(0, 86, 179, 0.92));
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.35);
}

.letter-reward-float--completion span {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.95), rgba(255, 152, 0, 0.95));
  box-shadow: 0 8px 24px rgba(255, 193, 7, 0.35);
}

.letter-reward-float small {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  color: #8ec5ff;
  font-weight: 600;
  letter-spacing: 0.3px;
}
