/* 1960s Italian mafia vibe: dark leather, red velvet, gold accents */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@400;600&display=swap');

.mafia-body, body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #0a0a0a;
    color: #f3e9dc;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(140, 20, 20, 0.15) 0, transparent 25%),
        radial-gradient(circle at 80% 10%, rgba(120, 80, 40, 0.2) 0, transparent 30%),
        linear-gradient(135deg, #0f0f0f 0%, #111 40%, #0b0b0b 100%);
    min-height: 100vh;
    position: relative;
}

/* background overlay removed for lobby; use page-specific backgrounds instead */

.mafia-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.mafia-title {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    color: #f7d794;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.mafia-card {
    background: rgba(22, 22, 22, 0.9);
    border: 1px solid #5c2b2b;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.mafia-btn {
    display: inline-block;
    background: linear-gradient(135deg, #7c1d1d, #a7332c);
    color: #fbe9d0;
    border: 1px solid #f1c40f;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mafia-btn:hover,
.mafia-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.mafia-pill {
    display: inline-block;
    padding: 6px 10px;
    background: rgba(92, 43, 43, 0.75);
    color: #f3e9dc;
    border-radius: 999px;
    border: 1px solid rgba(241, 196, 15, 0.5);
    font-size: 13px;
}

.mafia-panel {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(241, 196, 15, 0.4);
    border-radius: 12px;
    padding: 12px;
    color: #f3e9dc;
}

.mafia-table-shadow {
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.7));
}

.mafia-label {
    font-family: 'Playfair Display', serif;
    color: #f1c40f;
}

#poker-container {
    background: radial-gradient(circle at 50% 20%, rgba(241,196,15,0.06) 0, rgba(0,0,0,0) 45%);
}

/* Multiplayer specific table centering */
.mp-table-layer {
    position: absolute;
    left: 50%;
    top: 50px;
    transform: translateX(-50%);
    width: 780px;
    max-width: 95vw;
    height: 430px;
    max-height: 52vw;
}
.mp-table-layer .mp-poker-table {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.7));
}
