.prize-word-wrapper {
  height: calc(100vh - 120px);
  display: grid;
  column-gap: 32px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  padding: 40px 0px;
  background-color: #171717;
  border-radius: 10px;
  overflow-y: auto;
  position: relative;
}

.item1 {
  grid-column: span 1;
  grid-row: span 2;
}

.item2 {
  width: 100%;
  grid-column: span 1;
  grid-row: span 2;

  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow-y: visible;
  overflow-x: hidden;
  min-height: 0;
  padding: 0;
  position: relative;
  z-index: 10; /* Garantir que fique acima do botão da roda */
}

/* Desktop - Maior gap entre componentes */
@media (min-width: 1025px) {
  .item2 {
    gap: 12px;
  }
}

.item2 > * {
  flex-shrink: 0;
}

/* Wrapper fixo para winners - APENAS ELE TEM ALTURA FIXA */
.item2 .winners-wrapper {
  height: 100px;
  min-height: 100px;
  max-height: 100px;
  overflow: hidden;
  flex-shrink: 0;
  flex-grow: 0;
}

/* Banner e Rules - altura automática baseada no conteúdo */
.item2 banner-promo,
.item2 rules {
  flex-shrink: 0;
  flex-grow: 0;
}

/* Play - pode crescer se necessário */
.item2 play {
  flex-shrink: 0;
}

.item3 {
  grid-column: auto;
  grid-row: span 1;
}

@media (max-width: 1024px) {
  .prize-word-wrapper {
    background-color: transparent;
    padding: 8px;
    height: auto;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 0;
    overflow-y: visible;
  }

  .item1 {
    order: 2;
    width: 100%;
  }

  .item2 {
    width: 100%;
    gap: 12px;
    display: contents;
  }

  .item2 .home-winners-section {
    order: 4;
  }

  .item2 banner-promo {
    order: 1;
  }

  .item2 rules {
    order: 4;
  }

  .item2 play {
    order: 3;
  }

  .item2 footer-prize {
    order: 7;
  }

  .item3 {
    order: 6;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .prize-word-wrapper {
    padding: 0;
  }
}

/* Media query adicional para tablets */
@media (max-width: 768px) {
  .prize-word-wrapper {
    gap: 10px;
    padding: 0;
  }
}

/* Media query para smartphones */
@media (max-width: 480px) {
  .prize-word-wrapper {
    gap: 8px;
    padding: 0;
  }
}

/* Media query para smartphones pequenos */
@media (max-width: 360px) {
  .prize-word-wrapper {
    gap: 6px;
    padding: 0;
  }
}

/* WRAPPER FIXO PARA WINNERS */
.winners-wrapper-fixed {
  height: 180px !important;
  max-height: 180px !important;
  min-height: 180px !important;
  overflow: hidden !important;
  display: block !important;
}

/* ========================================
   Seção de Últimos Ganhadores - COPIADO DA HOME
   ======================================== */

.item2 .home-winners-section {
  width: 100%;
  padding: 0;
  background-color: transparent;
  flex-shrink: 0;
}

.item2 .home-winners-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* Ajustes específicos para winners na home */
.item2 .home-winners-section .winners-container {
  background-color: var(--cor-fundo-card);
  border-radius: 8px;
  padding: 3px 0 1px 0;
  border: 1px solid var(--cor-borda-secundaria);
  margin: 0;
  gap: 1px;
  height: 100%;
  overflow: hidden;
}

/* Desktop - Winners com mais espaçamento - v2.0 FORCED UPDATE */
@media (min-width: 1025px) {
  .item2 .home-winners-section .winners-container {
    padding: 16px 0 12px 0 !important;
    gap: 10px !important;
  }
  
  .item2 .home-winners-section .winners-title-container {
    padding: 4px 20px 10px 20px !important;
    margin: 0 !important;
  }
  
  .item2 .home-winners-section .winners-list {
    height: 75px !important;
    max-height: 75px !important;
    padding: 0 12px !important;
  }
  
  .item2 .home-winners-section .winners-list.infinite-scroll {
    height: 75px !important;
    max-height: 75px !important;
  }
}

.item2 .home-winners-section .winners-title-container {
  padding: 0 8px 1px 8px;
}

.item2 .home-winners-section .winners-list {
  padding: 0;
  height: 55px !important;
  max-height: 55px !important;
  overflow: hidden !important;
}

.item2 .home-winners-section .winners-list.infinite-scroll {
  height: 55px !important;
  max-height: 55px !important;
}

/* ========================================
   INSTRUÇÕES DO JOGO
   ======================================== */

.game-instructions {
  margin-top: 16px;
  padding: 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.game-instructions__intro {
  font-size: 14px;
  font-weight: 600;
  color: var(--cor-primaria);
  margin: 0 0 12px;
  text-align: center;
}

.game-instructions__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.game-instructions__item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.game-instructions__item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.game-instructions__number {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cor-primaria);
  color: var(--cor-texto-principal);
  border-radius: 50%;
  font-weight: 700;
  font-size: 11px;
}

.game-instructions__text {
  flex: 1;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.game-instructions__text strong {
  color: var(--cor-primaria);
  font-weight: 600;
}

/* Tema Moderno - Instruções */
.theme-modern .game-instructions {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.theme-modern .game-instructions:hover {
  border-color: var(--cor-primaria);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.theme-modern .game-instructions__intro {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--cor-primaria), var(--cor-destaque));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-modern .game-instructions__list {
  gap: 10px;
}

.theme-modern .game-instructions__item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px;
  transition: all 0.3s ease;
}

.theme-modern .game-instructions__item:hover {
  border-color: var(--cor-primaria);
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(6px) scale(1.02);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.theme-modern .game-instructions__number {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-primaria-escura) 100%);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.theme-modern .game-instructions__text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.theme-modern .game-instructions__text strong {
  color: var(--cor-primaria);
  font-weight: 800;
}

/* Responsividade Mobile - Instruções */
@media (max-width: 1024px) {
  .item2 .game-instructions {
    order: 6;
  }
}

@media (max-width: 768px) {
  .game-instructions {
    padding: 14px;
    margin-top: 14px;
  }
  
  .game-instructions__intro {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .game-instructions__list {
    gap: 6px;
  }
  
  .game-instructions__item {
    padding: 6px;
    gap: 6px;
  }
  
  .game-instructions__number {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }
  
  .game-instructions__text {
    font-size: 11px;
  }
  
  .theme-modern .game-instructions {
    padding: 16px;
    margin-top: 16px;
  }
  
  .theme-modern .game-instructions__intro {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .theme-modern .game-instructions__list {
    gap: 8px;
  }
  
  .theme-modern .game-instructions__item {
    padding: 10px;
  }
  
  .theme-modern .game-instructions__number {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  
  .theme-modern .game-instructions__text {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .game-instructions {
    padding: 12px;
    margin-top: 12px;
    border-radius: 10px;
  }
  
  .game-instructions__intro {
    font-size: 12px;
    margin-bottom: 8px;
  }
  
  .game-instructions__list {
    gap: 5px;
  }
  
  .game-instructions__item {
    padding: 5px;
    border-radius: 6px;
  }
  
  .game-instructions__number {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }
  
  .game-instructions__text {
    font-size: 10px;
  }
  
  .theme-modern .game-instructions {
    padding: 14px;
    margin-top: 14px;
    border-radius: 12px;
  }
  
  .theme-modern .game-instructions__intro {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .theme-modern .game-instructions__item {
    padding: 8px;
    border-radius: 10px;
  }
  
  .theme-modern .game-instructions__number {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  
  .theme-modern .game-instructions__text {
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .game-instructions {
    padding: 10px;
    margin-top: 10px;
  }
  
  .game-instructions__intro {
    font-size: 11px;
    margin-bottom: 6px;
  }
  
  .game-instructions__item {
    padding: 4px;
  }
  
  .game-instructions__number {
    width: 14px;
    height: 14px;
    font-size: 8px;
  }
  
  .game-instructions__text {
    font-size: 9px;
  }
  
  .theme-modern .game-instructions {
    padding: 12px;
    margin-top: 12px;
  }
  
  .theme-modern .game-instructions__intro {
    font-size: 12px;
  }
  
  .theme-modern .game-instructions__item {
    padding: 6px;
  }
  
  .theme-modern .game-instructions__number {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  
  .theme-modern .game-instructions__text {
    font-size: 10px;
  }
}

/* ========================================
   TEMA MODERNO - EFEITOS RADIANTES E FLUTUAÇÃO
   ======================================== */

/* Brilho radiante no container do jogo (item1) */
.theme-modern .item1 {
  box-shadow: 
    0 0 25px rgba(38, 150, 255, 0.35),
    0 0 50px rgba(38, 150, 255, 0.22),
    0 0 75px rgba(38, 150, 255, 0.12),
    0 0 100px rgba(250, 204, 21, 0.18),
    0 0 125px rgba(250, 204, 21, 0.12) !important;
  animation: floatGame 7s ease-in-out infinite;
  border-radius: 20px;
}

@keyframes floatGame {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* Brilho radiante no winners (já aplicado via winners.css, mas reforçando) */
.theme-modern .item2 .home-winners-section .winners-container {
  box-shadow: 
    0 0 25px rgba(38, 150, 255, 0.35),
    0 0 50px rgba(38, 150, 255, 0.22),
    0 0 75px rgba(38, 150, 255, 0.12),
    0 0 100px rgba(250, 204, 21, 0.18),
    0 0 125px rgba(250, 204, 21, 0.12) !important;
  animation: floatWinnersPrize 6.5s ease-in-out infinite;
}

@keyframes floatWinnersPrize {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* Brilho radiante no play */
.theme-modern play {
  display: block;
  box-shadow: 
    0 0 25px rgba(38, 150, 255, 0.35),
    0 0 50px rgba(38, 150, 255, 0.22),
    0 0 75px rgba(38, 150, 255, 0.12),
    0 0 100px rgba(250, 204, 21, 0.18),
    0 0 125px rgba(250, 204, 21, 0.12) !important;
  animation: floatPlay 6s ease-in-out infinite;
  border-radius: 16px;
}

@keyframes floatPlay {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* Brilho radiante no rules */
.theme-modern rules {
  display: block;
  box-shadow: 
    0 0 25px rgba(38, 150, 255, 0.35),
    0 0 50px rgba(38, 150, 255, 0.22),
    0 0 75px rgba(38, 150, 255, 0.12),
    0 0 100px rgba(250, 204, 21, 0.18),
    0 0 125px rgba(250, 204, 21, 0.12) !important;
  animation: floatRules 7.5s ease-in-out infinite;
  border-radius: 16px;
}

@keyframes floatRules {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* Desabilitar animações em mobile */
@media (max-width: 768px) {
  .theme-modern .item1,
  .theme-modern .item2 .home-winners-section .winners-container,
  .theme-modern play,
  .theme-modern rules {
    animation: none;
  }
}

