.play-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 10; /* Garantir que fique acima do botão da roda */
}

/* Desktop - Espaçamentos maiores */
@media (min-width: 1025px) {
  .play-wrapper {
    gap: 28px;
  }
  
  .balance-options-container {
    gap: 20px;
  }
  
  .balance-option-title {
    margin-top: 32px;
    font-size: 18px;
  }
  
  .balance-options-content {
    gap: 14px;
    padding-top: 24px;
  }
}

.balance-options-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 100%;
  overflow: visible;
}

.balance-option-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2%;
  color: #fff;
  text-align: center;
  margin-top: 24px;
}

.min-bet-info {
  font-size: 12px;
  font-weight: 500;
  color: rgba(248, 241, 125, 0.8);
  text-align: center;
  margin-top: -8px;
  font-style: italic;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.balance-options-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  padding-top: 30px;
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.balance-options-content::-webkit-scrollbar {
  display: none;
}

.possible-profit {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 3px;
  color: #f8f17d;
  text-align: center;
}

.play-bonus-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--cor-primaria, #f0b90b);
  background: rgba(240, 185, 11, 0.1);
  border: 1px solid rgba(240, 185, 11, 0.3);
  border-radius: 6px;
  padding: 4px 10px;
  text-align: center;
  margin-top: 2px;
}

/* ========================================
   RESPONSIVIDADE MOBILE
   ======================================== */

/* Tablets (até 768px) */
@media (max-width: 768px) {
  .play-wrapper {
    gap: 12px;
  }

  .balance-options-container {
    gap: 10px;
  }

  .balance-option-title {
    font-size: 13px;
    margin-top: 12px;
  }

  .min-bet-info {
    font-size: 10px;
    margin-top: -5px;
  }

  .balance-options-content {
    gap: 6px;
    padding: 0 5px;
  }

  .possible-profit {
    font-size: 15px;
    letter-spacing: 1.5px;
  }
}

/* Smartphones (até 480px) */
@media (max-width: 480px) {
  .play-wrapper {
    gap: 10px;
  }

  .balance-options-container {
    gap: 8px;
  }

  .balance-option-title {
    font-size: 12px;
    padding: 0 8px;
    margin-top: 8px;
    line-height: 1.2;
  }

  .min-bet-info {
    font-size: 9px;
    margin-top: -4px;
  }

  .balance-options-content {
    gap: 5px;
    padding: 0 8px;
  }

  .possible-profit {
    font-size: 14px;
    letter-spacing: 1px;
  }
}

/* Smartphones pequenos (até 360px) */
@media (max-width: 360px) {
  .play-wrapper {
    gap: 8px;
  }

  .balance-options-container {
    gap: 6px;
  }

  .balance-option-title {
    font-size: 11px;
    padding: 0 5px;
    margin-top: 6px;
    line-height: 1.1;
  }

  .min-bet-info {
    font-size: 8px;
    margin-top: -3px;
  }

  .balance-options-content {
    gap: 4px;
    padding: 0 5px;
  }

  .possible-profit {
    font-size: 13px;
    letter-spacing: 0.8px;
  }
}

/* ========================================
   TEMA MODERNO - ÁREA DE JOGAR
   ======================================== */

.theme-modern .play-wrapper {
  gap: 16px;
}

/* Desktop - Espaçamentos e altura do botão maiores */
@media (min-width: 1025px) {
  .theme-modern .play-wrapper {
    gap: 24px;
  }
  
  .theme-modern .balance-options-container {
    padding: 24px 28px;
    gap: 18px;
  }
  
  .theme-modern .balance-option-title {
    font-size: 18px;
  }
  
  .theme-modern .balance-options-content {
    gap: 14px;
    padding: 24px 4px 4px 4px;
  }
  
  .theme-modern .possible-profit {
    font-size: 20px;
    padding: 14px 26px;
  }
  
  /* Aumentar altura do botão */
  .theme-modern .play-wrapper .button.lg,
  .theme-modern .play-wrapper .button.xl {
    min-height: 64px;
    padding: 18px 32px;
    font-size: 18px;
  }
}

.theme-modern .balance-options-container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  padding: 16px 20px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  gap: 12px;
}

.theme-modern .balance-option-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--cor-primaria);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  margin-top: 0;
}

.theme-modern .min-bet-info {
  font-size: 13px;
  font-weight: 600;
  color: var(--cor-primaria);
  opacity: 0.8;
  margin-top: -6px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.theme-modern .balance-options-content {
  gap: 10px;
  padding: 20px 4px 4px 4px;
}

/* Estilo especial para os botões de valor dentro do tema moderno */
.theme-modern .balance-options-content .selectable-button {
  background: linear-gradient(135deg, var(--cor-primaria), var(--cor-primaria-escura));
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.theme-modern .balance-options-content .selectable-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.theme-modern .balance-options-content .selectable-button:hover::before {
  /* Hover desabilitado - causava problemas */
}

.theme-modern .balance-options-content .selectable-button:hover {
  /* Hover desabilitado - causava problemas */
}

.theme-modern .balance-options-content .selectable-button:active {
  transform: translateY(-1px) scale(1.02);
}

/* Botão selecionado */
.theme-modern .balance-options-content .button--main {
  background: linear-gradient(135deg, var(--cor-primaria), var(--cor-primaria-escura));
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.3),
    0 0 20px var(--cor-primaria);
  animation: selectedPulse 2s ease-in-out infinite;
}

@keyframes selectedPulse {
  0%, 100% {
    box-shadow: 
      0 8px 20px rgba(0, 0, 0, 0.3),
      0 0 15px var(--cor-primaria);
  }
  50% {
    box-shadow: 
      0 8px 20px rgba(0, 0, 0, 0.3),
      0 0 30px var(--cor-primaria);
  }
}

/* Input de valor customizado */
.theme-modern .balance-input-wrapper .input-balance-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  border: 3px solid var(--cor-primaria);
  border-style: solid;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.theme-modern .balance-input-wrapper .input-balance-box:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--cor-primaria);
}

.theme-modern .possible-profit {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--cor-primaria);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  padding: 10px 20px;
  border-radius: 12px;
  border: 2px solid var(--cor-primaria);
  backdrop-filter: blur(10px);
  animation: profitGlow 2s ease-in-out infinite;
}

@keyframes profitGlow {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow: 
      0 4px 12px rgba(0, 0, 0, 0.2),
      0 0 20px var(--cor-primaria);
  }
}

/* Botão "Jogar Agora" - já tem estilo em button.css, mas vamos dar ênfase extra */
.theme-modern .play-wrapper .button.lg,
.theme-modern .play-wrapper .button.xl {
  background: linear-gradient(135deg, var(--cor-primaria), var(--cor-primaria-escura));
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  box-shadow: 
    0 6px 18px rgba(0, 0, 0, 0.3),
    0 0 20px var(--cor-primaria);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
  animation: playButtonPulse 2s ease-in-out infinite;
}

@keyframes playButtonPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 
      0 6px 18px rgba(0, 0, 0, 0.3),
      0 0 20px var(--cor-primaria);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 
      0 8px 24px rgba(0, 0, 0, 0.4),
      0 0 30px var(--cor-primaria);
  }
}

.theme-modern .play-wrapper .button.lg::before,
.theme-modern .play-wrapper .button.xl::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.theme-modern .play-wrapper .button.lg:hover::before,
.theme-modern .play-wrapper .button.xl:hover::before {
  left: 100%;
}

.theme-modern .play-wrapper .button.lg:hover,
.theme-modern .play-wrapper .button.xl:hover {
  transform: scale(1.03);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 40px var(--cor-primaria);
}

.theme-modern .play-wrapper .button.lg:active,
.theme-modern .play-wrapper .button.xl:active {
  transform: translateY(-2px) scale(1.02);
}

.theme-modern .play-wrapper .button.lg:disabled,
.theme-modern .play-wrapper .button.xl:disabled {
  opacity: 0.4;
  background: var(--cor-fundo-card);
  border-color: var(--cor-borda-principal);
  box-shadow: none;
  animation: none;
  cursor: not-allowed;
}

/* Mobile */
@media (max-width: 768px) {
  .theme-modern .balance-options-container {
    padding: 18px;
    border-radius: 16px;
    gap: 16px;
  }
  
  .theme-modern .balance-option-title {
    font-size: 16px;
  }
  
  .theme-modern .min-bet-info {
    font-size: 11px;
  }
  
  .theme-modern .balance-options-content {
    gap: 8px;
  }
  
  .theme-modern .possible-profit {
    font-size: 18px;
    padding: 10px 18px;
  }
  
  .theme-modern .balance-options-content .selectable-button {
    border-radius: 12px;
  }
  
  .theme-modern .play-wrapper .button.lg,
  .theme-modern .play-wrapper .button.xl {
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .theme-modern .balance-options-container {
    padding: 14px;
    border-radius: 12px;
    gap: 12px;
  }
  
  .theme-modern .balance-option-title {
    font-size: 13px;
  }
  
  .theme-modern .min-bet-info {
    font-size: 10px;
  }
  
  .theme-modern .balance-options-content {
    gap: 6px;
  }
  
  .theme-modern .possible-profit {
    font-size: 16px;
    padding: 8px 14px;
    letter-spacing: 1px;
  }
  
  .theme-modern .balance-options-content .selectable-button {
    border-radius: 10px;
    border-width: 2px;
  }
  
  .theme-modern .play-wrapper .button.lg,
  .theme-modern .play-wrapper .button.xl {
    border-radius: 12px;
    border-width: 3px;
  }
}

@media (max-width: 360px) {
  .theme-modern .balance-options-container {
    padding: 12px;
    border-radius: 10px;
    gap: 10px;
  }
  
  .theme-modern .balance-option-title {
    font-size: 12px;
  }
  
  .theme-modern .min-bet-info {
    font-size: 9px;
  }
  
  .theme-modern .balance-options-content {
    gap: 5px;
  }
  
  .theme-modern .possible-profit {
    font-size: 14px;
    padding: 6px 12px;
  }
  
  .theme-modern .balance-options-content .selectable-button {
    border-radius: 8px;
  }
  
  .theme-modern .play-wrapper .button.lg,
  .theme-modern .play-wrapper .button.xl {
    border-radius: 10px;
  }
}
