.war-table {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 300px 300px 50px 50px;
    border: 8px solid #1b5e20;
    padding: 40px;
    position: relative;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.7), 0 20px 50px rgba(0, 0, 0, 0.6);
    margin: 20px 0;
}

.dealer-area,
.player-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.table-divider {
    display: flex;
    gap: 30px;
}

.bet-pot {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--gold);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.bet-pot.hidden {
    display: none;
}

.pot-label {
    font-size: 0.6rem;
    color: var(--gold);
    font-weight: 800;
}

.pot-value {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.tie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 300px 300px 50px 50px;
    animation: fadeIn 0.3s ease;
}

.tie-overlay.hidden {
    display: none;
}

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

.tie-title {
    color: var(--gold);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.tie-desc {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 30px;
}

.tie-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.war-btn {
    padding: 15px 30px;
    background: var(--neon-red);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 49, 49, 0.4);
    transition: transform 0.2s;
}

.surrender-btn {
    padding: 15px 30px;
    background: #444;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s;
}

.war-btn:hover,
.surrender-btn:hover {
    transform: scale(1.05);
}

.tie-hint {
    font-size: 0.75rem;
    color: #666;
}

/* Switch styling for Turbo Mode */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--neon-red);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.hold-btn {
    transition: all 0.1s;
}

.hold-btn:active {
    background: var(--gold) !important;
    color: #000 !important;
    transform: scale(0.95);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .war-table {
        border-radius: 150px 150px 30px 30px;
        height: 350px;
        padding: 20px;
    }

    .tie-title {
        font-size: 1.8rem;
    }

    .tie-btns {
        flex-direction: column;
    }
}