/* File: public/assets/css/style.css */
body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.bg-dark-gradient {
    min-height: 100vh;
    background: radial-gradient(circle at 20% 20%, #1e2a33, #0d141a 60%), radial-gradient(circle at 80% 0%, #1a2530, #0b1116 70%), #0b1116;
}

.logo-title {
    letter-spacing: 6px;
    text-transform: uppercase;
    font-weight: 700;
}

.glass-card {
    background: rgba(20, 28, 36, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    border-radius: 12px;
}

/* mesa removida: cards agora em layout de cards sem fundo de mesa */

.carta {
    width: 95px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    pointer-events: auto;
    position: relative;
    z-index: 3;
}

.carta.dealt {
    animation: dropIn 0.35s ease;
}

.carta:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.55);
}

.carta-placeholder {
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px dashed rgba(255,255,255,0.2);
    width: 95px;
    height: 140px;
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.4);
}

.carta-back {
    width: 95px;
    height: 140px;
    border-radius: 6px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #1f2b38, #0f1822 40%, #152333 80%);
    border: 1px solid rgba(255,255,255,0.08);
}

.table-dark th,
.table-dark td {
    vertical-align: middle;
}

@media (max-width: 768px) {
    .carta {
        width: 80px;
    }
    .mesa-content {
        padding-top: 10px;
    }
}

@media (max-width: 576px) {
    .carta {
        width: 70px;
    }
    .carta-placeholder,
    .carta-back {
        width: 70px;
        height: 100px;
    }
    .player-seat {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .player-seat .cards {
        margin-top: 8px;
        width: 100%;
        flex-wrap: wrap;
    }
    .mesa-wrapper {
        padding: 0 4px;
    }
    .mesa-content {
        padding-top: 0;
    }
    .glass-card .d-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    .glass-card .d-flex .text-right {
        width: 100%;
        margin-top: 10px;
        text-align: left !important;
    }
    .player-seat .cards .carta,
    .player-seat .cards .carta-back,
    .player-seat .cards .carta-placeholder {
        margin: 4px;
    }
    .card-body.form-inline,
    form.form-inline {
        flex-direction: column;
        align-items: stretch;
    }
    form.form-inline > * {
        margin-right: 0 !important;
        width: 100% !important;
    }
    #bet-label {
        text-align: center;
        width: 100%;
    }
}

.player-chip {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 10px 14px;
    margin: 6px;
    min-width: 150px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.player-seat {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-seat .cards {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.player-seat .info {
    color: #dfe6ef;
}

.banker-chip {
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
}

.active-turn {
    border: 1px solid #f5c542 !important;
    box-shadow: 0 0 12px rgba(245, 197, 66, 0.7);
}

.win-card {
    border: 2px solid #28a745 !important;
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.7);
    border-radius: 6px;
}

@keyframes dropIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
