/* Container Principal Estilo Premiação */
.premiacao-container {
    background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
    border: 2px solid #ff7b00;
    border-radius: 15px;
    padding: 25px;
    margin: 40px auto;
    max-width: 1100px;
    box-shadow: 0 0 20px rgba(255, 123, 0, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: borda-piscar 0.8s infinite alternate;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@keyframes borda-piscar {
    from { border-color: #ff7b00; box-shadow: 0 0 15px rgba(255, 123, 0, 0.4); }
    to { border-color: #ffcc00; box-shadow: 0 0 25px rgba(255, 204, 0, 0.8); }
}

/* Títulos e Textos */
.premiacao-titulo {
    font-family: 'Cinzel', 'Trajan Pro', serif; /* Fonte estilo clássico/prêmio */
    font-size: 28px;
    color: #ffd700;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px #000;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.premiacao-subtitulo {
    color: #e0e0e0;
    font-size: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.img-cesta-pequena {
    width: 60px;
    height: auto;
    border-radius: 50%;
    border: 2px solid #ffd700;
    box-shadow: 0 0 10px #000;
}

/* Slots dos Números */
.slots-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.slot-numero {
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border: 2px solid #444;
    border-radius: 12px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    outline: none;
    transition: all 0.3s;
}

.slot-numero:focus {
    border-color: #ff7b00;
    box-shadow: 0 0 10px rgba(255, 123, 0, 0.5);
}

.slot-numero.bloqueado {
    background: #333;
    color: #777;
    border-color: #222;
    cursor: not-allowed;
    box-shadow: inset 0 0 10px #000;
}
/* --- ESTILO DO BANNER DE GANHADOR (PREMIUM) --- */

/* Container do Painel Ganhador (Sobrepõe o jogo) */
.ganhador-destaque {
    background: linear-gradient(135deg, #1a0b00 0%, #462500 100%);
    position: relative;
    padding: 40px 20px;
    border-radius: 15px;
    border: 2px solid #ffd700;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
    text-align: center;
    overflow: hidden; /* Importante para os confetes não vazarem */
    animation: surgimento-suave 0.8s ease-out;
}

@keyframes surgimento-suave {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Ícone do Troféu Animado */
.trofeu-animado {
    font-size: 80px !important;
    background: linear-gradient(to bottom, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
    animation: trofeu-pulso 1.5s infinite alternate;
    margin-bottom: 10px;
    display: inline-block;
}

@keyframes trofeu-pulso {
    0% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5)); }
    100% { transform: scale(1.1) rotate(5deg); filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1)); }
}

/* Título Dourado */
.titulo-vitoria {
    font-family: 'Cinzel', serif; /* Fonte elegante se disponível, ou serif */
    font-size: 32px;
    color: #ffd700;
    text-transform: uppercase;
    margin: 10px 0;
    text-shadow: 2px 2px 0px #000, 0 0 20px rgba(255, 215, 0, 0.5);
    letter-spacing: 2px;
}

/* Caixa de Detalhes do Ganhador */
.detalhes-ganhador {
    background: rgba(255, 255, 255, 0.1); /* Vidro */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    color: #fff;
    text-align: left;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.detalhes-ganhador p {
    margin: 5px 0;
    font-size: 14px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 5px;
}

.destaque-texto {
    color: #ffd700;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
}

/* CONFETES (CSS Básico para as partículas) */
.confete {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #f00;
    top: -10px;
    z-index: 99;
    animation: cair-confete linear forwards;
}

@keyframes cair-confete {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(400px) rotate(720deg); opacity: 0; }
}

/* Imagem do Prêmio com borda brilhante */
.img-premio-ganhador {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    margin-top: 15px;
    border: 3px solid #ffd700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
    transition: transform 0.3s;
}
.img-premio-ganhador:hover {
    transform: scale(1.02);
}

/* Botões */
.btn-premiacao {
    background: linear-gradient(135deg, #d35400, #e67e22);
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 15px;
}
.texto-premiacao{
    color: rgb(216, 240, 6);
    background-color: #1f0c01;
    padding: 20px;
    border-radius: 8px;
}
.numero-vez{
    color: #797878;
    font-size: 12px;
}

.btn-premiacao:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #e67e22, #d35400);
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.6);
}



/* ... outros estilos acima ... */

/* CORREÇÃO: Removemos o display:none daqui */
.btn-verificar {
    background: linear-gradient(135deg, #27ae60, #2ecc71) !important; /* Verde */
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.6) !important;
    display: inline-block !important; /* Garante que apareça */
    animation: pulse-verde 1.5s infinite;
}

@keyframes pulse-verde {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Mensagens e Ganhador */
.msg-feedback {
    margin-top: 15px;
    font-size: 16px;
    font-weight: bold;
    min-height: 24px;
}
.msg-erro { color: #ff4757; }
.msg-sucesso { color: #2ed573; font-size: 20px; }
.timer-box { color: #ff6b81; font-family: monospace; font-size: 18px; margin-top: 10px; }

/* Área do Ganhador */
.ganhador-destaque {
    background: rgba(0,0,0,0.6);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #ffd700;
}
.img-premio-grande {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    border: 3px solid #fff;
}
/* ... (mantenha o CSS anterior) ... */

/* Estilo para quando o usuário não está logado */
.area-deslogado {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 12px;
}

.btn-login-premio {
    background: #f77810;
    color: #fff;
    padding: 10px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    box-shadow: 0 0 10px #f77810;
}

.btn-login-premio:hover {
    background: #d35400;
}

/* Botão desativado */
button:disabled {
    background: #555 !important;
    color: #999 !important;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
}

/* Responsividade Celular */
@media (max-width: 600px) {
    .slots-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 em cima, 3 embaixo */
        gap: 10px;
        max-width: 250px;
        margin: 20px auto;
    }
    .premiacao-titulo { font-size: 20px; }
    .premiacao-subtitulo { flex-direction: column; font-size: 14px; text-align: center; }
    .slot-numero { width: 100%; height: 50px; font-size: 20px; }
}