/* ----------------------------------------------------------- */
/* ESTILO GERAL */
.header-title {
    color: #800080;
    font-weight: bold;
    text-transform: uppercase;
}

.timer {
    font-size: 4rem;
    font-weight: bold;
    color: #9932cc;
    margin-top: -30px;
}

.progress-bar {
    background-color: #ffc107;
}

/* ----------------------------------------------------------- */
/* ESTILO PARA CARTÕES DE APOSTA */
.bet-card {
    background-color: #800080;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    height: 60px;
}

.bet-card h3 {
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: -10px;
}

.bet-card p {
    font-size: 1.4rem;
    font-weight: bold;
    margin-top: -5px;
}

/* Responsividade para Cartões de Aposta */
@media (max-width: 767px) {
    .bet-card {
        height: 40px;
    }

    .bet-card h3 {
        font-size: 0.6rem;
    }

    .bet-card p {
        font-size: 1rem;
    }
}

/* ----------------------------------------------------------- */
/* BOTÕES E CÍRCULOS */
.btn-buy {
    background-color: #800080;
    border: none;
    transition: 0.3s;
}

.btn-buy:hover {
    background-color: #9932cc;
}

.btn-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    border: none;
    color: #fff;
}

.btn-decrement {
    background-color: #dc3545;
}

.btn-decrement:hover {
    background-color: #c82333;
}

.btn-increment {
    background-color: #28a745;
}

.btn-increment:hover {
    background-color: #218838;
}

/* ----------------------------------------------------------- */
/* ESTILO PARA CARTELAS */
#purchasedCards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.card {
    width: 150px;
    background-color: #ffeb3b;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.card h5 {
    font-size: 14px;
    color: #000;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table td {
    font-size: 12px;
    padding: 5px;
    background-color: #fff;
    border: 1px solid #ddd;
}

/* Responsividade para Cartelas */
@media (max-width: 767px) {
    .card {
        width: 130px;
        padding: 8px;
    }

    .card h5 {
        font-size: 12px;
    }

    .table td {
        font-size: 10px;
        padding: 4px;
    }
}

/* ----------------------------------------------------------- */
/* ESTILO PARA NÚMEROS SORTEADOS */
.drawn-numbers-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    min-height: 60px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
}

.drawn-numbers-container .drawn-ball {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: #fff;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.drawn-numbers-container .drawn-ball:hover {
    transform: scale(1.1);
}

/* ----------------------------------------------------------- */
/* ESTILO PARA POP-UP DO VENCEDOR */
.winner-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    z-index: 1000;
    max-width: 90%;
    width: 400px;
}

.winner-content h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.winner-content p {
    font-size: 1rem;
    margin: 5px 0;
}

.winner-content table {
    margin: 10px auto;
    border-collapse: collapse;
    width: 100%;
}

.winner-content td {
    padding: 5px;
    border: 1px solid #fff;
    text-align: center;
}

/* Responsividade para Pop-up */
@media (max-width: 767px) {
    .winner-popup {
        padding: 15px;
        width: 80%;
    }

    .winner-content h2 {
        font-size: 1.2rem;
    }

    .winner-content p {
        font-size: 0.9rem;
    }

    .winner-content td {
        padding: 4px;
        font-size: 0.8rem;
    }
}

/* ----------------------------------------------------------- */
/* ANIMAÇÕES */
@keyframes pop {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
