/* ===== SELETOR DE PLAYER ===== */
.player-selector {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10002;
    color: white;
    text-align: center;
}

.player-selector h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.player-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.player-btn {
    padding: 25px 20px;
    font-size: 18px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    min-width: 160px;
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.player-1 { background: rgba(255, 87, 34, 0.3); border-color: #FF5722; }
.player-2 { background: rgba(33, 150, 243, 0.3); border-color: #2196F3; }
.player-3 { background: rgba(76, 175, 80, 0.3); border-color: #4CAF50; }
.player-4 { background: rgba(156, 39, 176, 0.3); border-color: #9C27B0; }

.player-btn:hover {
    transform: scale(1.05);
    background: rgba(255,255,255,0.2);
}

.player-btn.selected {
    transform: scale(1.1);
    background: rgba(255,255,255,0.3);
    box-shadow: 0 0 20px currentColor;
}

.player-status {
    font-size: 20px;
    margin-top: 15px;
    padding: 15px 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
}




/* ===== SELETOR DE QUANTIDADE DE JOGADORES ===== */
.player-count-selector {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    gap: 30px;
}

.player-count-selector h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.count-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 90%;
    max-width: 400px;
}

.count-btn {
    padding: 25px 20px;
    font-size: 18px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.count-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.count-btn:active {
    transform: translateY(-1px);
}

.count-number {
    font-size: 24px;
    font-weight: bold;
    background: rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.5);
}

.count-text {
    flex: 1;
    text-align: left;
}


/* Mobile - Seletor de Player */
@media (max-width: 768px) and (orientation: landscape) {
    .player-selector h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .player-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-bottom: 0px;
    }
    
    .player-btn {
        padding: 20px 15px;
        font-size: 16px;
        min-width: 140px;
    }
    
    .player-status {
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .simple-buttons {
        top: 10px;
        left: 10px;
        flex-direction: row;
        gap: 10px;
    }
    
    .simple-btn {
        padding: 15px 20px;
        font-size: 14px;
        width: 160px;
    }

        .player-count-selector h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .count-buttons {
        gap: 15px;
        width: 100%;
        flex-direction: row;
    }
    
    
    .count-btn {
        padding: 20px 15px;
        font-size: 16px;
    }
    
    .count-number {
        font-size: 20px;
        width: 35px;
        height: 35px;
    }


}



