body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0b0b0f;
  color: #fff;
}

.hero {
  text-align: center;
  padding: 30px;
}

/* ===============================
   HERO / BANNER DO SORTEIO
   =============================== */

.hero {
  width: 100%;
  max-width: 1400px;     /* banner realmente grande */
  margin: 40px auto;
  border-radius: 20px;
  overflow: hidden;

  /* REMOVE QUALQUER BORDA OU GLOW */
  border: none;
  box-shadow: none;
}

.hero-img {
  width: 100%;
  height: 700px;        /* <<< IMAGEM GRANDE DE VERDADE */
  object-fit: cover;
  display: block;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 60%,
    rgba(0,0,0,0.85) 100%
  );
  pointer-events: none;
}


button {
  background: #ff295d;
  border: none;
  padding: 12px 25px;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
}

.box {
  margin: 40px;
  background: #12121a;
  padding: 20px;
  border-radius: 12px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 80px);
  gap: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 10px;
  border-bottom: 1px solid #333;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #1a1a26;
  padding: 25px;
  border-radius: 12px;
  width: 320px;
}

.modal input {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 6px;
  border: none;
}

.actions {
  display: flex;
  justify-content: space-between;
}

/* LOGIN / CADASTRO */
.auth-container {
  max-width: 360px;
  margin: 80px auto;
  background: #12121a;
  padding: 25px;
  border-radius: 14px;
  text-align: center;
}

.auth-container h1 {
  margin-bottom: 20px;
}

.auth-box {
  margin-bottom: 20px;
}

.auth-box h2 {
  margin-bottom: 10px;
}

.auth-box input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  border: none;
}

.auth-box button {
  width: 100%;
  padding: 12px;
  background: #ff295d;
  border-radius: 8px;
}

.auth-msg {
  margin-top: 10px;
  color: #ffd166;
}

/* TOPO LOGIN */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #12121a;
}

.logo {
  font-weight: bold;
}

.topbar button {
  background: #ff295d;
}

.draw-header {
  max-width: 1200px;
  margin: 50px auto 20px;
  padding: 0 20px;
}

.draw-header h1 {
  font-size: 34px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.glow-line {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #ff2a68, transparent);
  margin: 18px 0 30px;
  box-shadow: 0 0 20px #ff2a68;
}

/* Abas */
/*
.draw-tabs {
  display: flex;
  gap: 15px;
}
 

.tab {
  position: relative;
  padding: 16px 50px;
  font-weight: bold;
  border-radius: 14px 14px 0 0;
  background: #12121a;
  border: 1px solid #222;
  color: #ccc;
  cursor: pointer;
}
   

.tab::after {
  content: "";
  position: absolute;
  right: -25px;
  top: 0;
  width: 50px;
  height: 100%;
  background: inherit;
  transform: skewX(-20deg);
  border-right: 1px solid #222;
  border-top-right-radius: 12px;
}
  */

.tab.active {
  background: linear-gradient(135deg, #ff1f5a, #ff3c77);
  color: #fff;
  border: none;
}

.tab.active::after {
  background: linear-gradient(135deg, #ff1f5a, #ff3c77);
}
.draw-header {
  text-align: center;
}

/*
.draw-tabs {
  justify-content: center;
}
*/
.box {
  max-width: 1000px;
  margin: 30px auto;
  text-align: center;
  padding: 30px 40px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: linear-gradient(180deg, #0d0d13, #0a0a10);
}

#userArea {
  display: flex;
  align-items: center;
  gap: 15px;
}

#userArea span {
  font-weight: bold;
  font-size: 14px;
  opacity: 0.9;
}
#userArea button {
  background: linear-gradient(135deg, #ff1f5a, #ff3c77);
  border-radius: 10px;
  padding: 10px 22px;
  font-weight: bold;
}
/* ===== CAMADAS ===== */

/* Conteúdo normal */
.hero,
.draw-header,
.box {
  position: relative;
  z-index: 1;
}

/* Abas */
/*
.draw-tabs,
.tab {
  position: relative;
  z-index: 2;
}
*/

/* MODAIS SEMPRE NO TOPO */
.modal {
  position: fixed;
  z-index: 9999;
}
.hero-img {
  pointer-events: none;
}

.hero {
  overflow: hidden;
}
.btn-delete {
  background: #b12b2b;
  border: none;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}



.entry-card {
  background: #1a1a26;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.entry-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.entry-card span {
  font-size: 11px;
  display: block;
  margin-top: 5px;
}
.ultimas-grid {
  display: flex;
  gap: 16px;
  padding: 10px;
}



.ultima-nome {
  font-size: 12px;
  margin-top: 5px;
}

.winner-box {
  margin: 40px auto;
  max-width: 600px;
  background: linear-gradient(135deg, #14141f, #0b0b12);
  border: 2px solid #ff2f6d;
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 0 30px rgba(255, 47, 109, .3);
}

.winner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.winner-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #ff2f6d;
}

#winnerName {
  font-size: 20px;
  font-weight: bold;
}

#winnerTicket {
  opacity: .8;
  font-size: 14px;
}
.winner-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}



.winner-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}



.winner-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}



.admin-btn {
  margin-right: 10px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #ff00aa, #ff4d4d);
  border-radius: 8px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(255,0,100,0.6);
  transition: 0.2s;
}

.admin-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(255,0,120,0.9);
}
.draw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.draw-card {
  background: rgba(20,20,30,.8);
  border-radius: 18px;
  padding: 15px;
  box-shadow: 0 0 30px rgba(255,0,120,.15);
  transition: .2s;
}

.draw-card:hover {
  transform: scale(1.02);
}

.draw-img img {
  width: 100%;
  border-radius: 14px;
}

.draw-card h3 {
  margin: 12px 0;
  font-size: 20px;
}

.timer {
  margin-bottom: 10px;
  font-weight: bold;
  color: #ff2d8b;
}

.btn-enter {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff0080, #ff2d55);
  color: white;
  font-weight: bold;
  text-decoration: none;
}
.draws-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.draw-card {
  background: linear-gradient(180deg, #0e0e16, #07070b);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(255,0,100,.15);
}

.draw-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.draw-card h3 {
  padding: 15px 20px 5px;
  font-size: 18px;
}

.timer {
  padding: 0 20px;
  color: #aaa;
}

.btn-enter {
  display: block;
  margin: 20px;
  padding: 12px;
  text-align: center;
  background: linear-gradient(90deg,#ff2a6d,#ff5b9d);
  border-radius: 12px;
  text-decoration: none;
  color: white;
  font-weight: bold;
}
.draw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.draw-card {
  background: linear-gradient(180deg, #0b0d13, #05060a);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(255,0,80,.2);
  display: flex;
  flex-direction: column;
}

.draw-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.draw-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.draw-card h3 {
  padding: 15px;
  font-size: 18px;
  color: white;
}

.timer {
  padding: 0 15px 15px;
  color: #aaa;
  font-size: 14px;
}

.btn-enter {
  margin: 15px;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(90deg,#ff1f6b,#ff4d8d);
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}
.hero {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 40px auto;
  border-radius: 20px;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  display: block;
  border-radius: 20px;
}



.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-btn {
  margin-top: 20px;
  background: linear-gradient(90deg,#ff0055,#ff3366);
  padding: 14px 40px;
  border-radius: 10px;
  font-weight: bold;
}
.section-title {
  text-align: center;
  font-size: 32px;
  margin: 60px 0 40px;
  position: relative;
}

.glow-line {
  display: block;
  width: 60%;
  height: 2px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, transparent, #ff0055, transparent);
  box-shadow: 0 0 10px #ff0055;
}
.glow-card {
  position: relative;
  border-radius: 18px;
  background: #0b0b10;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(255, 0, 85, 0.15);
}


.glow-card > * {
  position: relative;
  z-index: 2;
}

@keyframes glowMove {
  0% { background-position: 0% }
  100% { background-position: 300% }
}

/* garante que a imagem aparece */
.draw-img {
  position: relative;
  width: 100%;
  height: 220px; /* mantém proporção do card */
  overflow: hidden;
  border-radius: 14px;
}

.draw-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* selo 3️⃣ Upgrade */
.badge-upgrade {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ff2d7a, #ff7a18);
  color: white;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 0 15px rgba(255,45,122,0.6);
  z-index: 5;
}

/* ================================
   CARD DO SORTEIO – ESTILO PREMIUM
================================ */

.draw-card {
  background: linear-gradient(180deg, #141416, #0b0b0e);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02), 
              0 20px 60px rgba(0,0,0,0.8),
              0 0 40px rgba(255,0,80,0.12);
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.draw-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(255,0,80,0.3),
              0 30px 80px rgba(0,0,0,0.9),
              0 0 60px rgba(255,0,80,0.35);
}

/* IMAGEM */
.draw-img {
  width: 100%;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.draw-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.draw-card:hover .draw-img img {
  transform: scale(1.05);
}

/* TÍTULO */
.draw-card h3 {
  margin: 14px 0 8px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

/* TIMER */
.draw-card .timer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ff4f8b;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

/* BOTÃO */
.draw-card .btn-enter {
  background: linear-gradient(135deg, #ff2f7a, #ff005c);
  border-radius: 10px;
  padding: 12px;
  color: white;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(255,0,92,0.5);
  transition: all 0.3s ease;
}

.draw-card .btn-enter:hover {
  transform: scale(1.04);
  box-shadow: 0 15px 40px rgba(255,0,92,0.8);
}
#draws {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: start;
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
}
.draw-card {
  max-width: 380px;
  margin: 0 auto;
}
.draw-img {
  height: 240px;
}
.draw-card h3 {
  font-size: 18px;
}
#draws {
  display: grid;
  grid-template-columns: repeat(2, minmax(520px, 1fr));
  gap: 40px;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}
.draw-card {
  width: 100%;
  max-width: 700px;
  background: rgba(20, 20, 25, 0.95);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 0 0 1px rgba(255,60,140,0.15), 0 0 30px rgba(255,50,120,0.15);
  transition: 0.3s ease;
}

.draw-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 0 0 1px rgba(255,80,160,0.5), 0 0 50px rgba(255,60,160,0.4);
}
.draw-img {
  width: 100%;
  height: 280px;
  border-radius: 14px;
  overflow: hidden;
}

.draw-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.draw-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 14px;
  color: white;
}
.timer {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.timer span {
  background: rgba(0,0,0,0.6);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
}
.btn-enter {
  display: block;
  margin-top: 18px;
  background: linear-gradient(90deg, #ff3b8a, #ff5fa2);
  padding: 14px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  color: white;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-enter:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,80,160,0.6);
}
@media (max-width: 1100px) {
  #draws {
    grid-template-columns: 1fr;
  }
}

.timer-boxes {
  display: flex;
  gap: 12px;
  margin: 16px 0 18px;
}

.time-box {
  background: #0e0e12;
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 60px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.time-value {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.time-label {
  font-size: 11px;
  color: #aaa;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ended {
  color: #ff4d6d;
  font-weight: 700;
  font-size: 14px;
}

/* ===============================
   DRAW TABS (Participar / Entradas)
   =============================== */

.draw-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;

  margin: 32px 0 40px; /* espaço acima e abaixo */
}

/* Base dos botões */
.draw-tabs button,
.draw-tabs a {
  min-width: 220px;
  padding: 14px 28px;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;

  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);

  background: rgba(20, 20, 25, 0.85);
  color: #d0d0d0;

  cursor: pointer;
  transition: all 0.25s ease;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hover botão inativo */
.draw-tabs button:hover,
.draw-tabs a:hover {
  background: rgba(35, 35, 45, 0.95);
  color: #ffffff;
}

/* Botão ATIVO */
.draw-tabs .active {
  background: linear-gradient(135deg, #ff2f6d, #ff4fa1);
  color: #fff;

  border: none;

  box-shadow:
    0 0 20px rgba(255, 47, 109, 0.45),
    inset 0 0 0 1px rgba(255,255,255,0.15);

  transform: translateY(-1px);
}

/* Hover no ativo */
.draw-tabs .active:hover {
  filter: brightness(1.08);
}

/* Mobile */
@media (max-width: 600px) {
  .draw-tabs {
    flex-direction: column;
    gap: 12px;
  }

  .draw-tabs button,
  .draw-tabs a {
    width: 100%;
  }
}

/* ===== MODAL PARTICIPAR ===== */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* abrir modal */
.modal.active {
  display: flex;
}

/* caixa do modal */
.modal-content {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, #0f0f15, #09090c);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05),
              0 20px 60px rgba(0,0,0,0.8);
  position: relative;
}

/* título */
.modal-content h2 {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 700;
}

/* descrição (se usar <p>) */
.modal-content p {
  font-size: 13px;
  color: #bdbdbd;
  margin-bottom: 16px;
}

/* formulário */
#formParticipar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* labels simuladas */
#formParticipar input::placeholder {
  color: #8c8c8c;
}

/* inputs padrão */
.modal-content input {
  width: 100%;
  padding: 12px 14px;
  background: #0c0c10;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.modal-content input:focus {
  border-color: #ff2d6f;
  box-shadow: 0 0 0 2px rgba(255,45,111,0.15);
}

/* upload */
.modal-content input[type="file"] {
  padding: 16px;
  border: 1px dashed rgba(255,255,255,0.2);
  background: transparent;
  cursor: pointer;
}

/* botão ENVIAR */
#formParticipar button {
  margin-top: 10px;
  height: 46px;
  background: linear-gradient(135deg, #ff2d6f, #ff4d8d);
  border: none;
  border-radius: 12px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

#formParticipar button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,45,111,0.35);
}

/* botão FECHAR */
#fecharParticipar {
  margin-top: 12px;
  background: transparent;
  border: none;
  color: #aaa;
  cursor: pointer;
  font-size: 14px;
}

#fecharParticipar:hover {
  color: #fff;
}

/* ===== UPLOAD CUSTOM ===== */

.upload-box {
  width: 100%;
  height: 120px;
  border: 2px dashed rgba(255,255,255,0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border .2s ease, background .2s ease;
}

.upload-box:hover {
  border-color: #ff2d6f;
  background: rgba(255,45,111,0.05);
}

.upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.upload-content strong {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.upload-content span {
  font-size: 12px;
  color: #aaa;
}

/* ===== UPLOAD CONFIRMADO ===== */

.upload-box.uploaded {
  border-color: #1ec773;
  background: rgba(30,199,115,0.08);
}

.upload-box.uploaded strong {
  color: #1ec773;
}

.upload-box.uploaded span {
  color: #cfcfcf;
  font-size: 11px;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.modal-content {
  width: 100%;
  max-width: 460px; /* AQUI está o ganho visual */
  padding: 32px 32px 28px;
  border-radius: 18px;
  background: radial-gradient(
    circle at top,
    #141414 0%,
    #0b0b0b 60%
  );
}


#formParticipar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


#formParticipar input {
  height: 48px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: 10px;
}


#formParticipar button[type="submit"] {
  margin-top: 12px;
}

#fecharParticipar {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  opacity: .7;
}
.upload-box {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#formParticipar button[type="submit"] {
  margin-top: 18px;
  height: 48px;
  font-size: 15px;
  border-radius: 12px;
}
#fecharParticipar {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
  cursor: pointer;
}
/* ===== AVISO LOGIN (MAIOR) ===== */
.login-warning {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(8px);
}

.login-warning.hidden {
  display: none;
}

.login-warning-content {
  background: linear-gradient(180deg, #121218, #0b0b0f);
  border-radius: 18px;
  padding: 28px 32px;
  width: 100%;
  max-width: 480px; /* 👈 aumentou */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 25px 80px rgba(255, 0, 100, 0.45);
  display: flex;
  align-items: center;
  gap: 18px;
  animation: loginWarningIn 0.25s ease;
  position: relative;
}

.login-warning-content .icon {
  font-size: 36px; /* 👈 maior */
}

.login-warning-content .text strong {
  color: #fff;
  font-size: 18px; /* 👈 maior */
  display: block;
}

.login-warning-content .text p {
  margin: 6px 0 0;
  font-size: 15px;
  color: #d6d6d6;
  line-height: 1.4;
}

.login-warning-content button {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
}

.login-warning-content button:hover {
  color: #fff;
}

@keyframes loginWarningIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: linear-gradient(180deg, #0f0f14, #09090c);
  border-radius: 14px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 320px;
  max-width: 420px;
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 45, 117, 0.4),
    0 0 40px rgba(255, 45, 117, 0.35);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.toast-icon {
  font-size: 28px;
}

.toast-text strong {
  font-size: 16px;
  color: #ff2d75;
}

.toast-text p {
  font-size: 14px;
  margin: 4px 0 0;
  color: #cfcfd6;
}

.toast.hidden {
  display: none;
}
.draw-status {
  display: flex;
  align-items: center;
  gap: 24px;

  max-width: 720px;   /* ⬅️ maior */
  padding: 28px 32px; /* ⬅️ mais espaço interno */
  margin: 48px auto;

  border-radius: 16px;
}


/* Caixa da skin */
.draw-status-skin {
  width: 120px;
  height: 120px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: radial-gradient(
    circle at top,
    rgba(255, 255, 255, 0.10),
    rgba(255, 255, 255, 0.02)
  );

  border-radius: 14px;

  transition: transform 0.4s ease;
}


.draw-status-skin img {
  max-width: 95px;
  max-height: 95px;
  object-fit: contain;

  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Hover */
.draw-status:hover .draw-status-skin img {
  transform: translateY(-6px) rotate(-6deg) scale(1.08);
  filter: drop-shadow(0 10px 20px rgba(255, 0, 120, 0.35));
}


/* Texto */
.draw-status-info h2 {
  font-size: 20px;
  font-weight: 600;
}

.draw-status-info p {
  font-size: 14px;
  margin-top: 6px;
  opacity: 0.85;
}
.draw-status {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;

  max-width: 900px;
  margin: 56px auto;

  padding: 32px 36px;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.01)
  );

  border-radius: 18px;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 0 40px rgba(255, 0, 120, 0.25);
}
.draw-status-skin {
  width: 140px;
  height: 140px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: radial-gradient(
    circle at top,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.02)
  );

  border-radius: 14px;
}
.draw-status-skin img {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;

  transition: transform 0.4s ease, filter 0.4s ease;
}
.draw-status:hover .draw-status-skin img {
  transform: translateY(-8px) rotate(-8deg) scale(1.1);
  filter: drop-shadow(0 12px 22px rgba(255, 0, 120, 0.45));
}
.draw-status-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.draw-status-label {
  font-size: 13px;
  font-weight: 600;
  color: #ff4d8d;
  text-transform: uppercase;
}
.draw-skin-name {
  font-size: 22px;
  font-weight: 700;
  margin: 4px 0;
}
.draw-skin-price {
  font-size: 16px;
  font-weight: 600;
  color: #ffd166;
}
.draw-status-desc {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 6px;
}
/* BOX PRINCIPAL */
/* BOX PRINCIPAL — CLEAN / PREMIUM */
.draw-active-box {
  max-width: 1050px;
  margin: 60px auto 40px;
  padding: 36px 44px;

  display: flex;
  align-items: center;
  gap: 24px; /* aproxima skin do texto */

  background: linear-gradient(
    180deg,
    #15151c 0%,
    #0c0c11 100%
  );

  border-radius: 18px;

  /* SOMBRA CLEAN (sem vermelho) */
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* BLOCO DA SKIN */
.skin-preview {
  width: 150px;
  height: 150px;
  flex-shrink: 0;

  background: linear-gradient(135deg, #1c1c26, #121218);
  border-radius: 14px;
  padding: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
}

/* PNG DA SKIN */
.skin-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;

  transition: transform 0.35s ease;
}

.skin-preview:hover img {
  transform: translateY(-6px) rotate(-2deg) scale(1.06);
}

/* NOME + VALOR (dentro do quadrado) */
.skin-info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;

  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 6px 8px;

  text-align: center;
}

.skin-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.skin-price {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #2effa3; /* verde premium */
}

/* TEXTO CENTRAL — MAIS FORTE */
.draw-active-text {
  flex: 1;
  text-align: center;
}

/* TÍTULO */
.draw-active-text h2 {
  font-size: 26px; /* maior */
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
  letter-spacing: 0.4px;
}

/* DESCRIÇÃO */
.draw-active-text p {
  font-size: 16px;
  color: #c7c7d4;
  line-height: 1.5;
}
/* ===============================
   SORTEIO ATIVO — PREMIUM LIMPO
================================ */

.draw-active-box {
  max-width: 1100px;
  margin: 64px auto 48px;
  padding: 40px 48px;

  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 36px;

  background: linear-gradient(180deg, #15151c, #0c0c11);
  border-radius: 20px;

  box-shadow:
    0 30px 80px rgba(0,0,0,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* ===== BLOCO DA SKIN ===== */

.skin-preview {
  width: 180px;
  height: 180px;
  position: relative;

  background: linear-gradient(135deg, #1c1c26, #121218);
  border-radius: 16px;
  padding: 14px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.skin-preview img {
  max-width: 140px;
  max-height: 140px;
  object-fit: contain;

  transition: transform 0.35s ease, filter 0.35s ease;
}

.skin-preview:hover img {
  transform: translateY(-8px) rotate(-6deg) scale(1.1);
  filter: drop-shadow(0 14px 26px rgba(255, 0, 120, 0.45));
}

/* Nome + preço */
.skin-info {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;

  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 8px 10px;

  text-align: center;
}

.skin-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.skin-price {
  font-size: 13px;
  font-weight: 700;
  color: #2effa3;
}

/* ===== TEXTO CENTRAL ===== */

.draw-active-text {
  text-align: center;
}

.draw-active-text h2 {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: 0.4px;
}

.draw-active-text p {
  font-size: 17px;
  color: #cfcfe0;
  line-height: 1.5;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 900px) {
  .draw-active-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .skin-preview {
    margin: 0 auto;
  }
}
.draw-animation {
  max-width: 100%;
  margin: 60px auto;
}

.roulette {
  height: 140px;
  overflow: hidden;
  background: #0b0b12;
  border-radius: 16px;
}

.roulette-track {
  display: flex;
  gap: 20px;
  padding: 20px;
  transition: transform 5s cubic-bezier(.1,.9,.2,1);
}

.roulette-item {
  width: 100px;
  flex-shrink: 0;
}

/* ===============================
   CONTROLE DE VISIBILIDADE
=============================== */

.hidden {
  display: none !important;
}

/* ===============================
   BOX DO VENCEDOR
=============================== */

#winnerBox {
  margin: 40px auto 0 auto;
}

/* quando escondido, não ocupa espaço */
#winnerBox.hidden {
  display: none !important;
}

/* ===============================
   BOX DO SORTEIO ATIVO (SKIN)
=============================== */

#drawActiveBox {
  margin: 0 auto 32px auto; /* remove espaço gigante embaixo */
}

/* garante que nunca quebre layout */
#drawActiveBox:not(.hidden) {
  display: flex;
}
.draw-active-box {
  margin-bottom: 32px;
}

#winnerBox {
  margin-top: 24px;
}
.tab.disabled,
button.disabled {
  background: #1a1a1a;
  color: #777;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.6;
  pointer-events: none;
}

.tab.disabled:hover,
button.disabled:hover {
  background: #1a1a1a;
}
/* =========================
   RESULTADO DO SORTEIO
========================= */

.draw-result-box {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: linear-gradient(145deg, #0f0f14, #15151c);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(255, 0, 90, 0.15);
}

.draw-result-title {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 25px;
  color: #fff;
  letter-spacing: 1px;
}

.draw-result-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* reaproveita a skin sem quebrar */
.draw-result-card .skin-preview {
  width: 220px;
  flex-shrink: 0;
}

/* vencedor */
.draw-result-card .winner-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.winner-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #ff2d6f;
  box-shadow: 0 0 15px rgba(255, 45, 111, 0.7);
}

.winner-text strong {
  display: block;
  font-size: 18px;
}

.winner-text span {
  font-size: 13px;
  opacity: 0.8;
}




.roulette-item span {
  font-size: 13px;
  color: #fff;
}


.roulette {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 140px;
  margin: 40px 0;
}

.roulette-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 22px solid #ff2d75;
  z-index: 10;
  filter: drop-shadow(0 0 10px rgba(255,45,117,.8));
}

.roulette-track {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 50%;
  will-change: transform;
}

.roulette-item {
  width: 110px;
  flex-shrink: 0;
  text-align: center;
  color: #fff;
}


.roulette-item.winner {
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  filter: none !important;
}
/* ===============================
   AUTH MODAL
================================ */

.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.auth-card {
  width: 420px;
  max-width: 95%;
  background: linear-gradient(180deg, #0f0f15, #09090d);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 0 40px rgba(255,0,100,0.15);
  animation: fadeUp .3s ease;
}

/* TÍTULOS */
.auth-title {
  color: #fff;
  font-size: 22px;
  margin-bottom: 14px;
}

/* FORM */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-form input {
  height: 48px;
  border-radius: 10px;
  border: none;
  padding: 0 14px;
  background: #1a1a22;
  color: #fff;
  font-size: 15px;
}

.auth-form input::placeholder {
  color: #aaa;
}

/* BOTÕES */
.btn-primary {
  height: 48px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #ff2f6e, #ff5fa2);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(255,80,150,0.5);
}

.btn-secondary {
  margin-top: 16px;
  height: 42px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid #333;
  color: #bbb;
  cursor: pointer;
}

/* DIVISOR */
.auth-divider {
  margin: 22px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #222;
}

.auth-divider span {
  font-size: 13px;
  color: #777;
}

/* ANIMAÇÃO */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

.modal-box {
  background: #0f1117;
  border-radius: 14px;
  padding: 24px;
  width: 420px;
}

.modal-box.large {
  width: 650px;
}

.modal-box h2 {
  margin-bottom: 16px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.btn-primary {
  background: #ff2d6f;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
}

.btn-secondary {
  background: #2a2d36;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
}

.btn-danger {
  background: #b81f44;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
}
/* ===============================
   TOPBAR GLOBAL
================================ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 16px 36px;
  background: linear-gradient(180deg, #0e0e14, #09090d);

  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-logo {
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  margin-right: 20px;
}

.topbar-link {
  color: #cfcfd6;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease;
}

.topbar-link:hover {
  color: #fff;
}

.topbar-link.youtube {
  color: #ff4d6d;
  font-weight: 600;
}

.topbar-link.youtube:hover {
  color: #ff7a95;
}

/* USUÁRIO */

#userArea span {
  font-weight: 600;
  font-size: 14px;
  opacity: 0.9;
}

/* BOTÕES */

#userArea button,
#userArea a.admin-link {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

#userArea .admin-link {
  background: linear-gradient(135deg, #8a2be2, #ff2d6f);
  color: white;
  box-shadow: 0 0 14px rgba(255,45,111,.5);
}

#userArea .admin-link:hover {
  transform: scale(1.05);
}

#userArea .logout {
  background: linear-gradient(135deg, #ff2d6f, #ff5f8f);
  color: white;
}

#userArea .logout:hover {
  transform: scale(1.05);
}
/* ===========================
   MODAL VENCEDOR - IMAGEM
=========================== */
.winner-proof {
  max-width: 100%;
  max-height: 220px; /* controle do tamanho */
  object-fit: contain;
  display: block;
  margin: 0 auto 16px auto;
  border-radius: 8px;
  
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.winner-proof:hover {
  transform: scale(1.02);
  
}

.site-footer {
  background: radial-gradient(circle at top, #121218, #08080c);
  padding: 60px 40px 30px;
  color: #bdbdbd;
  margin-top: 80px;
}

.footer-container {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h2 {
  color: #fff;
  font-size: 34px;
  line-height: 1.1;
}

.footer-column h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-column a,
.footer-column span {
  display: block;
  color: #9a9a9a;
  margin-bottom: 8px;
  font-size: 14px;
  text-decoration: none;
}

.footer-column a:hover {
  color: #ff2f75;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: #777;
}
body {
  background: #0b0b0f;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px 120px;
}
/* =========================
   ADMIN – AÇÕES PREMIUM
========================= */

.admin-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}

.admin-btn {
  height: 44px;
  border-radius: 14px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.admin-btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.14);
}

/* VARIAÇÕES */
.admin-btn.view {
  border: 1px solid #3b82f6;
}

.admin-btn.pdf {
  border: 1px solid #f59e0b;
}

.admin-btn.draw {
  border: 1px solid #22c55e;
}

.admin-btn.reset {
  border: 1px solid #ef4444;
  opacity: .8;
}

.admin-btn.reset:hover {
  opacity: 1;
  background: rgba(239,68,68,.15);
}

/* AGENDAMENTO */
.schedule-cell {
  display: flex;
  gap: 8px;
  align-items: center;
}

.schedule-cell input {
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.2);
  background: #0f0f14;
  color: #fff;
  padding: 0 8px;
}

.btn-save {
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg,#ff2f6d,#ff4fa1);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.btn-action[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(100%);
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

.modal-box {
  background: #111;
  padding: 24px;
  border-radius: 12px;
  width: 320px;
  text-align: center;
  box-shadow: 0 0 40px rgba(0,0,0,.8);
}

.modal-box h3 {
  margin-bottom: 8px;
}

.modal-box p {
  color: #aaa;
  font-size: 14px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-cancel {
  flex: 1;
  background: #2a2a2a;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}

.btn-confirm {
  flex: 1;
  background: #e11d48;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}


.provably-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.provably-box {
  background: #111;
  padding: 20px;
  width: 600px;
  max-height: 80vh;
  overflow: auto;
  border-radius: 10px;
}

.provably-field {
  margin-bottom: 10px;
}

.provably-field input {
  width: 100%;
  padding: 6px;
  background: #000;
  color: #0f0;
  border: 1px solid #333;
}

.provably-list pre {
  background: #000;
  color: #0f0;
  padding: 10px;
  max-height: 200px;
  overflow: auto;
}

.hidden {
  display: none;
}
.provably-container {
  margin-top: 20px;
  display: flex;
  justify-content: flex-start; /* esquerda */
}


/* ===============================
   PROVABLY FAIR BUTTON
================================ */


/* ===============================
   PROVABLY FAIR – ALINHAMENTO
================================ */

.provably-wrapper {
  max-width: 900px;       /* mesmo tamanho do winnerBox */
  margin: 16px auto 0;    /* centraliza o container */
  
  display: flex;
  justify-content: flex-start; /* esquerda */
}

/* botão */
.provably-btn {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;

  padding: 10px 18px;
  border-radius: 10px;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
  transition: all 0.2s ease;
}

.provably-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ff2f6e;
  color: #ff2f6e;
  box-shadow: 0 0 12px rgba(255, 47, 110, 0.35);
}
/* ===============================
   ÚLTIMAS ENTRADAS — ESTILO REFERÊNCIA
================================ */


/* imagem de fundo (grande, desfocada) */
.ultima-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(14px);
  transform: scale(1.2);
}

/* camada escura leve */
.ultima-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* avatar central */
.ultima-avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -60%);
  border-radius: 10px;
  overflow: hidden;
  z-index: 2;
}

.ultima-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
}

/* nome (SEM blur) */
.ultima-nome {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;

  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ===============================
   ÚLTIMAS ENTRADAS — REFERÊNCIA REAL
================================ */


.ultima-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
}

/* fundo grande desfocado */
.ultima-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.25);
}

/* overlay leve */
.ultima-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* avatar quadrado central */
.ultima-avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82px;
  height: 82px;
  transform: translate(-50%, -60%);
  border-radius: 12px;
  overflow: hidden;
  z-index: 2;
}

.ultima-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
}

/* nome limpo por cima */
.ultima-nome {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;

  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-align: center;

  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ===============================
   ÚLTIMAS ENTRADAS — LIMITAR 3 LINHAS
================================ */

/* ===============================
   ÚLTIMAS ENTRADAS — GRID LIMPO
================================ */

.entries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;

  /* altura fixa: 3 linhas */
  max-height: calc((160px * 3) + (16px * 2));
  overflow: hidden;

  position: relative;
}

/* fade embaixo */
.entries-grid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;

  background: linear-gradient(
    to bottom,
    rgba(11,11,15,0),
    #0b0b0f
  );

  pointer-events: none;
}

/* CARD */
.ultima-card {
  height: 160px;          /* 🔥 ESSENCIAL */
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #111;
}
@media (max-width: 1100px) {
  .entries-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 800px) {
  .entries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 500px) {
  .entries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===============================
   BADGE DE CHANCES (300x STYLE)
================================ */

#winnerTicket {
  margin-top: 6px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 14px;

  font-size: 13px;
  font-weight: 700;

  color: #2effa3;
  background: rgba(46, 255, 163, 0.12);

  border: 1px solid rgba(46, 255, 163, 0.55);
  border-radius: 999px;

  box-shadow:
    0 0 10px rgba(46, 255, 163, 0.35),
    inset 0 0 0 1px rgba(255,255,255,0.15);

  letter-spacing: 0.3px;
}

/* ===============================
   ROLETA — ESTILO REFERÊNCIA
================================ */

.roulette-item {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
}

/* fundo desfocado */
.roulette-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.3);
}

/* overlay escuro */
.roulette-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

/* avatar central */
.roulette-avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -60%);
  border-radius: 14px;
  overflow: hidden;
  z-index: 2;
  background: #000;
}

.roulette-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* nome */
.roulette-name {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;

  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* vencedor (opcional destaque) */
.roulette-item.winner {
  box-shadow: 0 0 0 2px #ff2d75, 0 0 25px rgba(255,45,117,.6);
}
/* ===============================
   ROULETTE CARD – ESTILO PREMIUM
================================ */

.roulette-item {
  width: 140px;
  flex-shrink: 0;
}

.roulette-card {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
}

/* fundo desfocado */
.roulette-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(14px);
  transform: scale(1.2);
}

/* avatar central */
.roulette-avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  transform: translate(-50%, -58%);
  border-radius: 14px;
  overflow: hidden;
  z-index: 2;
}

.roulette-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
}

/* badge de chances (300x / 5x) */
.roulette-chances {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;

  background: linear-gradient(135deg, #1ec773, #14a85f);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;

  box-shadow: 0 0 12px rgba(30,199,115,.6);
}

/* nome SEM blur */
.roulette-name {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;

  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===============================
   SORTEIO FINALIZADO — GANHADOR
================================ */

.final-winner-card {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
}

/* fundo desfocado */
.final-winner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.3);
}

/* overlay */
.final-winner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

/* avatar central */
.final-winner-avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -60%);
  border-radius: 14px;
  overflow: hidden;
  z-index: 2;
  background: #000;
}

.final-winner-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* badge de chances */
.final-winner-chances {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;

  background: linear-gradient(135deg, #1ec773, #14a85f);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;

  box-shadow: 0 0 14px rgba(30,199,115,.6);
}
.hover-glow {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.hover-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  background: radial-gradient(
    400px circle at var(--x, 50%) var(--y, 50%),
    rgba(255, 60, 140, 0.45),
    transparent 40%
  );

  opacity: 0;
  transition: opacity 0.25s ease;
}

.hover-glow:hover::before {
  opacity: 1;
}
/* ===============================
   PROVABLY FAIR — LISTA COM SCROLL
================================ */

.provably-list {
  max-height: 260px;        /* altura visível */
  overflow-y: auto;
  margin-top: 12px;
  padding-right: 6px;      /* espaço pro scroll */
}

/* tabela */
.provably-list table {
  width: 100%;
  border-collapse: collapse;
}

/* linhas */
.provably-list th,
.provably-list td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}

/* cabeçalho fixo */
.provably-list thead th {
  position: sticky;
  top: 0;
  background: #0f0f14;
  z-index: 2;
  font-weight: 600;
}

/* scrollbar bonita (Chrome / Edge) */
.provably-list::-webkit-scrollbar {
  width: 6px;
}

.provably-list::-webkit-scrollbar-track {
  background: transparent;
}

.provably-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff2d6f, #ff4fa1);
  border-radius: 10px;
}

/* Firefox */
.provably-list {
  scrollbar-width: thin;
  scrollbar-color: #ff2d6f transparent;
}
/* ===============================
   PROVABLY FAIR — BOTÃO FECHAR
================================ */

.provably-modal .btn-fechar,
.provably-modal button {
  display: block;
  margin: 28px auto 0 auto; /* 👈 centraliza + empurra pra baixo */
  padding: 12px 32px;

  background: linear-gradient(135deg, #ff2d6f, #ff4fa1);
  border: none;
  border-radius: 12px;

  font-size: 14px;
  font-weight: 700;
  color: #fff;

  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.provably-modal .btn-fechar:hover,
.provably-modal button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(255,45,111,0.45);
}
/* ===============================
   PROVABLY FAIR — HEADER DA LISTA
================================ */

/* garante alinhamento à esquerda */
.provably-modal table th {
  text-align: left;
}

/* remove qualquer centralização específica */
.provably-modal table th:first-child {
  padding-left: 12px;
}

/* garante que as células sigam o header */
.provably-modal table td:first-child {
  padding-left: 12px;
}
.actions-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-create {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

.btn-create:hover {
  transform: scale(1.08);
}
.admin-btn.delete {
  border: 1px solid #ff3b3b;
  color: #ff3b3b;
}

.admin-btn.delete:hover {
  background: rgba(255, 59, 59, 0.15);
}
/* ===============================
   RESPONSIVO MOBILE
=============================== */
@media (max-width: 768px) {

  /* ===== BODY / CONTAINER ===== */
  body {
    font-size: 14px;
  }

  .page-container {
    padding: 20px 14px 80px;
  }

  /* ===== TOPBAR ===== */
  .topbar {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .topbar-left,
  .topbar-right {
    gap: 10px;
  }

  /* ===== HERO ===== */
  .hero {
    margin: 20px 10px;
    border-radius: 14px;
  }

  .hero-img {
    height: 300px; /* era 700 */
  }

  .hero-content h1 {
    font-size: 26px;
    padding: 0 10px;
  }

  /* ===== GRID DE SORTEIOS ===== */
  #draws,
  .draw-grid,
  .draws-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 20px 10px;
  }

  .draw-card {
    max-width: 100%;
    padding: 14px;
  }

  .draw-img {
    height: 200px;
  }

  .draw-card h3 {
    font-size: 16px;
  }

  /* ===== TIMER ===== */
  .timer,
  .timer-boxes {
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .time-box {
    min-width: 56px;
    padding: 8px;
  }

  .time-value {
    font-size: 18px;
  }

  /* ===== BOTÕES ===== */
  .btn-enter,
  button {
    font-size: 14px;
    padding: 12px;
  }

  /* ===== DRAW ATIVO ===== */
  .draw-active-box {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
    margin: 30px 10px;
  }

  .skin-preview {
    width: 130px;
    height: 130px;
    margin: 0 auto;
  }

  .draw-active-text h2 {
    font-size: 22px;
  }

  .draw-active-text p {
    font-size: 14px;
  }

  /* ===== MODAIS ===== */
  .modal-content,
  .modal-box,
  .auth-card {
    width: 95%;
    max-width: 95%;
    padding: 20px;
  }

  /* ===== FOOTER ===== */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .site-footer {
    padding: 40px 20px;
  }

}
/* ===============================
   AJUSTES MOBILE – BANNERS
================================ */
@media (max-width: 768px) {

  /* HERO PRINCIPAL */
  .hero {
    margin: 20px 12px;
    border-radius: 16px;
  }

  .hero-img,
  .hero-bg {
    height: 220px;        /* 🔥 altura correta no mobile */
    object-fit: cover;
  }

  .hero-content h1 {
    font-size: 26px;
    padding: 0 10px;
  }

  /* CARDS DE SORTEIO */
  .draw-card {
    padding: 14px;
  }

  .draw-img {
    height: 200px;        /* 🔥 antes estava grande demais */
    border-radius: 14px;
  }

  .draw-card h3 {
    font-size: 16px;
    line-height: 1.3;
  }

  /* TIMER */
  .timer,
  .timer-boxes {
    justify-content: center;
    flex-wrap: wrap;
  }

  .time-box {
    min-width: 56px;
    padding: 8px 10px;
  }

  .time-value {
    font-size: 18px;
  }

  /* BOTÃO */
  .btn-enter {
    font-size: 15px;
    padding: 14px;
  }
}
