.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: auto;
  overflow-x: hidden;
  min-height: 0;
  padding: 0;
}

.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: 16px;
    height: auto;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 0;
    overflow-y: visible;
  }

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

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

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

  .item2 banner-promo {
    order: 2;
  }

  .item2 rules {
    order: 5;
  }

  .item2 play {
    order: 4;
  }

  .item2 footer-prize {
    order: 7;
  }

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

@media (max-width: 1024px) {
  .prize-word-wrapper {
    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: 4px 0 2px 0;
  border: 1px solid var(--cor-borda-secundaria);
  margin: 0;
  gap: 2px;
  height: 100%;
  overflow: hidden;
}

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

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

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

